1 #ifndef __StEEmcIUMixMaker_h__
2 #define __StEEmcIUMixMaker_h__
12 #include "StEEmcIUPoint.h"
13 #include "StEEmcIUPair.h"
33 void mudst(
const Char_t *name );
35 void points(
const Char_t *name );
43 Int_t numberofFpoint();
54 void Clear( Option_t *opts=
"" );
64 void minET( Float_t et );
66 void maxZ( Float_t z );
92 void range( Float_t min, Float_t max );
121 std::vector<Int_t> numberofFailpoint;
124 std::vector<TH2F*>
mH2;
130 std::vector<TH1F*>
mH1mix;
132 std::vector<TH2F*>
mH2mix;
161 std::vector< StEEmcIUPointVec_t >
mPool;
208 inline Int_t StEEmcIUMixMaker::numberofFpoint(){
return (Int_t) numberofFailpoint.size();}
StEEmcIUPair candidate(Int_t c)
Return a specified candidate pair.
EEmc ADC –> energy maker.
A class for mixing pi0 candidates.
TString mPointMakerName
Point maker name.
TRandom * mRandom
Random number generator for event mixing.
Int_t numberOfMixedCandidates()
returns the number of mixed-background candidates
void fixedVertex(Float_t x, Float_t y, Float_t z)
Fix vertex for simple MC.
std::vector< TH2F * > mH2mix
2D mixed histos
void fillQA(std::vector< TH2F * > &h, StEEmcIUPair pair)
Fill qa distributions.
TString mMuDstMakerName
MuDst name.
void minET(Float_t et)
set minimum ET for pair of points
void setTrigMode(Int_t m)
StEEmcA2EMaker * mEEanalysis
Pointer to ADC 2 energy.
Int_t mPoolSize
Size of mixed event pool.
void fill()
fill 1d and 2d histograms
Class for building points from smd clusters.
Int_t numberOfCandidates()
returns the number of candidates
void range(Float_t min, Float_t max)
Mass range for qa histograms.
void mixBackground()
Mix combinatoric pairs.
std::vector< TH2F * > mH2real
2D real histos
StEEmcIUPairVec_t mBackground
Background pairs mixed on each event.
StEEmcIUPairVec_t mCandidates
Point pairs mixed on each event.
StEEmcIUMixMaker(const Char_t *name, Int_t size=20)
std::vector< TH1F * > mH1mix
1D mixed histos
void floatVertex(Float_t x, Float_t y, Float_t z, Float_t s)
Smear vertex.
std::vector< TH2F * > mH2
2D histos
StMuDstMaker * mMuDstMaker
Pointer to MuDst.
void book()
create 1d and 2d histograms
void trigger(Int_t trigger)
void mudst(const Char_t *name)
sets the name of the muDst maker
std::vector< StEEmcIUPointVec_t > mPool
void maxZ(Float_t z)
set maximum Zgg for pair of points
void analysis(const Char_t *name)
sets the name of the adc–>energy maker
std::vector< TH1F * > mH1
1D histos
Float_t mMinMass
Min and max mass for gated quantities.
void points(const Char_t *name)
sets the name of the point maker
Base class for representing EEMC points.
void minEpoint(Float_t m)
minimum energy for a given point
void mixReal()
Mix real pairs.
void sector(Int_t sector)
std::vector< TH1F * > mH1real
1D real histos
Bool_t accept(StMuEvent *)
Accept or reject this event (trigger, qa, etc...)
TString mAnalysisName
Analaysis name.
StEEmcIUPair mixedCandidate(Int_t m)
Returns the specified mixed candidate pair.
void Clear(Option_t *opts="")
Clear.
ClassDef(StEEmcIUMixMaker, 1)
Makes class visible to root.
StEEmcIUPointVec_t mPoints
Vector of points to mix into X–>gamma gamma.
EEmcGeomSimple * mEEmcTow
Pointer to tower geom.
std::vector< Int_t > mSectorList
StEEmcIUPointMaker * mEEpoints
Pointer to points.
std::vector< Int_t > mTriggerList