
Public Member Functions | |
| StEEmcMixQAMaker (const Char_t *name) | |
| constructor | |
| ~StEEmcMixQAMaker () | |
| destructor | |
| Int_t | Init () |
| initializes the maker | |
| Int_t | Make () |
| processes a single event | |
| void | Clear (Option_t *opts="") |
| clears the maker | |
| void | mixer (const Char_t *name, Float_t min=0., Float_t max=999.) |
| void | points (const Char_t *name) |
| specifies the name of the point maker | |
| void | background () |
| use combinatoric background points instead of real points | |
| void | addBin (Float_t b) |
| add a pT bin from the last boundary added to this value | |
| StEEmcMixQAMaker (const Char_t *name) | |
| Int_t | Init () |
| Int_t | Make () |
| void | Clear (Option_t *opts="") |
| User defined functions. | |
| void | mixer (const Char_t *name, Float_t min=0., Float_t max=999.) |
| void | points (const Char_t *name) |
| void | background () |
| use combinatoric background points | |
Public Attributes | |
| Int_t | maxPerSector |
| Int_t | maxPerEvent |
| Int_t | maxPerCluster |
| Float_t | minTowerFrac |
| Float_t | zVertexMin |
| Float_t | zVertexMax |
| Float_t | minZgg |
| Float_t | maxZgg |
Protected Member Functions | |
| Int_t | ptbin (StEEmcPair p) |
| returns the ptbin the pair is in | |
| Bool_t | twoBodyCut (StEEmcPair p) |
| ClassDef (StEEmcMixQAMaker, 1) | |
| Makes class availabel to root. | |
| Int_t | ptbin (StEEmcPair p) |
| Bool_t | twoBodyCut (StEEmcPair p) |
| ClassDef (StEEmcMixQAMaker, 1) | |
Protected Attributes | |
| Float_t | mMin |
| Float_t | mMax |
| Bool_t | mBackground |
| TH1F * | hNcandidates |
| TH1F * | hNcandidatesR |
| std::vector< TH2F * > | hYXpair |
| Y vs X of pi0 pairs. | |
| std::vector< TH2F * > | hYXhigh |
| Y vs X of higher energy gamma. | |
| std::vector< TH2F * > | hYXlow |
| Y vs X of lower energy gamma. | |
| std::vector< TH2F * > | hE1E2 |
| Energy of first gamma vs energy of second. | |
| std::vector< Float_t > | mBins |
| E1 vs E2. | |
| std::vector< std::vector< TH1F * > > | hMassR |
| Bin boundaries in pT. | |
| std::vector< std::vector< TH1F * > > | hZggR |
| Energy sharing [mMin,mMax]. | |
| std::vector< std::vector< TH1F * > > | hPhiggR |
| Opening angle [mMin,mMax]. | |
| std::vector< std::vector< TH1F * > > | hEnergyR |
| Pair energy [mMin,mMax]. | |
| std::vector< std::vector< TH1F * > > | hZvertexR |
| Event vertex [mMin,mMax]. | |
| TH1F * | hMassRall |
| Mass spectrum for all events. | |
| TH1F * | hZvertexRall |
| vertex for all events | |
| StEEmcMixMaker * | mEEmixer |
| Pointer to the pi0 mixer. | |
| StEEmcPointMaker * | mEEpoints |
| pointer to the point maker | |
The StEEmcMixQAMaker takes as input the list of pi0 candiates provided by StEEmcMixMaker, filters out pairs depending on user-specified cuts, then fills a number of histograms with kinematic quantities of the pairs.
The user may specify any number of pT bins by calling addBin(). A standard set of histograms will be created for each pT bin in each sector. In addition, histograms integrated over all sectors will be created and filled (tagged with "sec13"), as will histograms integrated over all pT ("unbinned").
The output of this maker is a list of histograms, available through a call to StMaker::GetHistList(). See the example macro for details on writing the output to disk.
Cuts
Definition at line 14 of file StEEmcMixQAMaker.h.
| StEEmcMixQAMaker::StEEmcMixQAMaker | ( | const Char_t * | name | ) |
constructor
Default cuts
pT binning for mass spectra
Definition at line 49 of file StEEmcMixQAMaker.cxx.
References maxPerCluster, maxPerEvent, maxPerSector, maxZgg, mBackground, mBins, minTowerFrac, minZgg, zVertexMax, and zVertexMin.
| Int_t StEEmcMixQAMaker::Init | ( | ) | [virtual] |
initializes the maker
Book histograms for Y vs X of pi0, gammas and E1 vs E2
Book histograms for pi0 kinematics binned in pT for each sector
init our dynamic array of histograms
one bin integrated over full pt range
Reimplemented from StMaker.
Definition at line 72 of file StEEmcMixQAMaker.cxx.
References hE1E2, hEnergyR, hMassR, hMassRall, hNcandidates, hNcandidatesR, hPhiggR, hYXhigh, hYXlow, hYXpair, hZggR, hZvertexR, hZvertexRall, mBins, and ptbin().
| Int_t StEEmcMixQAMaker::Make | ( | ) | [virtual] |
The Make() method is the one responsible for calling the maker's InitRun(). Note that that InitRun() is called for real data and if both of the following are true
This is the ONLY place calling the InitRun() routine.
check privilege to skip event
Reimplemented from StMaker.
| Int_t StEEmcMixQAMaker::Make | ( | ) | [virtual] |
processes a single event
Sort pairs by sector
Use standard list of real points
Maximum pairs per event
Use mixed combinatoric points
Maximum pairs per event
Loop over all sectors and fill QA histograms
Maximum pairs per sector
Maximum points per cluster
Find pt bin
Kinematics cuts
zgg cuts
verify vertex cut
Fill mass
Gated quantities
pt binned
pt integrated
Reimplemented from StMaker.
Definition at line 172 of file StEEmcMixQAMaker.cxx.
References StEEmcPoint::energy(), StEEmcPair::energy(), hE1E2, hEnergyR, hMassR, hMassRall, hNcandidates, hNcandidatesR, hPhiggR, hYXhigh, hYXlow, hYXpair, hZggR, hZvertexR, hZvertexRall, kStOK, StEEmcPair::mass(), maxPerEvent, maxPerSector, maxZgg, mBackground, mBins, mEEmixer, minZgg, mMax, mMin, StEEmcMixMaker::numberOfCandidates(), StEEmcMixMaker::numberOfMixedCandidates(), StEEmcPair::phigg(), StEEmcPair::point(), StEEmcPoint::position(), ptbin(), StEEmcPoint::sector(), twoBodyCut(), StEEmcPair::vertex(), StEEmcPair::zgg(), zVertexMax, and zVertexMin.
| void StEEmcMixQAMaker::mixer | ( | const Char_t * | name, | |
| Float_t | min = 0., |
|||
| Float_t | max = 999. | |||
| ) |
specifies the name of the mixer and the mass range for gated histograms.
| name,: | the name of the StEEmcMixMaker (or derivative class) | |
| min,: | minimum mass cut applied to all histograms save for the mass spectrum | |
| max,: | maximum mass cut ... |
Definition at line 344 of file StEEmcMixQAMaker.cxx.
| Bool_t StEEmcMixQAMaker::twoBodyCut | ( | StEEmcPair | p | ) | [protected] |
Verify that the pi0 candidate is the only pair of reconstructed points matching the contiguous group of towers.
| Bool_t StEEmcMixQAMaker::twoBodyCut | ( | StEEmcPair | p | ) | [protected] |
Verify that the pi0 candidate is the only pair of reconstructed points matching the contiguous group of towers.
Obtain the 6-18 towers which contribute energy to this pair
NOTE: we could consider adding the next-nearest neighbors as well
Loop over all points in the endcap and count the number which match one of the specified towers
Definition at line 361 of file StEEmcMixQAMaker.cxx.
References StEEmcPair::energy(), StEEmcElement::energy(), StEEmcTower::index(), mEEpoints, minTowerFrac, StEEmcTower::neighbor(), StEEmcTower::numberOfNeighbors(), StEEmcPointMaker::numberOfPoints(), StEEmcPointMaker::point(), StEEmcPair::point(), and StEEmcPoint::tower().
Referenced by Make().
std::vector< TH2F * > StEEmcMixQAMaker::hE1E2 [protected] |
Energy of first gamma vs energy of second.
Y vs X of lower E gamma.
Y vs X of lower E gamma
Definition at line 75 of file StEEmcMixQAMaker.h.
std::vector< std::vector< TH1F * > > StEEmcMixQAMaker::hMassR [protected] |
TH1F * StEEmcMixQAMaker::hMassRall [protected] |
TH1F * StEEmcMixQAMaker::hNcandidates [protected] |
-- number of reconstructed pi0 candidates per event
Definition at line 65 of file StEEmcMixQAMaker.h.
TH1F* StEEmcMixQAMaker::hNcandidatesR [protected] |
-- number of reconstructed pi0 candidtaes per sector [0.1,0.18]
Definition at line 66 of file StEEmcMixQAMaker.h.
std::vector< TH2F * > StEEmcMixQAMaker::hYXhigh [protected] |
Y vs X of higher energy gamma.
Y vs X of pi0 pair.
Y vs X of pi0 pair
Definition at line 71 of file StEEmcMixQAMaker.h.
std::vector< TH2F * > StEEmcMixQAMaker::hYXlow [protected] |
Y vs X of lower energy gamma.
Y vs X of higher E gamma.
Y vs X of higher E gamma
Definition at line 73 of file StEEmcMixQAMaker.h.
std::vector< TH2F * > StEEmcMixQAMaker::hYXpair [protected] |
std::vector< std::vector< TH1F * > > StEEmcMixQAMaker::hZggR [protected] |
Energy sharing [mMin,mMax].
Inv mass of real pairs.
Inv mass of real pairs
Definition at line 89 of file StEEmcMixQAMaker.h.
-- maximum number of points matched to the 6-18 tower cluster (default 2)
Definition at line 44 of file StEEmcMixQAMaker.h.
Referenced by StEEmcMixQAMaker().
-- maximum number of pairs per event (default 200)
Definition at line 43 of file StEEmcMixQAMaker.h.
Referenced by Make(), and StEEmcMixQAMaker().
-- maximum number of pairs matched to sector (default 200)
Definition at line 42 of file StEEmcMixQAMaker.h.
Referenced by Make(), and StEEmcMixQAMaker().
| Float_t StEEmcMixQAMaker::maxZgg |
-- maximum zgg
Definition at line 52 of file StEEmcMixQAMaker.h.
Referenced by Make(), and StEEmcMixQAMaker().
Bool_t StEEmcMixQAMaker::mBackground [protected] |
-- specifies whether or not we are histograming a mixed event background
Definition at line 63 of file StEEmcMixQAMaker.h.
Referenced by background(), Make(), and StEEmcMixQAMaker().
std::vector< Float_t > StEEmcMixQAMaker::mBins [protected] |
E1 vs E2.
PT bin boundaries
Mass spectra as a function of sector and pT
Definition at line 78 of file StEEmcMixQAMaker.h.
Referenced by addBin(), Init(), Make(), ptbin(), and StEEmcMixQAMaker().
| Float_t StEEmcMixQAMaker::minTowerFrac |
-- minimum energy fraction (E1 + E2)/Etowers (default 0.0)
Definition at line 46 of file StEEmcMixQAMaker.h.
Referenced by StEEmcMixQAMaker(), and twoBodyCut().
| Float_t StEEmcMixQAMaker::minZgg |
-- minimum zgg
Definition at line 51 of file StEEmcMixQAMaker.h.
Referenced by Make(), and StEEmcMixQAMaker().
Float_t StEEmcMixQAMaker::mMax [protected] |
-- max mass for gated quantities
Definition at line 61 of file StEEmcMixQAMaker.h.
Float_t StEEmcMixQAMaker::mMin [protected] |
-- min mass for gated quantities
Definition at line 60 of file StEEmcMixQAMaker.h.
| Float_t StEEmcMixQAMaker::zVertexMax |
-- maximum z vertex
Definition at line 49 of file StEEmcMixQAMaker.h.
Referenced by Make(), and StEEmcMixQAMaker().
| Float_t StEEmcMixQAMaker::zVertexMin |
-- minimum z vertex
Definition at line 48 of file StEEmcMixQAMaker.h.
Referenced by Make(), and StEEmcMixQAMaker().
1.5.9