ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/kiesel/TreeWriter/TreeObjects.h
(Generate patch)

Comparing UserCode/kiesel/TreeWriter/TreeObjects.h (file contents):
Revision 1.8 by kiesel, Thu May 2 08:33:04 2013 UTC vs.
Revision 1.9 by kiesel, Mon May 6 13:08:50 2013 UTC

# Line 11 | Line 11 | class Particle {
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
14                  float ptJet;
15                  float r9, sigmaIetaIeta, hadTowOverEm;
16                  float chargedIso, neutralIso, photonIso;
17                  bool conversionSafeVeto;
18                  int pixelseed;
19 <        private:
28 <                int genInformationBit;
19 >                int genInformation;
20   };
21  
22   class Jet : public Particle{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines