StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFcsRawHitMaker.h
1 /*
2  *
3  * \class StFcsRawHitMaker
4  *
5  */
6 
7 #ifndef STAR_StFcsRawHitMaker_HH
8 #define STAR_StFcsRawHitMaker_HH
9 
10 #include "StRoot/StChain/StRTSBaseMaker.h"
11 
12 class StEvent;
13 class StFcsCollection;
14 class StTriggerData;
15 class StFcsDb;
16 
18 public:
19  StFcsRawHitMaker( const char* name = "fcsHit");
21 
22  int InitRun(int runNumber);
23  int Make();
24  void Clear( Option_t *opts = "" );
25 
26  void setReadMode(int v) {mReadMode=v;}
27  void setDebug(int v=1) {SetDebug(v);}
28  void setReadMuDst(int v=1) {mReadMuDst=v;}
29 
30  // Get CVS
31  virtual const char *GetCVS() const;
32 
33 private:
34  StEvent *mEvent;
35  StFcsCollection *mFcsCollectionPtr;
36  unsigned int mRun=0;
37  StFcsDb* mFcsDb=0;
38  int mReadMode=1;
39  int mReadMuDst=0;
40 
41  int readMuDst();
42 
43  ClassDef(StFcsRawHitMaker,1);
44 };
45 
46 // inline functions
47 inline const char *StFcsRawHitMaker::GetCVS() const {
48  static const char cvs[] = "Tag $Name: $ $Id: StFcsRawHitMaker.h,v 1.2 2021/04/26 20:05:35 akio Exp $ built " __DATE__ " " __TIME__ ;
49  return cvs;
50 };
51 
52 #endif
53 
54 /*
55  * $Id: StFcsRawHitMaker.h,v 1.2 2021/04/26 20:05:35 akio Exp $
56  * $Log: StFcsRawHitMaker.h,v $
57  * Revision 1.2 2021/04/26 20:05:35 akio
58  * change default readmode = 1 (ZS bank)
59  *
60  * Revision 1.1 2021/03/30 13:40:12 akio
61  * FCS code after peer review and moved from $CVSROOT/offline/upgrades/akio
62  *
63  * Revision 1.4 2021/02/25 21:55:32 akio
64  * Int_t -> int
65  *
66  * Revision 1.3 2021/02/25 19:27:10 akio
67  * Modified for STAR code review (Hongwei)
68  *
69  * Revision 1.2 2019/07/05 15:00:52 akio
70  * small corrections
71  *
72  * Revision 1.1 2019/07/03 17:02:45 akio
73  * Initial version of FCS offline daq file reader
74  *
75  */
Class StRTSBaseMaker - is an abstract StMaker to define the interface to access the DAQ data from the...
virtual const char * GetCVS() const
reading Mudst/StMuFcsHit into StEvent/StFcsHit
void setReadMuDst(int v=1)
backward compatubility
void Clear(Option_t *opts="")
User defined functions.