/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Public Attributes
GenDecay::Histogram::DecayEnergy::ParentHist Class Reference

List of all members.

Public Member Functions

def __init__
def mkname

Public Attributes

 particle
 bin
 alg
 name
 Ealpha
 Ebeta
 Egamma
 Ecap
 Talpha
 Tbeta
 Tgamma
 Tecap
 nDecay
 nVertex

Detailed Description

Definition at line 105 of file Histogram.py.


Constructor & Destructor Documentation

def GenDecay::Histogram::DecayEnergy::ParentHist::__init__ (   self,
  particle,
  alg 
)

Definition at line 106 of file Histogram.py.

00107                                        :
00108             self.particle = particle
00109             self.bin=len(alg.parentHist)
00110             self.alg=alg
00111 
00112             self.name = pdgid2name(particle.pdg_id())
00113 
00114             #print 'DecayEnergy: %d: %s'%(particle.pdg_id(), self.name)
00115 
00116             # Energy spectra
00117             self.Ealpha = TH1F(self.mkname('Ealpha'),"Alpha kinetic energy (MeV) [%s]"%self.mkname('Ealpha'),2000,0,10)
00118             alg[self.mkname('Ealpha')] = self.Ealpha
00119             self.Ebeta = TH1F(self.mkname('Ebeta'),"Beta kinetic energy (MeV) [%s]"%self.mkname('Ebeta'),2000,0,10)
00120             alg[self.mkname('Ebeta')] = self.Ebeta
00121             self.Egamma = TH1F(self.mkname('Egamma'),"Gamma kinetic energy (MeV) [%s]"%self.mkname('Egamma'),2000,0,10)
00122             alg[self.mkname('Egamma')] = self.Egamma
00123             self.Ecap = TH1F(self.mkname('Ecap'),"Electron capture energy (MeV) [%s]"%self.mkname('Ecap'),2000,0,10)
00124             alg[self.mkname('Ecap')] = self.Ecap
00125 
00126             # Timing
00127             self.Talpha = TH1F(self.mkname('Talpha'),"Parent-Alpha time (ns) [%s]"%self.mkname('Talpha'),1000,0,1e9)
00128             alg[self.mkname('Talpha')] = self.Talpha
00129             self.Tbeta = TH1F(self.mkname('Tbeta'),"Parent-Beta time (ns) [%s]"%self.mkname('Tbeta'),1000,0,1e9)
00130             alg[self.mkname('Tbeta')] = self.Tbeta
00131             self.Tgamma = TH1F(self.mkname('Tgamma'),"Parent-Gamma time (ns) [%s]"%self.mkname('Tgamma'),1000,0,1e9)
00132             alg[self.mkname('Tgamma')] = self.Tgamma
00133             self.Tecap = TH1F(self.mkname('Tecap'),"Parent-EC time (ns) [%s]"%self.mkname('Tecap'),1000,0,1e9)
00134             alg[self.mkname('Tecap')] = self.Tecap
00135 
00136             self.nDecay = TH1F(self.mkname('nDecay'),"Number of decay particles [%s]"%self.mkname('nDecay'),10,0,10)
00137             alg[self.mkname('nDecay')] = self.nDecay
00138 
00139             self.nVertex = TH1F(self.mkname('nVertex'),"Number of vertices [%s]"%self.mkname('nVertex'),10,0,10)
00140             alg[self.mkname('nVertex')] = self.nVertex
00141 
00142             return


Member Function Documentation

def GenDecay::Histogram::DecayEnergy::ParentHist::mkname (   self,
  label 
)

Definition at line 143 of file Histogram.py.

00144                               :
00145             return self.name+'_'+label


Member Data Documentation

Definition at line 106 of file Histogram.py.

Definition at line 106 of file Histogram.py.

Definition at line 106 of file Histogram.py.

Definition at line 106 of file Histogram.py.

Definition at line 106 of file Histogram.py.

Definition at line 106 of file Histogram.py.

Definition at line 106 of file Histogram.py.

Definition at line 106 of file Histogram.py.

Definition at line 106 of file Histogram.py.

Definition at line 106 of file Histogram.py.

Definition at line 106 of file Histogram.py.

Definition at line 106 of file Histogram.py.

Definition at line 106 of file Histogram.py.

Definition at line 106 of file Histogram.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:21:06 for GenDecay by doxygen 1.7.4