#include <DaqBenchmark.h>
Inheritance diagram for DaqBenchmark:
Public Member Functions | |
| DaqBenchmark (const std::string &name, ISvcLocator *pSvcLocator) | |
| Create an instance of this class. | |
| ~DaqBenchmark () | |
| Destroy this instance of the class. | |
| virtual StatusCode | initialize () |
| Initializes this module. | |
| virtual StatusCode | finalize () |
| Finalizes this module. | |
| virtual StatusCode | execute () |
| Called for each event. | |
| virtual StatusCode | sysExecute () |
| void | put (IDataProviderSvc *svc, DataObject *object, const std::string &address, const bool useRootInTES=true) const |
| void | put (DataObject *object, const std::string &address, const bool useRootInTES=true) const |
| Gaudi::Utils::GetData< TYPE >::return_type | get (IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const |
| Gaudi::Utils::GetData< TYPE >::return_type | get (const std::string &location, const bool useRootInTES=true) const |
| TYPE * | getDet (IDataProviderSvc *svc, const std::string &location) const |
| TYPE * | getDet (const std::string &location) const |
| bool | exist (IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const |
| bool | exist (const std::string &location, const bool useRootInTES=true) const |
| bool | existDet (IDataProviderSvc *svc, const std::string &location) const |
| bool | existDet (const std::string &location) const |
| TYPE * | getOrCreate (IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const |
| TYPE * | getOrCreate (const std::string &location, const bool useRootInTES=true) const |
| bool | registerContext () const |
| INTupleSvc * | evtColSvc () const |
| IAlgContextSvc * | contextSvc () const |
| TOOL * | tool (const std::string &type, const std::string &name, const IInterface *parent=0, bool create=true) const |
| TOOL * | tool (const std::string &type, const IInterface *parent=0, bool create=true) const |
| SERVICE * | svc (const std::string &name, const bool create=true) const |
| IUpdateManagerSvc * | updMgrSvc () const |
| IDataProviderSvc * | fastContainersSvc () const |
| StatusCode | Error (const std::string &msg, const StatusCode st=StatusCode::FAILURE, const size_t mx=10) const |
| StatusCode | Warning (const std::string &msg, const StatusCode st=StatusCode::FAILURE, const size_t mx=10) const |
| StatusCode | Print (const std::string &msg, const StatusCode st=StatusCode::SUCCESS, const MSG::Level lev=MSG::INFO) const |
| StatusCode | Assert (const bool ok, const std::string &message="", const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const |
| StatusCode | Assert (const bool ok, const char *message, const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const |
| StatusCode | Exception (const std::string &msg, const GaudiException &exc, const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const |
| StatusCode | Exception (const std::string &msg, const std::exception &exc, const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const |
| StatusCode | Exception (const std::string &msg="no message", const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const |
| MsgStream & | msgStream (const MSG::Level level) const |
| MsgStream & | always () const |
| MsgStream & | fatal () const |
| MsgStream & | err () const |
| MsgStream & | error () const |
| MsgStream & | warning () const |
| MsgStream & | info () const |
| MsgStream & | debug () const |
| MsgStream & | verbose () const |
| MsgStream & | msg () const |
| const Statistics & | counters () const |
| StatEntity & | counter (const std::string &tag) const |
| MSG::Level | msgLevel () const |
| bool | msgLevel (const MSG::Level level) const |
| void | resetMsgStream () const |
| bool | typePrint () const |
| bool | propsPrint () const |
| bool | statPrint () const |
| bool | errorsPrint () const |
| long | printStat (const MSG::Level level=MSG::ALWAYS) const |
| long | printErrors (const MSG::Level level=MSG::ALWAYS) const |
| long | printProps (const MSG::Level level=MSG::ALWAYS) const |
| void | registerCondition (const std::string &condition, StatusCode(CallerClass::*mf)()=NULL) |
| void | registerCondition (const std::string &condition, CondType *&condPtrDest, StatusCode(CallerClass::*mf)()=NULL) |
| void | registerCondition (char *condition, StatusCode(CallerClass::*mf)()=NULL) |
| void | registerCondition (TargetClass *condition, StatusCode(CallerClass::*mf)()=NULL) |
| StatusCode | runUpdate () |
| TransientFastContainer< T > * | getFastContainer (const std::string &location, typename TransientFastContainer< T >::size_type initial=0) |
| StatusCode | release (const IInterface *interface) const |
| unsigned long | release () |
| const std::string & | context () const |
| const std::string & | rootInTES () const |
| double | globalTimeOffset () const |
| virtual StatusCode | sysStart () |
| virtual StatusCode | sysInitialize () |
| virtual StatusCode | sysReinitialize () |
| virtual StatusCode | sysRestart () |
| virtual StatusCode | sysStop () |
| virtual StatusCode | sysFinalize () |
| virtual StatusCode | sysBeginRun () |
| virtual StatusCode | sysEndRun () |
| virtual const std::string & | name () const |
| virtual const std::string & | version () const |
| virtual StatusCode | configure () |
| virtual StatusCode | terminate () |
| virtual StatusCode | start () |
| virtual StatusCode | stop () |
| virtual StatusCode | reinitialize () |
| virtual StatusCode | restart () |
| virtual bool | isExecuted () const |
| virtual void | setExecuted (bool state) |
| virtual void | resetExecuted () |
| virtual StatusCode | beginRun () |
| virtual StatusCode | endRun () |
| virtual Gaudi::StateMachine::State | FSMState () const |
| virtual Gaudi::StateMachine::State | targetFSMState () const |
| virtual bool | isEnabled () const |
| virtual bool | filterPassed () const |
| virtual void | setFilterPassed (bool state) |
| StatusCode | service (const std::string &name, T *&psvc, bool createIf=true) const |
| StatusCode | service (const std::string &svcType, const std::string &svcName, T *&psvc) const |
| void | setOutputLevel (int level) |
| IAuditorSvc * | auditorSvc () const |
| IChronoStatSvc * | chronoSvc () const |
| IChronoStatSvc * | chronoStatService () const |
| IDataProviderSvc * | detSvc () const |
| IDataProviderSvc * | detDataService () const |
| IConversionSvc * | detCnvSvc () const |
| IConversionSvc * | detDataCnvService () const |
| IDataProviderSvc * | eventSvc () const |
| IDataProviderSvc * | evtSvc () const |
| IDataProviderSvc * | eventDataService () const |
| IConversionSvc * | eventCnvSvc () const |
| IConversionSvc * | eventDataCnvService () const |
| IHistogramSvc * | histoSvc () const |
| IHistogramSvc * | histogramDataService () const |
| IMessageSvc * | msgSvc () const |
| IMessageSvc * | messageService () const |
| INTupleSvc * | ntupleSvc () const |
| INTupleSvc * | ntupleService () const |
| IRndmGenSvc * | randSvc () const |
| IToolSvc * | toolSvc () const |
| IExceptionSvc * | exceptionSvc () const |
| ISvcLocator * | serviceLocator () const |
| ISvcLocator * | svcLoc () const |
| StatusCode | createSubAlgorithm (const std::string &type, const std::string &name, Algorithm *&pSubAlg) |
| std::vector< Algorithm * > * | subAlgorithms () const |
| virtual StatusCode | setProperty (const Property &p) |
| virtual StatusCode | setProperty (const std::string &s) |
| virtual StatusCode | setProperty (const std::string &n, const std::string &v) |
| StatusCode | setProperty (const std::string &name, const TYPE &value) |
| virtual StatusCode | getProperty (Property *p) const |
| virtual const Property & | getProperty (const std::string &name) const |
| virtual StatusCode | getProperty (const std::string &n, std::string &v) const |
| virtual const std::vector< Property * > & | getProperties () const |
| StatusCode | setProperties () |
| Property * | declareProperty (const std::string &name, T &property, const std::string &doc="none") const |
| Property * | declareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="") const |
| IMonitorSvc * | monitorSvc () const |
| void | declareInfo (const std::string &name, const T &var, const std::string &desc) const |
| void | declareInfo (const std::string &name, const std::string &format, const void *var, int size, const std::string &desc) const |
| unsigned long | addRef () |
| StatusCode | queryInterface (const InterfaceID &riid, void **) |
Static Public Member Functions | |
| static const InterfaceID & | interfaceID () |
| static const InterfaceID & | interfaceID () |
| static const InterfaceID & | interfaceID () |
Public Attributes | |
| SUCCESS | |
| NO_INTERFACE | |
| VERSMISMATCH | |
| LAST_ERROR | |
Protected Types | |
| typedef std::map< std::string, StatEntity > | Statistics |
| typedef std::map< std::string, unsigned int > | Counter |
| typedef std::vector< IAlgTool * > | AlgTools |
| typedef std::pair< IInterface *, std::string > | ServiceEntry |
| typedef std::vector< ServiceEntry > | Services |
Protected Member Functions | |
| StatusCode | releaseTool (const IAlgTool *tool) const |
| StatusCode | releaseSvc (const IInterface *svc) const |
| bool | isInitialized () const |
| bool | isFinalized () const |
| int | outputLevel () const |
| IntegerProperty & | outputLevelProperty () |
| void | initOutputLevel (Property &prop) |
Static Protected Attributes | |
| static const bool | IgnoreRootInTES |
| static const bool | UseRootInTES |
Private Member Functions | |
| DaqBenchmark () | |
| Suppress default. | |
| DaqBenchmark (DaqBenchmark &rhs) | |
| Suppress default. | |
| DaqBenchmark & | operator= (DaqBenchmark &rhs) |
| Suppress default. | |
| TH1F ** | getSlotLowGainHistograms (const unsigned int slot) |
| Returns the High Range ADC histograms for the supplied slot. | |
| TH1F * | getLowGainHistogram (TH1F **slotLowGainHistograms, const unsigned int slot, const unsigned int channelNumber) |
| Returns the selected histograms from the set supplied. | |
| TH1F ** | getSlotHighGainHistograms (const unsigned int slot) |
| Returns the High Range ADC histograms for the supplied slot. | |
| TH1F * | getHighGainHistogram (TH1F **slotHighGainHistograms, const unsigned int slot, const unsigned int channelNumber) |
| Returns the selected histograms from the set supplied. | |
| TH1F ** | getSlotTdcHistograms (const unsigned int slot) |
| Returns the TDC histograms for the supplied slot. | |
| TH1F * | getTdcHistogram (TH1F **slotTdcHistograms, const unsigned int slot, const unsigned int channelNumber) |
| Returns the selected histogram from the set supplied. | |
| TH1F ** | getSlotHistogram (TH1F ***histograms, const unsigned int slot) |
| Returns the selected sub-set of histograms from the specified set. | |
| TH2F ** | getSlotFadcHistograms (const unsigned int slot) |
| Returns the FADC histograms for the supplied slot. | |
| TH2F * | getFadcHistogram (TH2F **slotFadcHistograms, const unsigned int slot, const unsigned int channelNumber) |
| Returns the selected histogram from the set supplied. | |
| TH2F ** | getSlotHistogram (TH2F ***histograms, const unsigned int slot) |
| Returns the selected sub-set of histograms from the specified set. | |
| StatusCode | handleDaqFormat (const DayaBay::ReadoutHeader &readoutHeader) |
| Handles the benchmark code using the DaqFormat project. | |
| void | handleEvent (const DybDaq::EventReadout &event) |
| Handles the EventReadout once it has been extracted from the TES. | |
| void | handleFragment (const DybDaq::RomFragment &fragment) |
| Handles a RomFragment. | |
| void | handleFee (const DybDaq::FeeReadout &readout, const unsigned int slot) |
| Handled the readout of FEE crate. | |
| StatusCode | handleReadoutEvent (const DayaBay::ReadoutHeader &readoutHeader) |
| Handles the benchmark code using the ReadoutEvent project. | |
| void | handleEvent (const DayaBay::ReadoutPmtCrate &create) |
| Handles the ReadoutPmtCrate once it has been extracted from the TES. | |
| void | handleChannel (const DayaBay::ReadoutPmtChannel &channel) |
| Handles a ReadoutPmtChannel. | |
| StatusCode | handleDaqEvent (const DayaBay::ReadoutHeader &readoutHeader) |
| Handles the benchmark code using the DaqEvent project. | |
| void | handleEvent (const DayaBay::DaqPmtCrate &crate) |
| Handles DaqPmtCrate. | |
| void | handleFrame (const DayaBay::DaqLtbFrame &frame) |
| Handles a DaqLtbFrame. | |
| void | handleChannel (const DayaBay::DaqPmtChannel &channel) |
| Handles a DaqPmtChannel. | |
| void | handleChannel (const DayaBay::DaqFadcChannel &channel) |
| Handles a DaqFadcChannel. | |
Private Attributes | |
| IStatisticsSvc * | m_statsSvc |
| The Statistics service used by this module. | |
| TH1F *** | m_feeLowGainHistograms |
| The set of historgrams for the FEE high range ADCs. | |
| TH1F *** | m_feeHighGainHistograms |
| The set of historgrams for the FEE low range ADCs. | |
| TH1F *** | m_feeTdcHistograms |
| The set of historgrams for the FEE TDCs. | |
| TH2F *** | m_fadcHistograms |
| The set of historgrams for the FADCs. | |
| unsigned long | m_eventCount |
| The number of event seen so far by this module. | |
| unsigned long | m_payloadLength |
| The number of bytes seen so far by this module. | |
| time_t | m_beginTime |
| The time this module was initialized. | |
| time_t | m_firstEventTime |
| The trigger time of the first event seen by this module. | |
| time_t | m_lastEventTime |
| The trigger time of the last event seen by this module. | |
| bool | m_useDaqFormat |
| True if the DaqFormat products should be used in the benchmark. | |
| bool | m_useDaqEvent |
| True if the DaqEvent products should be used in the benchmark. | |
| bool | m_useReadoutEvent |
| True if the ReadoutEvent products should be used in the benchmark. | |
Definition at line 40 of file DaqBenchmark.h.
| DaqBenchmark::DaqBenchmark | ( | const std::string & | name, | |
| ISvcLocator * | pSvcLocator | |||
| ) |
Create an instance of this class.
| DaqBenchmark::~DaqBenchmark | ( | ) |
Destroy this instance of the class.
| DaqBenchmark::DaqBenchmark | ( | ) | [private] |
Suppress default.
| DaqBenchmark::DaqBenchmark | ( | DaqBenchmark & | rhs | ) | [private] |
Suppress default.
| virtual StatusCode DaqBenchmark::initialize | ( | ) | [virtual] |
| virtual StatusCode DaqBenchmark::finalize | ( | ) | [virtual] |
| virtual StatusCode DaqBenchmark::execute | ( | ) | [virtual] |
| DaqBenchmark& DaqBenchmark::operator= | ( | DaqBenchmark & | rhs | ) | [private] |
Suppress default.
| TH1F** DaqBenchmark::getSlotLowGainHistograms | ( | const unsigned int | slot | ) | [private] |
Returns the High Range ADC histograms for the supplied slot.
| TH1F* DaqBenchmark::getLowGainHistogram | ( | TH1F ** | slotLowGainHistograms, | |
| const unsigned int | slot, | |||
| const unsigned int | channelNumber | |||
| ) | [private] |
Returns the selected histograms from the set supplied.
| TH1F** DaqBenchmark::getSlotHighGainHistograms | ( | const unsigned int | slot | ) | [private] |
Returns the High Range ADC histograms for the supplied slot.
| TH1F* DaqBenchmark::getHighGainHistogram | ( | TH1F ** | slotHighGainHistograms, | |
| const unsigned int | slot, | |||
| const unsigned int | channelNumber | |||
| ) | [private] |
Returns the selected histograms from the set supplied.
| TH1F** DaqBenchmark::getSlotTdcHistograms | ( | const unsigned int | slot | ) | [private] |
Returns the TDC histograms for the supplied slot.
| TH1F* DaqBenchmark::getTdcHistogram | ( | TH1F ** | slotTdcHistograms, | |
| const unsigned int | slot, | |||
| const unsigned int | channelNumber | |||
| ) | [private] |
Returns the selected histogram from the set supplied.
| TH1F** DaqBenchmark::getSlotHistogram | ( | TH1F *** | histograms, | |
| const unsigned int | slot | |||
| ) | [private] |
Returns the selected sub-set of histograms from the specified set.
| TH2F** DaqBenchmark::getSlotFadcHistograms | ( | const unsigned int | slot | ) | [private] |
Returns the FADC histograms for the supplied slot.
| TH2F* DaqBenchmark::getFadcHistogram | ( | TH2F ** | slotFadcHistograms, | |
| const unsigned int | slot, | |||
| const unsigned int | channelNumber | |||
| ) | [private] |
Returns the selected histogram from the set supplied.
| TH2F** DaqBenchmark::getSlotHistogram | ( | TH2F *** | histograms, | |
| const unsigned int | slot | |||
| ) | [private] |
Returns the selected sub-set of histograms from the specified set.
| StatusCode DaqBenchmark::handleDaqFormat | ( | const DayaBay::ReadoutHeader & | readoutHeader | ) | [private] |
Handles the benchmark code using the DaqFormat project.
| void DaqBenchmark::handleEvent | ( | const DybDaq::EventReadout & | event | ) | [private] |
Handles the EventReadout once it has been extracted from the TES.
| void DaqBenchmark::handleFragment | ( | const DybDaq::RomFragment & | fragment | ) | [private] |
Handles a RomFragment.
| void DaqBenchmark::handleFee | ( | const DybDaq::FeeReadout & | readout, | |
| const unsigned int | slot | |||
| ) | [private] |
Handled the readout of FEE crate.
| StatusCode DaqBenchmark::handleReadoutEvent | ( | const DayaBay::ReadoutHeader & | readoutHeader | ) | [private] |
Handles the benchmark code using the ReadoutEvent project.
| void DaqBenchmark::handleEvent | ( | const DayaBay::ReadoutPmtCrate & | create | ) | [private] |
Handles the ReadoutPmtCrate once it has been extracted from the TES.
| void DaqBenchmark::handleChannel | ( | const DayaBay::ReadoutPmtChannel & | channel | ) | [private] |
Handles a ReadoutPmtChannel.
| StatusCode DaqBenchmark::handleDaqEvent | ( | const DayaBay::ReadoutHeader & | readoutHeader | ) | [private] |
Handles the benchmark code using the DaqEvent project.
| void DaqBenchmark::handleEvent | ( | const DayaBay::DaqPmtCrate & | crate | ) | [private] |
Handles DaqPmtCrate.
| void DaqBenchmark::handleFrame | ( | const DayaBay::DaqLtbFrame & | frame | ) | [private] |
Handles a DaqLtbFrame.
| void DaqBenchmark::handleChannel | ( | const DayaBay::DaqPmtChannel & | channel | ) | [private] |
Handles a DaqPmtChannel.
| void DaqBenchmark::handleChannel | ( | const DayaBay::DaqFadcChannel & | channel | ) | [private] |
Handles a DaqFadcChannel.
IStatisticsSvc* DaqBenchmark::m_statsSvc [private] |
TH1F*** DaqBenchmark::m_feeLowGainHistograms [private] |
TH1F*** DaqBenchmark::m_feeHighGainHistograms [private] |
TH1F*** DaqBenchmark::m_feeTdcHistograms [private] |
TH2F*** DaqBenchmark::m_fadcHistograms [private] |
unsigned long DaqBenchmark::m_eventCount [private] |
unsigned long DaqBenchmark::m_payloadLength [private] |
time_t DaqBenchmark::m_beginTime [private] |
time_t DaqBenchmark::m_firstEventTime [private] |
The trigger time of the first event seen by this module.
Definition at line 252 of file DaqBenchmark.h.
time_t DaqBenchmark::m_lastEventTime [private] |
The trigger time of the last event seen by this module.
Definition at line 257 of file DaqBenchmark.h.
bool DaqBenchmark::m_useDaqFormat [private] |
True if the DaqFormat products should be used in the benchmark.
Definition at line 262 of file DaqBenchmark.h.
bool DaqBenchmark::m_useDaqEvent [private] |
True if the DaqEvent products should be used in the benchmark.
Definition at line 267 of file DaqBenchmark.h.
bool DaqBenchmark::m_useReadoutEvent [private] |
True if the ReadoutEvent products should be used in the benchmark.
Definition at line 272 of file DaqBenchmark.h.
1.4.7