StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFpsRawHitMaker.h
1 // \class StFpsRawHitMaker
2 // \author Akio Ogawa
3 //
4 // This is the hit maker for the FPS data.
5 // It makes use of its base class functions to read daq files into the StEvent Data structure.
6 //
7 // $Id: StFpsRawHitMaker.h,v 1.3 2017/01/30 17:49:28 akio Exp $
8 // $Log: StFpsRawHitMaker.h,v $
9 // Revision 1.3 2017/01/30 17:49:28 akio
10 // adding FPost
11 //
12 // Revision 1.2 2015/09/02 14:55:18 akio
13 // Modified to work with StFmsDbMaker
14 //
15 
16 #ifndef STAR_StFpsRawHitMaker_HH
17 #define STAR_StFpsRawHitMaker_HH
18 
19 #include "StRoot/StChain/StRTSBaseMaker.h"
20 class StFmsDbMaker;
21 class StFmsCollection;
22 
24 public:
25  StFpsRawHitMaker(const Char_t* name="FpsHit");
27  Int_t InitRun(Int_t runNumber);
28  Int_t Make();
29  void setPrePost(int v) {mPrePost=v;} //if 0 (default) takes only triggered crossing. none-0 accept prepost as well,
30 
31 private:
32  enum {kFpsQtCrate=8, kFpostQtCrate=9};
33 
34  int mPrePost;
35  Int_t prepareEnvironment();
36  StFmsCollection *mFmsCollection;
37  StFmsDbMaker *mFmsDbMaker;
38 
39  ClassDef(StFpsRawHitMaker,0);
40 };
41 
42 #endif
Class StRTSBaseMaker - is an abstract StMaker to define the interface to access the DAQ data from the...
Int_t InitRun(Int_t runNumber)
Check if global pointer for StFmsDbMaker is available.
Int_t Make()
Read FPS data from daq file, and add to StFmsCollection as a StFmsHit.