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