1 #ifndef __StEEmcPi0Analysis_h__
2 #define __StEEmcPi0Analysis_h__
6 #include "StMuDSTMaker/COMMON/StMuDstMaker.h"
7 #include "StMuDSTMaker/COMMON/StMuDst.h"
8 #include "StMuDSTMaker/COMMON/StMuEvent.h"
9 #include "StMuDSTMaker/COMMON/StMuTriggerIdCollection.h"
10 #include "StMuDSTMaker/COMMON/StMuPrimaryVertex.h"
11 #include "StEvent/StTriggerId.h"
13 #include "StSpinPool/StSpinDbMaker/StSpinDbMaker.h"
15 #include "StEEmcMixEvent.h"
29 #include "StEEmcPair.h"
30 #include "SpinHistos.h"
49 void Clear(Option_t *opts=
"");
52 void mixer(
const Char_t *name);
54 void points(
const Char_t *name);
56 void mudst(
const Char_t *name);
60 void spin(
const Char_t *name);
70 void filename(
const Char_t *fname){ mFilename=fname; }
95 enum SpinStates { kAny=0, kUpUp, kUpDn, kDnUp, kDnDn };
153 Int_t mTrigSimThreshold;
SpinHistos * mHistograms[100]
Spin-sorted pi0 histograms.
StSpinDbMaker * mSpinDb
pointer to the spin database
Bool_t twoBodyCut(StEEmcPair &p)
EEmc ADC –> energy maker.
void minbias(Int_t trig)
Sets the appropriate minbias trig id.
Bool_t accept(StMuDst *mu)
method to cut events
StRFEmcTrigMaker * mTrigSim
Trigger simulation for MC.
A maker for creating pi0 histograms.
void analysis(const Char_t *name)
specifies the name of the analysis maker
Int_t Init()
initializes the maker
Class for building points from smd clusters.
Int_t Make()
processes a single event
~StEEmcPi0Analysis()
destructor
Int_t InitRun(Int_t)
init run
EEmcGeomSimple * mEEgeom
EEMC tower geometry.
void mudst(const Char_t *name)
specifies the name of the mudst maker
void points(const Char_t *name)
specifies the name of the point maker
StEEmcPi0Analysis(const Char_t *name)
constructor
StEEmcPointMaker * mEEpoints
pointer to the point maker
StMuDstMaker * mMuDst
pointer to mudst
Int_t getSpinState(StMuDst *mu, Int_t &bxs)
method to retrieve 4bit spin state
void trigger(Int_t trig)
Add trigger ID to process.
TH1F * hEventCounter
histogram to keep track of where events get cut
ClassDef(StEEmcPi0Analysis, 1)
Makes class availabel to root.
void Clear(Option_t *opts="")
clears the maker
std::vector< Int_t > mTriggerList
TH1F * hPairCounter
histogram to keep track of where candidates get cut
void mixer(const Char_t *name)
StEEmcMixMaker * mEEmixer
Pointer to the pi0 mixer.
A class for mixing pi0 candidates.
void spin(const Char_t *name)
specifies the name of the spin db maker
StEEmcA2EMaker * mEEanalysis
pointer to analysis maker
A class to represent pairs of points.
Spin sorted pi0 histograms.