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