25 #ifndef STBTOFMATCHEFFMAKER_HH
26 #define STBTOFMATCHEFFMAKER_HH
28 #include "StThreeVectorD.hh"
32 #ifndef ST_NO_NAMESPACES
41 #include "StThreeVectorF.hh"
60 void setCreateHistoFlag(Bool_t histos=kTRUE);
61 void setMinFitPointsPerTrack(Int_t);
62 void setMinFitPointsOverMax(Float_t);
63 void setMaxDCA(Float_t);
64 void setHistoFileName(
const Char_t*);
68 void bookHistograms();
69 void writeHistogramsToFile();
77 Bool_t doPrintMemoryInfo;
78 Bool_t doPrintCpuInfo;
84 string mHistoFileName;
88 Int_t mAcceptedEventCounter;
89 Int_t mTofEventCounter;
93 unsigned int mMinFitPointsPerTrack;
94 Float_t mMinFitPointsOverMax;
100 TH1D* mEventCounterHisto;
112 virtual const char *GetCVS()
const
113 {
static const char cvs[]=
"Tag $Name: $ $Id: StBTofMatchEffMaker.h,v 1.3 2015/07/28 22:50:03 smirnovd Exp $ built " __DATE__
" " __TIME__ ;
return cvs;}
119 inline void StBTofMatchEffMaker::setMinFitPointsPerTrack(Int_t nfitpnts){mMinFitPointsPerTrack=nfitpnts;}
121 inline void StBTofMatchEffMaker::setMinFitPointsOverMax(Float_t ratio) {mMinFitPointsOverMax=ratio;}
123 inline void StBTofMatchEffMaker::setMaxDCA(Float_t maxdca){mMaxDCA=maxdca;}
125 inline void StBTofMatchEffMaker::setHistoFileName(
const Char_t* filename){mHistoFileName=filename;}
127 inline void StBTofMatchEffMaker::setCreateHistoFlag(Bool_t histos){mHisto = histos;}
Int_t Make()
initial functions - DaqMap, Geometry Alignment, INL are extracted from db
StBTofMatchEffMaker(const Char_t *name="btofMatch")
Default constructor.