11 |
|
|
12 |
|
class Photon : public Particle { |
13 |
|
public: |
14 |
+ |
bool isGenPhoton() { return genInformationBit == 1; } |
15 |
+ |
bool isGenElectron() { return genInformationBit == 2; } |
16 |
+ |
bool isGenJet() { return genInformationBit == 3; } |
17 |
+ |
|
18 |
+ |
void matchGenPhoton() { genInformationBit = 1; } |
19 |
+ |
void matchGenElectron() { genInformationBit = 2; } |
20 |
+ |
void matchGenJet() { genInformationBit = 3; } |
21 |
+ |
|
22 |
|
float ptJet; |
23 |
|
float r9, sigmaIetaIeta, hadTowOverEm; |
24 |
|
float chargedIso, neutralIso, photonIso; |
25 |
|
bool conversionSafeVeto; |
26 |
|
int pixelseed; |
27 |
+ |
private: |
28 |
+ |
int genInformationBit; |
29 |
|
}; |
30 |
|
|
31 |
|
class Jet : public Particle{ |