Class StRTSBaseMaker - is an abstract StMaker to define the interface to access the DAQ data from the STAR production chain. More...
#include <StRTSBaseMaker.h>
Public Member Functions | |
StRTSBaseMaker (const char *detectorName, const char *makerName="") | |
StRTSBaseMaker( const char *detectorName,TVirtualPad *pad) ctor. | |
virtual | ~StRTSBaseMaker () |
StRTSBaseMaker class dtor. | |
Int_t | Sector () const |
Int_t | Pad () const |
Int_t | Rdo () const |
Int_t | Row () const |
UInt_t | Detectors () const |
detectors present bit mask according to DAQ! | |
const TString & | DetectorName () const |
virtual Int_t | Make ()=0 |
virtual const char * | GetCVS () const |
Static Public Member Functions | |
static UInt_t | Token () |
current token | |
static UInt_t | Trgcmd () |
current trigger command | |
static UInt_t | Daqcmd () |
current DAQ command | |
static UInt_t | Trgword () |
the Trigger Word | |
static UInt_t | Phyword () |
the Physics Word | |
static UInt_t | Daqbits () |
"offline" bits aka L3 summary... | |
static UInt_t | Daqbits_l1 () |
triggers satisfying l1 | |
static UInt_t | Daqbits_l2 () |
triggers satisfying l2 | |
static UInt_t | Evpgroups () |
evp groups aka L3 summary[2] | |
Protected Member Functions | |
StRtsTable * | GetNextDaqElement (const char *elementPath) |
Query the STAR production chain for the DAQ data. | |
StRtsTable * | DaqDta () |
Return the current DAQ data block. This member function is provided for convenience. | |
StRtsTable * | GetNext (const char *bank) |
This is an overloaded member function, provided for convenience. | |
virtual StRtsTable * | GetNextRaw () |
This is an overloaded member function, provided for convenience. | |
virtual StRtsTable * | GetNextRaw (int sec) |
This is an overloaded member function, provided for convenience. | |
virtual StRtsTable * | GetNextAdc () |
This is an overloaded member function, provided for convenience. | |
virtual StRtsTable * | GetNextAdc (int sec) |
This is an overloaded member function, provided for convenience. | |
virtual StRtsTable * | GetNextLegacy () |
This is an overloaded member function, provided for convenience. | |
virtual StRtsTable * | GetNextLegacy (int sec) |
This is an overloaded member function, provided for convenience. |
Class StRTSBaseMaker - is an abstract StMaker to define the interface to access the DAQ data from the STAR production chain.
Class provides the interface and the default implementation to access the DAQ data defined by "A DAQ_READER Cookbook". The user has to subclass it to re-implement the pure virtual function StRTSBaseMaker::Make() StRTSBaseMaker is a base class to implement the concrete StMaker::Make() method accessing and parsing the concrete detector subsystem DAQ information and make it available and suitable for the offline production.
Definition at line 35 of file StRTSBaseMaker.h.
StRTSBaseMaker::StRTSBaseMaker | ( | const char * | detectorName, | |
const char * | makerName = "" | |||
) |
StRTSBaseMaker( const char *detectorName,TVirtualPad *pad) ctor.
detectorName | - the DAQ name of the detector as defined by the column detector FROM THE "Table 1" of the "A DAQ_READER Cookbook" | |
makerName | - The object name. It is adviced to provide each object instance with its own name |
Definition at line 89 of file StRTSBaseMaker.cxx.
StRtsTable* StRTSBaseMaker::DaqDta | ( | ) | [inline, protected] |
Return the current DAQ data block. This member function is provided for convenience.
One of the suitable method such as GetNextRaw, GetNextAdc, GetNextLegacy, GetNext, has to be called first to assign this pointer
Definition at line 50 of file StRTSBaseMaker.h.
StRtsTable * StRTSBaseMaker::GetNext | ( | const char * | bank | ) | [protected] |
This is an overloaded member function, provided for convenience.
bank | - the name of the bank. The format is bank [d], where
|
Definition at line 153 of file StRTSBaseMaker.cxx.
References GetNextDaqElement().
Referenced by GetNextAdc(), GetNextLegacy(), and GetNextRaw().
StRtsTable * StRTSBaseMaker::GetNextAdc | ( | int | sec | ) | [protected, virtual] |
This is an overloaded member function, provided for convenience.
"adc"
from sector sec
if exists Definition at line 224 of file StRTSBaseMaker.cxx.
References GetNext().
StRtsTable * StRTSBaseMaker::GetNextAdc | ( | ) | [protected, virtual] |
This is an overloaded member function, provided for convenience.
"adc"
if exists Definition at line 209 of file StRTSBaseMaker.cxx.
References GetNext().
StRtsTable * StRTSBaseMaker::GetNextDaqElement | ( | const char * | elementPath | ) | [protected] |
Query the STAR production chain for the DAQ data.
Use the syntax defined by
A DAQ_READER Cookbook"
to query the DAQ data for the current event. It generates the text query using the format RTS/detector/bank
[d]
where
"RTS"
is a text constant detector
is the name of the detector defined by the class ctor bank
is the name of the bank as defined by the "DAQ_READER bank name" column from the "A DAQ_READER Cookbook" "Table 1"
[d] - is an optional component which is a comma separated list of the indexis surrounding by the square brackets.For example the text "RTS/tpx/cld[1]" is to query the DAQ cluster data for the first sector of TPX detector
Definition at line 126 of file StRTSBaseMaker.cxx.
Referenced by GetNext().
StRtsTable * StRTSBaseMaker::GetNextLegacy | ( | int | sec | ) | [protected, virtual] |
This is an overloaded member function, provided for convenience.
"legacy"
from sector sec
if exists Definition at line 256 of file StRTSBaseMaker.cxx.
References GetNext().
StRtsTable * StRTSBaseMaker::GetNextLegacy | ( | ) | [protected, virtual] |
This is an overloaded member function, provided for convenience.
"legacy"
if exists Definition at line 240 of file StRTSBaseMaker.cxx.
References GetNext().
StRtsTable * StRTSBaseMaker::GetNextRaw | ( | int | sec | ) | [protected, virtual] |
This is an overloaded member function, provided for convenience.
"raw"
from sector sec
if exists Definition at line 193 of file StRTSBaseMaker.cxx.
References GetNext().
StRtsTable * StRTSBaseMaker::GetNextRaw | ( | ) | [protected, virtual] |
This is an overloaded member function, provided for convenience.
"raw"
if exists Definition at line 177 of file StRTSBaseMaker.cxx.
References GetNext().
virtual Int_t StRTSBaseMaker::Make | ( | ) | [pure virtual] |
One has to implement this method to access the concrete detector subsystem DAQ information via the suitable method such as GetNextRaw, GetNextAdc, GetNextLegacy, GetNext, parse it and make it available for the STAR production chain
Reimplemented from StMaker.
Implemented in StIOInterFace.