///////////////////////////////////////////////////////// /// $Id: ITripTXTimeBank.cxx,v 1.3 2009/09/25 06:02:33 nickwest Exp $ /// /// Implement the COMET::ITripTXTimeBank class... #include "IMidasBankProxyRegistry.hxx" #include "ITripTXTimeBank.hxx" // Register the bank MIDAS bank mask for the family of bank names that map to this class REGISTER_MIDAS_BANK(ITripTXTimeBank,E0X*;PX**;IX**;EX**;SX**) // Typically the class constructors do nothing beyond passing their arguments // to the IMidasBank base class and the destructor does nothing. //_____________________________________________________________________________ COMET::ITripTXTimeBank::ITripTXTimeBank() : IMidasBank(0,TTRIPT_XTIME_BANK_TITLE) { // Default constructor COMETTrace("ITripTXTimeBank: Default ctor at:" << (void*) this); } //_____________________________________________________________________________ COMET::ITripTXTimeBank::ITripTXTimeBank(const ULong64_t *bank, const char* title /* = TTRIPT_XTIME_BANK_TITLE */) : IMidasBank(bank,title) { // Normal constructor COMETTrace("COMET::ITripTXTimeBank: Normal ctor at:" << (void*) this << "\n Name:'" << this->GetName() << "'; Title:" << title << "; Bank size:" << this->GetBankSize() << "; starts at:" << (void*) this->GetBank()); } //_____________________________________________________________________________ COMET::ITripTXTimeBank::~ITripTXTimeBank() { COMETTrace("COMET::ITripTXTimeBank: dtor at:" << (void*) this); } //_____________________________________________________________________________ void COMET::ITripTXTimeBank::Print(const Option_t* opt /* = "" */) const { this->COMET::IMidasBank::Print(""); COMETLog("Wall time: LastEnd " << this->GetLastEnd() << " ThisStart " << this->GetThisStart() << " ThisEnd " << this->GetThisEnd() ); COMETLog("CPU time: Start " << this->GetCPUStart() << " End " << this->GetCPUEnd() ); }