StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFmsSimulatorMaker.h
1 // -*- mode:c++ -*-
2 
3 //
4 // Pibero Djawotho <pibero@tamu.edu>
5 // Texas A&M University
6 // 4 Jan 2011
7 //
8 
9 #ifndef ST_FMS_SIMULATOR_MAKER_H
10 #define ST_FMS_SIMULATOR_MAKER_H
11 
12 class StMcCalorimeterHit;
13 class StMcEvent;
14 class StFmsHit;
15 class StEvent;
16 class StFmsDbMaker;
17 
18 #include "StMaker.h"
19 
20 class StFmsSimulatorMaker : public StMaker {
21 public:
22  StFmsSimulatorMaker(const char* name = "fmsSim") : StMaker(name) {}
23  int Make();
24 
25 private:
26  int getDetectorId(int ew, int nstb) const;
27  StFmsHit* makeFmsHit(const StMcCalorimeterHit*) const;
28  void fillStEvent(const StMcEvent*, StEvent*);
29  void printStEventSummary(const StEvent*);
30 
31  StFmsDbMaker* mFmsDbMaker=0;
32 
33  ClassDef(StFmsSimulatorMaker,0);
34 };
35 
36 #endif // ST_FMS_SIMULATOR_MAKER_H
StMaker(const char *name="", const char *dummy=0)
Constructor &amp; Destructor.
Definition: StMaker.cxx:188
Event data structure to hold all information from a Monte Carlo simulation. This class is the interfa...
Definition: StMcEvent.hh:169