StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
StGammaEEmcLeakage Class Reference
Inheritance diagram for StGammaEEmcLeakage:

Public Member Functions

Float_t expectation (const TVector3 &gamma)
 
TCanvas * draw (const TVector3 &gamma)
 

Static Public Member Functions

static StGammaEEmcLeakageinstance ()
 

Protected Member Functions

 ClassDef (StGammaEEmcLeakage, 1)
 

Protected Attributes

TFile * mFile
 
Int_t mNumberOfEtabins
 
std::vector< TH2F * > mEnergyFractions
 
EEmcGeomSimplemEEmcGeom
 

Static Protected Attributes

static StGammaEEmcLeakagesInstance = 0
 

Detailed Description

Definition at line 14 of file StGammaEEmcLeakage.h.

Member Function Documentation

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().


The documentation for this class was generated from the following files: