
Public Member Functions | |
| StEEmcIUPi0Analysis (const Char_t *name) | |
| constructor | |
| ~StEEmcIUPi0Analysis () | |
| destructor | |
| Int_t | Init () |
| initializes the maker | |
| Int_t | Make () |
| processes a single event | |
| Int_t | InitRun (Int_t) |
| init run | |
| Int_t | numbofcutCandidate () |
| void | Clear (Option_t *opts="") |
| clears the maker | |
| void | mixer (const Char_t *name) |
| void | points (const Char_t *name) |
| specifies the name of the point maker | |
| void | mudst (const Char_t *name) |
| specifies the name of the mudst maker | |
| void | analysis (const Char_t *name) |
| specifies the name of the analysis maker | |
| void | spin (const Char_t *name) |
| specifies the name of the spin db maker | |
| void | trigger (Int_t trig) |
| Add trigger ID to process. | |
| void | minbias (Int_t trig) |
| Sets the appropriate minbias trig id. | |
| SpinCutsIU * | cuts () |
| void | filename (const Char_t *fname) |
| void | triggerSim (const Char_t *name, Int_t t) |
Protected Types | |
| enum | SpinStates { kAny = 0, kUpUp, kUpDn, kDnUp, kDnDn } |
| enum | EventCutTypes { kEvent = 0, kMinBias, kTrig, kSoftTrig, kSoftTrig36, kVertex, kCandidate } |
| enum | PairCutTypes { kPair = 1, kTwoBody, kAdcTow, kEtTow, kKinematics } |
Protected Member Functions | |
| Bool_t | twoBodyCut (StEEmcIUPair &p) |
| Bool_t | accept (StMuDst *mu) |
| method to cut events | |
| Bool_t | accept (StEEmcIUPair pair, Bool_t fill=true) |
| Int_t | getSpinState (StMuDst *mu, Int_t &bxs) |
| method to retrieve 4bit spin state | |
| ClassDef (StEEmcIUPi0Analysis, 1) | |
| Makes class availabel to root. | |
Protected Attributes | |
| StEEmcIUMixMaker * | mEEmixer |
| Pointer to the pi0 mixer. | |
| StEEmcIUPointMaker * | mEEpoints |
| pointer to the point maker | |
| StMuDstMaker * | mMuDst |
| pointer to mudst | |
| StEEmcA2EMaker * | mEEanalysis |
| pointer to analysis maker | |
| StSpinDbMaker * | mSpinDb |
| pointer to the spin database | |
| std::vector< Int_t > | mTriggerList |
| Int_t | mMinBias |
| SpinIUHistos * | mHistograms [5] |
| Spin-sorted pi0 histograms. | |
| SpinIUHistos * | mBackgrounds [5] |
| SpinCutsIU * | mCuts |
| TH1F * | hFillPatternI |
| TH1F * | hSpin4 |
| TH1F * | hBx7 |
| TH1F * | hBx48 |
| TH2F * | hBx7diffBx48 |
| TH1F * | hBxStar |
| TH1F * | hBxStarPi0 |
| TH1F * | hPi0Mass |
| TH1F * | hPTvsPiNum |
| TH1F * | hMcEta |
| TH1F * | hMcPhi |
| TH1F * | hMcPt |
| TH2F * | hREtaPhi |
| TH1F * | hReconEta |
| TH1F * | hReconPhi |
| TH1F * | hEEmcEta |
| TH1F * | hResoEta |
| TH1F * | hResoPhi |
| TH1F * | hResoPt |
| TH2F * | hResoPtvsG |
| TH1F * | hMcEnergy |
| TH1F * | hResoEnergy |
| TH2F * | hResoEnergyvsG |
| TH1F * | hRecoEnergy |
| TH1F * | hZvert |
| TH2F * | hMassBx |
| TH2F * | hZvertBx |
| TH2F * | hZggBx |
| TH2F * | hEtaBx |
| TH1F * | hSpin4mb |
| TH1F * | hRealMcPD |
| TH1F * | hRealMcPR |
| TH2F * | McEvsMass |
| TH2F * | DEtaMass |
| TH2F * | DPhiMass |
| TH2D * | dUvsdV |
| TH2D * | dUvsdVGood |
| TH1F * | dUVzeroE |
| TH1F * | dUVzeroEta |
| TH2F * | dUvsRatio |
| TH2F * | dUvsRatioGood |
| TH2F * | dVvsRatio |
| TH2F * | dVvsRatioGood |
| TH2F * | GoodPiGeo |
| TH1F * | GoodPiPt |
| TH1F * | EventCounter |
| TH1F * | hPi0Counter |
| TH1F * | hEventCounter |
| histogram to keep track of where events get cut | |
| TH1F * | hPairCounter |
| histogram to keep track of where candidates get cut | |
| TString | mFilename |
| TFile * | mFile |
| StRFEmcTrigMaker * | mTrigSim |
| Trigger simulation for MC. | |
| Int_t | mTrigSimThreshold |
| Int_t | mRunNumber |
| Bool_t | mSpinSort |
| Int_t | numcutCan |
| Int_t | numoacceptedpair |
| EEmcGeomSimple * | mEEgeom |
| EEMC tower geometry. | |
| StEEmcIUMixEvent * | mRealEvent |
| StEEmcIUMixEvent * | mMixedEvent |
| TTree * | mRealTree |
| TTree * | mMixedTree |
Definition at line 35 of file StEEmcIUPi0Analysis.h.
| Bool_t StEEmcIUPi0Analysis::accept | ( | StEEmcIUPair | pair, | |
| Bool_t | fill = true | |||
| ) | [protected] |
Pair must be isolated, i.e. only two points sharing tower energy
One gamma must be associated with a tower above trigger threshold
Pair must be w/in eta range
Definition at line 618 of file StEEmcIUPi0Analysis.cxx.
References StEEmcElement::adc(), StEEmcElement::energy(), StEEmcIUPoint::energy(), StEEmcTower::etabin(), hPairCounter, mEEgeom, StEEmcIUPoint::position(), StEEmcTower::sector(), StEEmcTower::subsector(), and twoBodyCut().
| Int_t StEEmcIUPi0Analysis::getSpinState | ( | StMuDst * | mu, | |
| Int_t & | bxs | |||
| ) | [protected] |
method to retrieve 4bit spin state
HARDCODED KLUDGE
Definition at line 728 of file StEEmcIUPi0Analysis.cxx.
References StSpinDbMaker::BXyellowUsingBX48(), Clear(), hBx48, hBx7, hBx7diffBx48, hSpin4, hSpin4mb, mHistograms, mSpinDb, and StSpinDbMaker::spin4usingBX48().
Referenced by Make().
| Int_t StEEmcIUPi0Analysis::Make | ( | ) | [virtual] |
processes a single event
Determine spin state.
meh
Check trigger
map spin decimal bits to histograms
event energy sums
Loop over all candidate pairs
If spin sorting has been disabled
Repeat for backgrounds
Reimplemented from StMaker.
Definition at line 141 of file StEEmcIUPi0Analysis.cxx.
References accept(), StEEmcElement::adc(), StEEmcIUMixMaker::candidate(), StEEmcIUPoint::cluster(), StMuDst::event(), StEEmcElement::fail(), getSpinState(), hBxStar, hBxStarPi0, hEtaBx, hMassBx, hPairCounter, hZggBx, hZvertBx, kStOK, mEEanalysis, mEEmixer, mHistograms, StEEmcIUMixMaker::mixedCandidate(), mMuDst, mSpinDb, StMuDstMaker::muDst(), StEEmcIUMixMaker::numberOfCandidates(), StEEmcIUMixMaker::numberOfMixedCandidates(), StEEmcIUPoint::position(), StEEmcElement::stat(), and StEEmcA2EMaker::tower().
| void StEEmcIUPi0Analysis::mixer | ( | const Char_t * | name | ) |
specifies the name of the mixer and the mass range for gated histograms.
Definition at line 420 of file StEEmcIUPi0Analysis.cxx.
References mEEmixer.
| void StEEmcIUPi0Analysis::spin | ( | const Char_t * | name | ) |
specifies the name of the spin db maker
no assert, null pointer expected if running on MC
Definition at line 446 of file StEEmcIUPi0Analysis.cxx.
References mSpinDb.
| Bool_t StEEmcIUPi0Analysis::twoBodyCut | ( | StEEmcIUPair & | 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 as above
Definition at line 452 of file StEEmcIUPi0Analysis.cxx.
References StEEmcIUPoint::energy(), StEEmcElement::energy(), StEEmcTower::index(), mEEpoints, StEEmcTower::neighbor(), StEEmcTower::numberOfNeighbors(), StEEmcIUPointMaker::numberOfPoints(), StEEmcIUPointMaker::point(), and StEEmcIUPoint::tower().
Referenced by accept().
TH1F* StEEmcIUPi0Analysis::hBx48 [protected] |
-- 48-bit bunch crossing
Definition at line 108 of file StEEmcIUPi0Analysis.h.
Referenced by getSpinState(), and Init().
TH1F* StEEmcIUPi0Analysis::hBx7 [protected] |
-- 7-bit bunch crossing
Definition at line 107 of file StEEmcIUPi0Analysis.h.
Referenced by getSpinState(), and Init().
TH2F* StEEmcIUPi0Analysis::hBx7diffBx48 [protected] |
-- 7-bit bunch crossing - 48bit
Definition at line 109 of file StEEmcIUPi0Analysis.h.
Referenced by getSpinState(), and Init().
TH1F* StEEmcIUPi0Analysis::hBxStar [protected] |
-- star beam crossing
Definition at line 110 of file StEEmcIUPi0Analysis.h.
TH1F* StEEmcIUPi0Analysis::hBxStarPi0 [protected] |
-- gated on pi0
Definition at line 111 of file StEEmcIUPi0Analysis.h.
TH2F* StEEmcIUPi0Analysis::hEtaBx [protected] |
-- eta vs bunch crossing
Definition at line 134 of file StEEmcIUPi0Analysis.h.
TH1F* StEEmcIUPi0Analysis::hFillPatternI [protected] |
-- intended fill pattern
Definition at line 105 of file StEEmcIUPi0Analysis.h.
TH2F* StEEmcIUPi0Analysis::hMassBx [protected] |
-- mass vs bunch crossing
Definition at line 130 of file StEEmcIUPi0Analysis.h.
TH1F* StEEmcIUPi0Analysis::hSpin4 [protected] |
-- number of times code sees spin state
Definition at line 106 of file StEEmcIUPi0Analysis.h.
Referenced by getSpinState(), and Init().
TH1F* StEEmcIUPi0Analysis::hSpin4mb [protected] |
-- spin state w/ mb
Definition at line 136 of file StEEmcIUPi0Analysis.h.
Referenced by getSpinState(), and Init().
TH2F* StEEmcIUPi0Analysis::hZggBx [protected] |
-- zgg vs bunch crossing
Definition at line 133 of file StEEmcIUPi0Analysis.h.
TH2F* StEEmcIUPi0Analysis::hZvertBx [protected] |
-- z vertex (gated) vs bunch crossing
Definition at line 131 of file StEEmcIUPi0Analysis.h.
Int_t StEEmcIUPi0Analysis::mMinBias [protected] |
-- id of the min bias trigger
Definition at line 97 of file StEEmcIUPi0Analysis.h.
std::vector<Int_t> StEEmcIUPi0Analysis::mTriggerList [protected] |
-- list of triggers to process
Definition at line 96 of file StEEmcIUPi0Analysis.h.
1.5.9