ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/src/DecayParticle.cc
Revision: 1.3
Committed: Tue Jul 29 12:29:47 2008 UTC (16 years, 9 months ago) by bendavid
Content type: text/plain
Branch: MAIN
CVS Tags: MITHEP_2_0_x
Changes since 1.2: +17 -1 lines
Log Message:
Revamped implementation of decay tree classes, started to remove use of Vertex and FitVertex to prepare for removal of these classes

File Contents

# User Rev Content
1 bendavid 1.3 // $Id: DecayParticle.cc,v 1.2 2008/07/03 08:22:18 loizides Exp $
2 loizides 1.1
3     #include "MitAna/DataTree/interface/DecayParticle.h"
4    
5     ClassImp(mithep::DecayParticle)
6 bendavid 1.3
7     using namespace mithep;
8    
9     //--------------------------------------------------------------------------------------------------
10     Double_t DecayParticle::PdgMass() const
11     {
12     // Get Mass from Pdg Lookup
13    
14     TParticlePDG* pdgEntry = ParticlePdgEntry();
15     if (pdgEntry)
16     return pdgEntry->Mass();
17     else {
18     return -99.0;
19     printf("Absolute Pdg Code %i not found in table, returning Mass=-99.0 GeV", fAbsPdgId);
20     }
21     }