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 |
|