6 #ifndef STAR_StSkimPionMaker
7 #define STAR_StSkimPionMaker
12 #include "TObjArray.h"
15 #include "StThreeVectorF.hh"
18 #include "StMuDSTMaker/COMMON/StMuDst.h"
19 #include "StMuDSTMaker/COMMON/StMuEvent.h"
20 #include "StMuDSTMaker/COMMON/StMuDstMaker.h"
21 #include "StMuDSTMaker/COMMON/StMuEmcCollection.h"
22 #include "StMuDSTMaker/COMMON/StMuDst.h"
23 #include "StMuDSTMaker/COMMON/StMuEmcUtil.h"
24 #include "StEmcRawMaker/defines.h"
25 #include "StEmcRawMaker/StBemcRaw.h"
26 #include "StEmcRawMaker/StBemcTables.h"
28 #include "TSkimPionEvent.h"
39 #define badrunidmax 200
48 const char* mFileName;
67 Int_t badrunid[badrunidmax];
70 Float_t c_factors[4801];
89 Float_t mHiTowerAdc6Bit;
100 TObjArray *mixedphoton2list;
108 Int_t doTrackPtHist(Float_t energy, Float_t threshold, TObjArray *
photonlist);
109 Int_t associateTracksWithEmcPoints(
StMaker* anyMaker);
111 void getTowerHitInfo();
112 StThreeVectorF getPoint(
StEmcPoint *p, Int_t&, Float_t&, Float_t&, Int_t&, Int_t&, Float_t&, Float_t&, Float_t&,Float_t&, Float_t&, Float_t&);
114 void getPhotonSpectra(TObjArray *
photonlist, Int_t, Float_t, Int_t);
115 Float_t getNeutralEnergySum(TObjArray *
photonlist);
118 void getInvMass(Int_t, TObjArray *photonlist1, TObjArray *photonlist2, Float_t,
StThreeVectorF,
int[3],
int[3]);
122 StSkimPionMaker(
const char *name=
"pi0AnaMaker", Bool_t mDoTracks=kTRUE,
const char *mFileName=
"bla.root");
125 virtual Int_t Init();
126 virtual Int_t InitRun(
int);
127 virtual Int_t
Make();
129 Bool_t readPointList();
TObjArray * photonlist
used for MC trigger selection and offline trig definition
TObjArray * mixedphoton1list
number of mixed events
StMuDstMaker * mMuDstMaker
Pointer to the StMuDstMaker which provides the events to analyse.
StMuDst * mMuDst
Pointer to the StMuDst class, which holds all the events information. Will be updated in the event lo...