ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MPIAnalyzer/src/TCJet.cc
(Generate patch)

Comparing UserCode/MPIAnalyzer/src/TCJet.cc (file contents):
Revision 1.4 by naodell, Mon Feb 14 11:38:47 2011 UTC vs.
Revision 1.6 by naodell, Mon May 2 14:47:05 2011 UTC

# Line 22 | Line 22 | TCJet::TCJet(const TCJet& orig) {
22   TCJet::~TCJet() {
23   }
24  
25
26
27
25   // "get" methods -------------------------------------
26  
27   TLorentzVector TCJet::P4() const {
# Line 157 | Line 154 | float TCJet::TotalJetCorr(unsigned int l
154     return corr;
155   }
156  
157 + float TCJet::UncertaintyJES() const {
158 +        return _jesUncertainty;
159 + }
160 +
161   // b tagging discriminators
162   //Track counting tag with N = 3: trackCountingHighPurBJetTags
163  
# Line 255 | Line 256 | void TCJet::SetNumChPart(unsigned int n)
256  
257   void TCJet::SetJetCorr(unsigned int lvl, float corr) {
258  
259 <   if (lvl >= 0 && lvl <= 7) {
259 >   if (lvl <= 7) {
260        _jetCorr[lvl] = corr;
261        _jetCorrIsSet[lvl] = true;
262  
# Line 263 | Line 264 | void TCJet::SetJetCorr(unsigned int lvl,
264        std::cout << "\nJet correction lvl = " << lvl << " is not valid!\n";
265        std::cout << "No correction will be applied!\n\n";
266     }
267 + }
268  
269 + void TCJet::SetUncertaintyJES(float u) {
270 +        _jesUncertainty = u;
271   }
272   // b tagging discriminators
273  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines