66 #ifndef StPrepEmbedMaker_hh
67 #define StPrepEmbedMaker_hh
89 Int_t InitRun(
const int runnum);
90 virtual void Do(
const Char_t *option =
"dcut cave x 0.1 10 10 0.03 0.03");
91 virtual const char *GetCVS()
const {
92 static const char cvs[]=
"Tag $Name: $ $Id: StPrepEmbedMaker.h,v 1.9 2014/08/06 11:43:55 jeromel Exp $ built " __DATE__
" " __TIME__ ;
96 void SetPartOpt(
const Int_t pid,
const Double_t mult);
105 void SetOpt(
const Double_t ptlow,
const Double_t pthigh,
106 const Double_t etalow,
const Double_t etahigh,
const Double_t philow,
107 const Double_t phihigh,
const TString type=
"FlatPt");
108 void SetTemp(
const double t);
109 void SetTagFile(
const Char_t *file) ;
110 void SetSkipMode(
const Bool_t flag=kTRUE) ;
111 void SetSpreadMode(
const Bool_t flag=kFALSE) ;
112 void SetTrgOpt(
const Int_t TrgId);
113 void SetZVertexCut(
const Double_t vzlow,
const Double_t vzhigh);
114 void SetVrCut(
const Double_t vr) ;
115 void SetVpdVzCut(
const Double_t vpdvz) ;
116 void SetPVRankCut(
const Double_t pvrank) ;
119 void SetVpdVzCutMode(
const Bool_t flag=kFALSE) ;
120 void SetPVRankCutMode(
const Bool_t flag=kFALSE) ;
122 void SetRapidityMode(
const Bool_t flag=kTRUE) ;
130 void gkine(
const Int_t mult,
const Double_t vzmin,
const Double_t vzmax) ;
133 static const Double_t mRapidityMaximumCut ;
138 Int_t getMultiplicity(
const StEvtHddr& EvtHddr,
const Int_t nprimarytracks)
const ;
142 TString mMoreTagsFile;
153 Bool_t mRapidityMode;
159 Bool_t mVpdVzCutMode;
160 Bool_t mPVRankCutMode;
Prepare GEANT Maker with input from embedding settings and DAQ event.
void phasespace(const Int_t mult)
StPrepEmbedMaker(const Char_t *name="PrepEmbed")
void SetOpt(const Double_t ptlow, const Double_t pthigh, const Double_t etalow, const Double_t etahigh, const Double_t philow, const Double_t phihigh, const TString type="FlatPt")
Set geantid(pid) and multiplicity.
void SetPrimeMode(const Bool_t flag=kFALSE)
Switch to enable writing .fz file.
void gkine(const Int_t mult, const Double_t vzmin, const Double_t vzmax)