23 #ifndef STMUETOFHEADER_H
24 #define STMUETOFHEADER_H
45 StMuETofHeader(
const double&,
const double&,
const std::map< unsigned int, uint64_t >&,
const std::map< unsigned int, uint64_t >& ,
46 const unsigned int&,
const unsigned int&,
const unsigned int&,
const uint64_t& );
50 StMuETofHeader(
const double&,
const double&,
const std::map< unsigned int, uint64_t >&,
const std::map< unsigned int, uint64_t >& ,
51 const unsigned int&,
const unsigned int&,
const unsigned int&,
const uint64_t&,
const std::vector< Bool_t >& );
55 StMuETofHeader(
const double&,
const double&,
const std::map< unsigned int, uint64_t >&,
const std::map< unsigned int, uint64_t >& ,
56 const unsigned int&,
const unsigned int&,
const unsigned int&,
const uint64_t&,
const std::vector<bool>&,
57 const std::vector<bool>& );
61 virtual void Clear( Option_t *opt =
"" ){
65 mMissMatchFlagVec.clear();
66 mGoodEventFlagVec.clear();
67 mMissMatchFlagVec.shrink_to_fit();
68 mGoodEventFlagVec.shrink_to_fit();
71 double trgGdpbFullTime()
const;
72 double trgStarFullTime()
const;
74 std::map< unsigned int, uint64_t > rocGdpbTs()
const;
75 std::map< unsigned int, uint64_t > rocStarTs()
const;
77 unsigned int starToken()
const;
78 unsigned int starDaqCmdIn()
const;
79 unsigned int starTrgCmdIn()
const;
80 uint64_t eventStatusFlag()
const;
90 std::vector<bool> hasPulsersVec()
const;
92 void setTrgGdpbFullTime(
const double& gdpbFullTime );
93 void setTrgStarFullTime(
const double& starFullTime );
95 void setRocGdpbTs(
const std::map< unsigned int, uint64_t >& gdpbTs );
96 void setRocStarTs(
const std::map< unsigned int, uint64_t >& starTs );
98 void setStarToken(
const unsigned int& token );
99 void setStarDaqCmdIn(
const unsigned int& daqCmdIn );
100 void setStarTrgCmdIn(
const unsigned int& trgCmdIn );
102 void setEventStatusFlag(
const uint64_t& statusFlag );
103 void setGoodEventFlagVec(
const std::vector<bool>& FlagVec );
104 void setHasPulsersVec(
const std::vector<bool>& PulserVec );
107 Double_t mTrgGdpbFullTime;
108 Double_t mTrgStarFullTime;
110 std::map< UInt_t, ULong64_t > mRocGdpbTs;
111 std::map< UInt_t, ULong64_t > mRocStarTs;
114 UInt_t mStarDaqCmdIn;
115 UInt_t mStarTrgCmdIn;
117 ULong64_t mEventStatusFlag;
119 std::vector< Bool_t > mMissMatchFlagVec;
120 std::vector< Bool_t > mGoodEventFlagVec;
121 std::vector< Bool_t > mHasPulsersVec;
126 #endif // STMUETOFHEADER_H