28 #ifndef STETOFDIGIMAKER_H
29 #define STETOFDIGIMAKER_H
34 #include "StRTSBaseMaker.h"
41 namespace gdpb {
class FullMessage; };
42 namespace gdpbv100 {
class FullMessage; };
53 Int_t InitRun( Int_t );
54 Int_t FinishRun( Int_t );
60 void setDebug(
const bool debug );
66 void processEvent( uint64_t* messageBuffer,
size_t nFullMessagesToRead );
69 map< unsigned int, uint64_t >& gdpbTs,
70 map< unsigned int, uint64_t >& starTs );
72 void fillETofHeader( uint64_t* messageBuff, vector< gdpbv100::FullMessage >& triggerMessages );
75 void setFileNameElectronicsMap(
const char* fileName );
78 void processEvent2018( uint64_t* messageBuffer,
size_t nFullMessagesToRead );
81 map< unsigned int, uint64_t >& gdpbTs,
82 map< unsigned int, uint64_t >& starTs );
84 void fillETofHeader( uint64_t* messageBuff, vector< gdpb::FullMessage >& triggerMessages );
93 vector < Bool_t > mMissMatchFlagVec;
95 std::string mFileNameElectronicsMap;
96 std::map< Int_t, Bool_t > mGet4ActiveMap;
100 virtual const Char_t *GetCVS()
const {
static const char cvs[]=
"Tag $Name: $Id: built " __DATE__
" " __TIME__ ;
return cvs; }
105 inline void StETofDigiMaker::setDebug(
const bool debug ) { mDebug = debug; }
107 #endif // STETOFDIGIMAKER_H
Class StRTSBaseMaker - is an abstract StMaker to define the interface to access the DAQ data from the...
void processEvent(uint64_t *messageBuffer, size_t nFullMessagesToRead)
void convertTriggerMessages(vector< gdpbv100::FullMessage > &triggerMessages, map< unsigned int, uint64_t > &gdpbTs, map< unsigned int, uint64_t > &starTs)
StETofDigiMaker(const char *name="etofDigi")
Default constructor.
StETofCollection * getETofCollection()
void processEvent2018(uint64_t *messageBuffer, size_t nFullMessagesToRead)