/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions
IDaqReadoutSvc Class Reference

This interface provide access to information about DAQ format data generation. More...

#include <IDaqReadoutSvc.h>

List of all members.

Public Member Functions

 IDaqReadoutSvc ()
 Creates an instance of this class.
virtual ~IDaqReadoutSvc ()
 Creates an instance of this class.
virtual unsigned int samplingInterval () const =0
 Returns the sampling interval for runnihng sparce analysis.
virtual unsigned int actionOnInvalid () const =0
 Returns the action to take when an invalid event is found.
virtual unsigned int actionOnRawRpc () const =0
 Returns the action to take when an raw RPC event is found.
virtual bool isGenerating () const =0
 True if DaqReadout instances should be generated.
virtual unsigned int ltbSlot (const DayaBay::Detector &detector) const =0
 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 =0
 Returns the run number to be stamped in generated DAQ format data for the supplied detector.
virtual unsigned int nextEventNumber (const DayaBay::Detector &detector)=0
 Returns the next event number to be stamped in generated DAQ format data for the supplied detector.
virtual unsigned int nextDataBlockNumber ()=0
 Returns the next data block number to be used.
virtual bool hasFileStartRecord () const =0
 Returns true if there is a current file_start_record.
virtual const
DybDaq::FileStartRecord
fileStartRecord () const =0
 Returns the current file_start_record.
virtual bool hasFileNameStrings () const =0
 Returns true if there is a current file_name_strings.
virtual const
DybDaq::FileNameStrings
fileNameStrings () const =0
 Returns the current file_name_strings.
virtual bool hasMetadataStrings () const =0
 Returns true if there is a current metadata_strings.
virtual const
DybDaq::MetadataStrings
metadataStrings () const =0
 Returns the current metadata_strings.
virtual bool hasRunParametersRecord () const =0
 Returns true if there is a current run_parameters_record.
virtual const
DybDaq::RunParametersRecord
runParametersRecord () const =0
 Returns the current run_parameters_record.
virtual int calibrationParametersRecordCount () const =0
 Returns the number of current calibration_parameter_records.
virtual const
DybDaq::CalibrationParametersRecord
calibrationParametersRecord (const int index) const =0
 Returns the requested current calibration_parameters_record.
virtual bool hasFileEndRecord () const =0
 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 =0
 Returns the file_end_record from the last file.
virtual void setFirstDataBlockNumber (unsigned int number)=0
 Sets the first data block number to be use in a file.

Static Public Member Functions

static const InterfaceID & interfaceID ()
 Retrieve interface ID.

Static Public Attributes

static const unsigned int kExitOnInvalid = 0
 Exit when encountering invalid event.
static const unsigned int kSkipInvalid = IDaqReadoutSvc::kExitOnInvalid + 1
 Skip invalid events.
static const unsigned int kProcessInvalid = IDaqReadoutSvc::kSkipInvalid + 1
 Process invalid events.
static const unsigned int kProcessRawRpc = 0
 Process raw RPC events.
static const unsigned int kSkipRawRpc = IDaqReadoutSvc::kProcessRawRpc + 1
 Skip raw RPC events.

Private Member Functions

 IDaqReadoutSvc (const IDaqReadoutSvc &rhs)
 Suppress default.
IDaqReadoutSvcoperator= (const IDaqReadoutSvc &rhs)
 Suppress default.

Detailed Description

This interface provide access to information about DAQ format data generation.

Definition at line 32 of file IDaqReadoutSvc.h.


Constructor & Destructor Documentation

IDaqReadoutSvc::IDaqReadoutSvc ( )

Creates an instance of this class.

Definition at line 10 of file IDaqReadoutSvc.cc.

                               {
}
IDaqReadoutSvc::~IDaqReadoutSvc ( ) [virtual]

Creates an instance of this class.

Definition at line 13 of file IDaqReadoutSvc.cc.

                                {
}
IDaqReadoutSvc::IDaqReadoutSvc ( const IDaqReadoutSvc rhs) [private]

Suppress default.


Member Function Documentation

static const InterfaceID& IDaqReadoutSvc::interfaceID ( ) [inline, static]

Retrieve interface ID.

Definition at line 38 of file IDaqReadoutSvc.h.

                                            {
        return IID_IDaqReadoutSvc;
    }
virtual unsigned int IDaqReadoutSvc::samplingInterval ( ) const [pure virtual]

Returns the sampling interval for runnihng sparce analysis.

virtual unsigned int IDaqReadoutSvc::actionOnInvalid ( ) const [pure virtual]

Returns the action to take when an invalid event is found.

virtual unsigned int IDaqReadoutSvc::actionOnRawRpc ( ) const [pure virtual]

Returns the action to take when an raw RPC event is found.

virtual bool IDaqReadoutSvc::isGenerating ( ) const [pure virtual]

True if DaqReadout instances should be generated.

virtual unsigned int IDaqReadoutSvc::ltbSlot ( const DayaBay::Detector detector) const [pure virtual]

Returns the ltb slot to be used in generated DAQ format data for the supplied detector.

virtual unsigned int IDaqReadoutSvc::runNumber ( const DayaBay::Detector detector) const [pure virtual]

Returns the run number to be stamped in generated DAQ format data for the supplied detector.

virtual unsigned int IDaqReadoutSvc::nextEventNumber ( const DayaBay::Detector detector) [pure virtual]

Returns the next event number to be stamped in generated DAQ format data for the supplied detector.

virtual unsigned int IDaqReadoutSvc::nextDataBlockNumber ( ) [pure virtual]

Returns the next data block number to be used.

virtual bool IDaqReadoutSvc::hasFileStartRecord ( ) const [pure virtual]

Returns true if there is a current file_start_record.

virtual const DybDaq::FileStartRecord& IDaqReadoutSvc::fileStartRecord ( ) const [pure virtual]

Returns the current file_start_record.

virtual bool IDaqReadoutSvc::hasFileNameStrings ( ) const [pure virtual]

Returns true if there is a current file_name_strings.

virtual const DybDaq::FileNameStrings& IDaqReadoutSvc::fileNameStrings ( ) const [pure virtual]

Returns the current file_name_strings.

virtual bool IDaqReadoutSvc::hasMetadataStrings ( ) const [pure virtual]

Returns true if there is a current metadata_strings.

virtual const DybDaq::MetadataStrings& IDaqReadoutSvc::metadataStrings ( ) const [pure virtual]

Returns the current metadata_strings.

virtual bool IDaqReadoutSvc::hasRunParametersRecord ( ) const [pure virtual]

Returns true if there is a current run_parameters_record.

virtual const DybDaq::RunParametersRecord& IDaqReadoutSvc::runParametersRecord ( ) const [pure virtual]

Returns the current run_parameters_record.

virtual int IDaqReadoutSvc::calibrationParametersRecordCount ( ) const [pure virtual]

Returns the number of current calibration_parameter_records.

virtual const DybDaq::CalibrationParametersRecord& IDaqReadoutSvc::calibrationParametersRecord ( const int  index) const [pure virtual]

Returns the requested current calibration_parameters_record.

virtual bool IDaqReadoutSvc::hasFileEndRecord ( ) const [pure 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.

virtual const DybDaq::FileEndRecord& IDaqReadoutSvc::fileEndRecord ( ) const [pure virtual]

Returns the file_end_record from the last file.

virtual void IDaqReadoutSvc::setFirstDataBlockNumber ( unsigned int  number) [pure virtual]

Sets the first data block number to be use in a file.

IDaqReadoutSvc& IDaqReadoutSvc::operator= ( const IDaqReadoutSvc rhs) [private]

Suppress default.


Member Data Documentation

const unsigned int IDaqReadoutSvc::kExitOnInvalid = 0 [static]

Exit when encountering invalid event.

Definition at line 45 of file IDaqReadoutSvc.h.

Skip invalid events.

Definition at line 50 of file IDaqReadoutSvc.h.

Process invalid events.

Definition at line 55 of file IDaqReadoutSvc.h.

const unsigned int IDaqReadoutSvc::kProcessRawRpc = 0 [static]

Process raw RPC events.

Definition at line 60 of file IDaqReadoutSvc.h.

Skip raw RPC events.

Definition at line 65 of file IDaqReadoutSvc.h.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:57:51 for DaqReadoutSvc by doxygen 1.7.4