#include <DaqReadoutSvc.h>
Inheritance diagram for DaqReadoutSvc:
Public Types | |
SUCCESS | |
NO_INTERFACE | |
VERSMISMATCH | |
LAST_ERROR | |
enum | Status |
SUCCESS | |
NO_INTERFACE | |
VERSMISMATCH | |
LAST_ERROR | |
Public Member Functions | |
DaqReadoutSvc (const std::string &name, ISvcLocator *svc) | |
Creates an instace of this class. | |
~DaqReadoutSvc () | |
Destroys the instance of this class. | |
virtual StatusCode | queryInterface (const InterfaceID &id, void **interface) |
virtual bool | isGenerating () const |
Returns true if DaqReadout instances should be generated. | |
virtual unsigned int | ltbSlot (const DayaBay::Detector &detector) const |
Returns the ltb slot to be used in generated DAQ format data for the supplied detector. | |
virtual unsigned int | runNumber (const DayaBay::Detector &detector) const |
Returns the run number to be stamped in generated DAQ format data for the supplied detector. | |
virtual unsigned int | nextEventNumber (const DayaBay::Detector &detector) |
Returns the next event number to be stamped in generated DAQ format data for the supplied detector. | |
virtual bool | hasFileStartRecord () const |
Returns true if there is a current file_start_record. | |
virtual const DybDaq::FileStartRecord & | fileStartRecord () const |
Returns the current file_start_record. | |
virtual bool | hasFileNameStrings () const |
Returns true if there is a current file_name_strings. | |
virtual const DybDaq::FileNameStrings & | fileNameStrings () const |
Returns the current file_name_strings. | |
virtual bool | hasMetadataStrings () const |
Returns true if there is a current metadata_strings. | |
virtual const DybDaq::MetadataStrings & | metadataStrings () const |
Returns the current metadata_strings. | |
virtual bool | hasRunParametersRecord () const |
Returns true if there is a current run_parameters_record. | |
virtual const DybDaq::RunParametersRecord & | runParametersRecord () const |
Returns the current run_parameters_record. | |
virtual bool | hasCalibrationParametersRecord () const |
Returns true if there is a current calibration_parameter_record. | |
virtual const DybDaq::CalibrationParametersRecord & | calibrationParametersRecord () const |
Returns the current calibration_parameters_record. | |
virtual bool | hasFileEndRecord () const |
Returns true if there is a file_end_record from the last file and the second event for the current file has not been read. | |
virtual const DybDaq::FileEndRecord & | fileEndRecord () const |
Returns the file_end_record from the last file. | |
void | setFileRecord (const DybDaq::FileBuffer *record) |
Sets the current record to the one supplied. | |
void | setFileRecord (const DybDaq::FileStartRecord *record) |
Sets the current file_start_record. | |
void | setFileRecord (const DybDaq::FileNameStrings *record) |
Sets the current file_name_strings. | |
void | setFileRecord (const DybDaq::MetadataStrings *record) |
Sets the current metadata_strings. | |
void | setFileRecord (const DybDaq::RunParametersRecord *record) |
Sets the current run_parameters_record. | |
void | setFileRecord (const DybDaq::CalibrationParametersRecord *record) |
Sets the current calibration_parameters_record. | |
void | setFileRecord (const DybDaq::FileEndRecord *record) |
Sets the current file_end_record. | |
virtual unsigned long | addRef () |
virtual unsigned long | release () |
virtual const std::string & | name () const |
virtual const InterfaceID & | type () const |
virtual StatusCode | configure () |
virtual StatusCode | initialize () |
virtual StatusCode | start () |
virtual StatusCode | stop () |
virtual StatusCode | finalize () |
virtual StatusCode | terminate () |
virtual Gaudi::StateMachine::State | FSMState () const |
virtual Gaudi::StateMachine::State | targetFSMState () const |
virtual StatusCode | reinitialize () |
virtual StatusCode | restart () |
virtual StatusCode | sysInitialize () |
virtual StatusCode | sysStart () |
virtual StatusCode | sysStop () |
virtual StatusCode | sysFinalize () |
virtual StatusCode | sysReinitialize () |
virtual StatusCode | sysRestart () |
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 |
ISvcLocator * | serviceLocator () const |
IMessageSvc * | msgSvc () |
IMessageSvc * | msgSvc () const |
IMessageSvc * | messageService () |
IMessageSvc * | messageService () const |
StatusCode | setProperties () |
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 |
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 |
IAuditorSvc * | auditorSvc () const |
virtual unsigned long | addRef ()=0 |
virtual unsigned long | release ()=0 |
Static Public Member Functions | |
static const InterfaceID & | interfaceID () |
static const InterfaceID & | interfaceID () |
static const InterfaceID & | interfaceID () |
static const InterfaceID & | interfaceID () |
Public Attributes | |
SUCCESS | |
NO_INTERFACE | |
VERSMISMATCH | |
LAST_ERROR | |
Protected Member Functions | |
int | outputLevel () const |
Protected Attributes | |
IntegerProperty | m_outputLevel |
Gaudi::StateMachine::State | m_state |
Gaudi::StateMachine::State | m_targetState |
IMessageSvc * | m_messageSvc |
Private Member Functions | |
DaqReadoutSvc () | |
Suppress default. | |
DaqReadoutSvc (const DaqReadoutSvc &rhs) | |
Suppress default. | |
DaqReadoutSvc & | operator= (const DaqReadoutSvc &rhs) |
Suppress default. | |
Private Attributes | |
unsigned int | m_runNumber |
The run number to be stamped in generated DAQ format data for the supplied detector. | |
unsigned int | m_nextEventNumber |
The next event number to be stamped in generated DAQ format data for the supplied detector. | |
bool | m_generating |
True if DaqReadout instances should be generated. | |
const DybDaq::FileStartRecord * | m_fileStartRecord |
The current file_start_record, if there is one. | |
const DybDaq::FileNameStrings * | m_fileNameStrings |
The current fileNameStrings, if there is one. | |
const DybDaq::MetadataStrings * | m_metadataStrings |
The current metadata_strings, if there is one. | |
const DybDaq::RunParametersRecord * | m_runParametersRecord |
The current run_parameters_record, if there is one. | |
const DybDaq::CalibrationParametersRecord * | m_calibrationParametersRecord |
The current calibration_parameters_record, if there is one. | |
const DybDaq::FileEndRecord * | m_fileEndRecord |
The current file_end_record, if there is one. | |
Friends | |
friend class | ServiceManager |
Definition at line 21 of file DaqReadoutSvc.h.
DaqReadoutSvc::DaqReadoutSvc | ( | const std::string & | name, | |
ISvcLocator * | svc | |||
) |
Creates an instace of this class.
DaqReadoutSvc::~DaqReadoutSvc | ( | ) |
Destroys the instance of this class.
DaqReadoutSvc::DaqReadoutSvc | ( | ) | [private] |
Suppress default.
DaqReadoutSvc::DaqReadoutSvc | ( | const DaqReadoutSvc & | rhs | ) | [private] |
Suppress default.
virtual StatusCode DaqReadoutSvc::queryInterface | ( | const InterfaceID & | id, | |
void ** | interface | |||
) | [virtual] |
Reimplemented from Service.
virtual bool DaqReadoutSvc::isGenerating | ( | ) | const [virtual] |
virtual unsigned int DaqReadoutSvc::ltbSlot | ( | const DayaBay::Detector & | detector | ) | const [virtual] |
Returns the ltb slot to be used in generated DAQ format data for the supplied detector.
Implements IDaqReadoutSvc.
virtual unsigned int DaqReadoutSvc::runNumber | ( | const DayaBay::Detector & | detector | ) | const [virtual] |
Returns the run number to be stamped in generated DAQ format data for the supplied detector.
Implements IDaqReadoutSvc.
virtual unsigned int DaqReadoutSvc::nextEventNumber | ( | const DayaBay::Detector & | detector | ) | [virtual] |
Returns the next event number to be stamped in generated DAQ format data for the supplied detector.
Implements IDaqReadoutSvc.
virtual bool DaqReadoutSvc::hasFileStartRecord | ( | ) | const [virtual] |
virtual const DybDaq::FileStartRecord& DaqReadoutSvc::fileStartRecord | ( | ) | const [virtual] |
virtual bool DaqReadoutSvc::hasFileNameStrings | ( | ) | const [virtual] |
virtual const DybDaq::FileNameStrings& DaqReadoutSvc::fileNameStrings | ( | ) | const [virtual] |
virtual bool DaqReadoutSvc::hasMetadataStrings | ( | ) | const [virtual] |
virtual const DybDaq::MetadataStrings& DaqReadoutSvc::metadataStrings | ( | ) | const [virtual] |
virtual bool DaqReadoutSvc::hasRunParametersRecord | ( | ) | const [virtual] |
virtual const DybDaq::RunParametersRecord& DaqReadoutSvc::runParametersRecord | ( | ) | const [virtual] |
virtual bool DaqReadoutSvc::hasCalibrationParametersRecord | ( | ) | const [virtual] |
virtual const DybDaq::CalibrationParametersRecord& DaqReadoutSvc::calibrationParametersRecord | ( | ) | const [virtual] |
virtual bool DaqReadoutSvc::hasFileEndRecord | ( | ) | const [virtual] |
Returns true if there is a file_end_record from the last file and the second event for the current file has not been read.
Implements IDaqReadoutSvc.
virtual const DybDaq::FileEndRecord& DaqReadoutSvc::fileEndRecord | ( | ) | const [virtual] |
void DaqReadoutSvc::setFileRecord | ( | const DybDaq::FileBuffer * | record | ) |
Sets the current record to the one supplied.
void DaqReadoutSvc::setFileRecord | ( | const DybDaq::FileStartRecord * | record | ) |
Sets the current file_start_record.
void DaqReadoutSvc::setFileRecord | ( | const DybDaq::FileNameStrings * | record | ) |
Sets the current file_name_strings.
void DaqReadoutSvc::setFileRecord | ( | const DybDaq::MetadataStrings * | record | ) |
Sets the current metadata_strings.
void DaqReadoutSvc::setFileRecord | ( | const DybDaq::RunParametersRecord * | record | ) |
Sets the current run_parameters_record.
void DaqReadoutSvc::setFileRecord | ( | const DybDaq::CalibrationParametersRecord * | record | ) |
Sets the current calibration_parameters_record.
void DaqReadoutSvc::setFileRecord | ( | const DybDaq::FileEndRecord * | record | ) |
Sets the current file_end_record.
DaqReadoutSvc& DaqReadoutSvc::operator= | ( | const DaqReadoutSvc & | rhs | ) | [private] |
Suppress default.
unsigned int DaqReadoutSvc::m_runNumber [private] |
The run number to be stamped in generated DAQ format data for the supplied detector.
Definition at line 180 of file DaqReadoutSvc.h.
unsigned int DaqReadoutSvc::m_nextEventNumber [private] |
The next event number to be stamped in generated DAQ format data for the supplied detector.
Definition at line 185 of file DaqReadoutSvc.h.
bool DaqReadoutSvc::m_generating [private] |
const DybDaq::FileStartRecord* DaqReadoutSvc::m_fileStartRecord [private] |
const DybDaq::FileNameStrings* DaqReadoutSvc::m_fileNameStrings [private] |
const DybDaq::MetadataStrings* DaqReadoutSvc::m_metadataStrings [private] |
const DybDaq::RunParametersRecord* DaqReadoutSvc::m_runParametersRecord [private] |
The current calibration_parameters_record, if there is one.
Definition at line 215 of file DaqReadoutSvc.h.
const DybDaq::FileEndRecord* DaqReadoutSvc::m_fileEndRecord [private] |