1 #ifndef __StEEmcIUPi0Analysis_h__
2 #define __StEEmcIUPi0Analysis_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 "StEEmcIUMixEvent.h"
31 #include "StEEmcIUPair.h"
32 #include "SpinIUHistos.h"
51 Int_t numbofcutCandidate();
53 void Clear(Option_t *opts=
"");
56 void mixer(
const Char_t *name);
58 void points(
const Char_t *name);
60 void mudst(
const Char_t *name);
64 void spin(
const Char_t *name);
74 void filename(
const Char_t *fname){ mFilename=fname; }
99 enum SpinStates { kAny=0, kUpUp, kUpDn, kDnUp, kDnDn };
127 TH2F *hResoEnergyvsG;
192 Int_t mTrigSimThreshold;
197 Int_t numoacceptedpair;
212 inline Int_t StEEmcIUPi0Analysis::numbofcutCandidate(){
return (Int_t) numcutCan;}
void spin(const Char_t *name)
specifies the name of the spin db maker
StEEmcIUPointMaker * mEEpoints
pointer to the point maker
void points(const Char_t *name)
specifies the name of the point maker
~StEEmcIUPi0Analysis()
destructor
EEmc ADC –> energy maker.
StEEmcA2EMaker * mEEanalysis
pointer to analysis maker
A class for mixing pi0 candidates.
StSpinDbMaker * mSpinDb
pointer to the spin database
void trigger(Int_t trig)
Add trigger ID to process.
void minbias(Int_t trig)
Sets the appropriate minbias trig id.
SpinIUHistos * mHistograms[5]
Spin-sorted pi0 histograms.
void analysis(const Char_t *name)
specifies the name of the analysis maker
Bool_t accept(StMuDst *mu)
method to cut events
A maker for creating pi0 histograms \Weihong He The StEEmcIUPi0Analysis takes as input the list of pi...
void mudst(const Char_t *name)
specifies the name of the mudst maker
Class for building points from smd clusters.
TH1F * hPairCounter
histogram to keep track of where candidates get cut
Int_t Make()
processes a single event
Int_t InitRun(Int_t)
init run
void Clear(Option_t *opts="")
clears the maker
Int_t getSpinState(StMuDst *mu, Int_t &bxs)
method to retrieve 4bit spin state
TH1F * hEventCounter
histogram to keep track of where events get cut
StRFEmcTrigMaker * mTrigSim
Trigger simulation for MC.
void mixer(const Char_t *name)
StMuDstMaker * mMuDst
pointer to mudst
ClassDef(StEEmcIUPi0Analysis, 1)
Makes class availabel to root.
StEEmcIUPi0Analysis(const Char_t *name)
constructor
StEEmcIUMixMaker * mEEmixer
Pointer to the pi0 mixer.
EEmcGeomSimple * mEEgeom
EEMC tower geometry.
Spin sorted pi0 histograms.
Bool_t twoBodyCut(StEEmcIUPair &p)
Int_t Init()
initializes the maker
std::vector< Int_t > mTriggerList