12 #ifndef STAR_StFgtRawDaqReader_HH
13 #define STAR_StFgtRawDaqReader_HH
25 StFgtRawDaqReader(
const Char_t* name =
"fgtRawDaqReader",
const Char_t *daqFileName =
"",
const Char_t* dbMkrName =
"fgtDb" );
28 void setFilename( std::string filename );
32 virtual void Clear( Option_t *opts =
"" );
33 virtual Int_t prepareEnvironment();
35 void cutShortEvents( Bool_t doIt = 1 );
36 void setIsCosmic( Bool_t itIs = 1 );
38 void setAlldata() {mDataType=0;};
39 void setNoneZSdataOnly(){mDataType=1;};
40 void setZSdataOnly() {mDataType=2;};
41 void setZSfirst() {mDataType=3;};
43 void setStartTbin(
int v) {mStartTbin=v;}
44 void setNumTbin(
int v) {mNumTbin=v;}
47 virtual const char *GetCVS()
const;
50 Bool_t mCutShortEvents, mIsCosmic;
55 std::string mDaqFileName, mDbMkrName;
67 inline void StFgtRawDaqReader::setFilename( std::string filename ){ mDaqFileName = filename; };
68 inline void StFgtRawDaqReader::cutShortEvents( Bool_t doIt ){ mCutShortEvents = doIt; };
69 inline void StFgtRawDaqReader::setIsCosmic( Bool_t itIs ){ mIsCosmic = itIs; };
70 inline const char *StFgtRawDaqReader::GetCVS()
const {
71 static const char cvs[] =
"Tag $Name: $ $Id: StFgtRawDaqReader.h,v 1.7 2014/08/06 11:43:12 jeromel Exp $ built " __DATE__
" " __TIME__ ;
virtual void Clear(Option_t *opts="")
User defined functions.