ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/kiesel/TreeWriter/TreeObjects.h
Revision: 1.10
Committed: Mon May 6 13:12:11 2013 UTC (12 years ago) by kiesel
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
Log Message:
geninfo from int to short

File Contents

# User Rev Content
1 kiesel 1.1 #ifndef TreeObjects_h
2     #define TreeObjects_h
3    
4     namespace tree {
5     // In this namespace classes for the trees are defined.
6    
7     class Particle {
8     public:
9     float pt, eta, phi;
10     };
11    
12     class Photon : public Particle {
13     public:
14 kiesel 1.7 float ptJet;
15 kiesel 1.6 float r9, sigmaIetaIeta, hadTowOverEm;
16 kiesel 1.1 float chargedIso, neutralIso, photonIso;
17 kiesel 1.4 bool conversionSafeVeto;
18 kiesel 1.6 int pixelseed;
19 kiesel 1.10 short genInformation;
20 kiesel 1.1 };
21    
22     class Jet : public Particle{
23     public:
24 kiesel 1.3 float bCSV;
25 kiesel 1.5 float chargedHadronEnergy,neutralHadronEnergy,photonEnergy,electronEnergy,muonEnergy,HFHadronEnergy,HFEMEnergy,chargedEmEnergy,chargedMuEnergy,neutralEmEnergy;
26 kiesel 1.1 };
27    
28     bool EtGreater(const tree::Particle, const tree::Particle);
29    
30     } // end namespace definition
31    
32     #endif
33 kiesel 1.2
34    
35