25 #ifndef StBTofNtupleMaker_hh
26 #define StBTofNtupleMaker_hh
28 #include "StThreeVectorD.hh"
29 #include "StPhysicalHelixD.hh"
30 #include "StBTofCellData.h"
32 #define __SIGMA_SCALE__ 1000.
35 #ifndef ST_NO_NAMESPACES
44 #include "StThreeVectorF.hh"
49 class StSPtrVecBTofHit;
61 Int_t InitRun(
int runnumber);
63 Int_t FinishRun(
int runnumber);
66 void SetNtupleFileName(Char_t*);
67 void setOuterTrackGeometry();
68 void setStandardTrackGeometry();
69 void setInitGeomFromOther(
const Bool_t);
77 void processStEvent();
90 Bool_t mUseEventVertex;
93 Bool_t mInitGeomFromOther;
94 Bool_t mOuterTrackGeometry;
97 Int_t mAcceptedEvents;
102 string mTupleFileName;
107 Bool_t doPrintMemoryInfo;
108 Bool_t doPrintCpuInfo;
112 virtual const char *GetCVS()
const
113 {
static const char cvs[]=
"Tag $Name: $ $Id: StBTofNtupleMaker.h,v 1.2 2015/07/28 22:50:03 smirnovd Exp $ built " __DATE__
" " __TIME__ ;
return cvs;}
118 inline void StBTofNtupleMaker::setOuterTrackGeometry(){mOuterTrackGeometry=
false;}
119 inline void StBTofNtupleMaker::setStandardTrackGeometry(){mOuterTrackGeometry=
false;}
120 inline void StBTofNtupleMaker::SetNtupleFileName(Char_t* filename){mTupleFileName=filename;}
121 inline void StBTofNtupleMaker::setInitGeomFromOther(
const Bool_t init) { mInitGeomFromOther = init; }
void setUseEventVertex(const Bool_t val=kTRUE)
switch to turn on the use of event vertex for dca
~StBTofNtupleMaker()
default empty destructor
void setMuDstIn(const Bool_t muDstIn=kTRUE)
switch to read in StEvent/MuDst
Int_t Init()
initialize ntuple and daqmap, and reset counters
Int_t Make()
get tofr slat, pvpd rawdata and global data from StEvent and store in flat TTrees (ntuples) ...
StBTofNtupleMaker(const Char_t *name, const Char_t *outname)
constructor sets default parameters
Int_t Finish()
write and close the ntuple file