7 #ifndef STAR_StFcsRawDaqReader_HH
8 #define STAR_StFcsRawDaqReader_HH
21 StFcsRawDaqReader(
const Char_t* name =
"fcsRawDaqReader",
const Char_t *daqFileName =
"");
24 void setFilename( std::string filename ){mDaqFileName = filename;};
28 virtual void Clear( Option_t *opts =
"" );
30 void setReadMode(
int v) {mReadMode=v;}
31 void setRun(
int v) {mRun=v;}
32 void setDebug(
int v=1) {mDebug=v;}
36 void setMaxSector(
int max,
int min=1,
int maxevt=100) {mMaxSector=max; mSector=min; mMaxEvtPerSector=maxevt;}
39 int getEvtInSec() {
return mEvtInSector;}
41 virtual Int_t prepareEnvironment();
42 unsigned long long trgMask(){
return mTrgMask;}
44 int fcsTcuBit() {
return mFcsTcuBit;}
45 int fcsDepOut() {
return mFcsDepOut;}
53 std::string mDaqFileName, mDbMkrName;
56 unsigned int mMaxSector=0;
57 unsigned int mSector=0;
58 unsigned int mMaxEvtPerSector=100;
59 unsigned int mEvtInSector=0;
62 unsigned int mReadMode=0;
63 unsigned long long mTrgMask=0;
68 virtual const Char_t *GetCVS()
const {
static const Char_t cvs[]=
"Tag " __DATE__
" " __TIME__ ;
return cvs;}
virtual void Clear(Option_t *opts="")
User defined functions.