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 (11 years, 11 months 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

# Content
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 float ptJet;
15 float r9, sigmaIetaIeta, hadTowOverEm;
16 float chargedIso, neutralIso, photonIso;
17 bool conversionSafeVeto;
18 int pixelseed;
19 short genInformation;
20 };
21
22 class Jet : public Particle{
23 public:
24 float bCSV;
25 float chargedHadronEnergy,neutralHadronEnergy,photonEnergy,electronEnergy,muonEnergy,HFHadronEnergy,HFEMEnergy,chargedEmEnergy,chargedMuEnergy,neutralEmEnergy;
26 };
27
28 bool EtGreater(const tree::Particle, const tree::Particle);
29
30 } // end namespace definition
31
32 #endif
33
34
35