StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFmsFastSimMaker.h
1 // \class StFmsFastSimMaker
2 // \author Akio Ogawa
3 //
4 // This is FMS fast simulator maker, without using GEANT, but taking tracks
5 // from PYTHIA and parametrized calorimeter resposes
6 //
7 // $Id: StFmsFastSimMaker.h,v 1.1 2016/06/09 12:17:43 akio Exp $
8 // $Log: StFmsFastSimMaker.h,v $
9 // Revision 1.1 2016/06/09 12:17:43 akio
10 // First version
11 //
12 
13 #ifndef STAR_StFmsFastSimMaker_HH
14 #define STAR_StFmsFastSimMaker_HH
15 
16 #include "StMaker.h"
17 #include "StLorentzVectorF.hh"
18 
19 class StFmsDbMaker;
20 class StFmsCollection;
21 
22 class StFmsFastSimMaker : public StMaker{
23 public:
24  StFmsFastSimMaker(const Char_t* name="FmsFastSimMaker");
26  Int_t Init();
27  Int_t Make();
28  void Clear(Option_t *option="");
29 
30  Int_t nPi0() {return mRealPi0.size();}
31  StLorentzVectorF *pi0(Int_t v) {return mRealPi0[v];}
32 
33  void setPrint(int v){mPrint=v;}
34 
35 private:
36  int mPrint;
37  Float_t hadronResponse(float e, float& f);
38 
39  vector<StLorentzVectorF *> mRealPi0; //
40 
41  virtual const char *GetCVS() const
42  {static const char cvs[]="Tag $Name: $ $Id: StFmsFastSimMaker.h,v 1.1 2016/06/09 12:17:43 akio Exp $ built " __DATE__ " " __TIME__ ; return cvs;}
43 
44  ClassDef(StFmsFastSimMaker,0);
45 };
46 
47 #endif
void Clear(Option_t *option="")
User defined functions.