ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HbbAnalysis/interface/Electron.hh
(Generate patch)

Comparing UserCode/HbbAnalysis/interface/Electron.hh (file contents):
Revision 1.4 by amagnan, Mon May 10 18:45:09 2010 UTC vs.
Revision 1.7 by amagnan, Mon Sep 5 17:15:15 2011 UTC

# Line 56 | Line 56 | namespace HbbAnalysis {
56        return id_;
57      };
58  
59 +    inline const bool WPc60() {
60 +      return (id_.idAndIso & 0x1);
61 +    };
62 +    inline const bool WPc70() {
63 +      return (id_.idAndIso & 0x2) >> 1;
64 +    };
65 +    inline const bool WPc80() {
66 +      return (id_.idAndIso & 0x4) >> 2;
67 +    };
68 +    inline const bool WPc85() {
69 +      return (id_.idAndIso & 0x8) >> 3;
70 +    };
71 +    inline const bool WPc90() {
72 +      return (id_.idAndIso & 0x10) >> 4;
73 +    };
74 +    inline const bool WPc95() {
75 +      return (id_.idAndIso & 0x20) >> 5;
76 +    };
77 +    inline const bool WPrel60() {
78 +      return (id_.idAndIso & 0x40) >> 6;
79 +    };
80 +    inline const bool WPrel70() {
81 +      return (id_.idAndIso & 0x80) >> 7;
82 +    };
83 +    inline const bool WPrel80() {
84 +      return (id_.idAndIso & 0x100) >> 8;
85 +    };
86 +    inline const bool WPrel85() {
87 +      return (id_.idAndIso & 0x200) >> 9;
88 +    };
89 +    inline const bool WPrel90() {
90 +      return (id_.idAndIso & 0x400) >> 10;
91 +    };
92 +    inline const bool WPrel95() {
93 +      return (id_.idAndIso & 0x800) >> 11;
94 +    };
95 +
96 +
97      inline void genVars(const HbbAnalysis::GenVars & aGen) {
98        gen_ = aGen;
99      };
# Line 101 | Line 139 | namespace HbbAnalysis {
139        reco_.vy = 0;
140        reco_.vz = 0;
141  
142 +      sc_.eta = 0;
143        sc_.sigmaEtaEta = 0;
144        sc_.sigmaIEtaIEta = 0;
145        sc_.e1x5 = 0;
# Line 113 | Line 152 | namespace HbbAnalysis {
152        iso_.ecal = 0;
153        iso_.hcal = 0;
154  
155 +      id_.idAndIso = 0;
156        id_.electronIDs.clear();
157        id_.hOverE = 0;
158        id_.deltaPhiIn = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines