StRoot
1
|
Public Member Functions | |
Float_t | expectation (const TVector3 &gamma) |
TCanvas * | draw (const TVector3 &gamma) |
Static Public Member Functions | |
static StGammaEEmcLeakage * | instance () |
Protected Member Functions | |
ClassDef (StGammaEEmcLeakage, 1) | |
Protected Attributes | |
TFile * | mFile |
Int_t | mNumberOfEtabins |
std::vector< TH2F * > | mEnergyFractions |
EEmcGeomSimple * | mEEmcGeom |
Static Protected Attributes | |
static StGammaEEmcLeakage * | sInstance = 0 |
Definition at line 14 of file StGammaEEmcLeakage.h.
TCanvas * StGammaEEmcLeakage::draw | ( | const TVector3 & | gamma | ) |
Function to draw the photon's location projected onto the plane where the energy leakage is evaluated. This memory leaks all over the place, so don't go crazy with this.
Definition at line 127 of file StGammaEEmcLeakage.cxx.
References EEmcGeomSimple::getTowerCenter().
Float_t StGammaEEmcLeakage::expectation | ( | const TVector3 & | gamma | ) |
Given a vector pointing to the gamma candidate's position on the calorimeter, returns the expected fraction of the photon's energy which will be contained in the tower whose center is at tower.
Definition at line 50 of file StGammaEEmcLeakage.cxx.
References EEmcGeomSimple::getTowerCenter().