ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/interface/PFMet.h
(Generate patch)

Comparing UserCode/MitAna/DataTree/interface/PFMet.h (file contents):
Revision 1.3 by bendavid, Wed Sep 9 03:38:26 2009 UTC vs.
Revision 1.4 by ksung, Mon Sep 12 13:46:13 2011 UTC

# Line 19 | Line 19 | namespace mithep
19    {
20      public:
21        PFMet() :
22 <        fNeutralEMFraction(0), fNeutralHadFraction(0), fChargedEMFraction(0),
22 >        fPFMetSig(0), fNeutralEMFraction(0), fNeutralHadFraction(0), fChargedEMFraction(0),
23          fChargedHadFraction(0), fMuonFraction(0) {}
24        PFMet(Double_t mex, Double_t mey) :
25          Met(mex,mey),
26 <        fNeutralEMFraction(0), fNeutralHadFraction(0), fChargedEMFraction(0),
26 >        fPFMetSig(0), fNeutralEMFraction(0), fNeutralHadFraction(0), fChargedEMFraction(0),
27          fChargedHadFraction(0), fMuonFraction(0) {}
28  
29        Double_t                     ChargedEMFraction()   const       { return fChargedEMFraction;  }
# Line 33 | Line 33 | namespace mithep
33        Double_t                     NeutralEMFraction()   const       { return fNeutralEMFraction;  }
34        Double_t                     NeutralHadFraction()  const       { return fNeutralHadFraction; }
35        EObjType                     ObjType()             const       { return kPFMet;              }
36 +      Double_t                     PFMetSig()            const       { return fPFMetSig;           }
37        void                         SetChargedEMFraction(Double_t x)  { fChargedEMFraction = x;     }
38        void                         SetChargedHadFraction(Double_t x) { fChargedHadFraction = x;    }
39        void                         SetMuonFraction(Double_t x)       { fMuonFraction = x;          }
40        void                         SetNeutralEMFraction(Double_t x)  { fNeutralEMFraction = x;     }
41        void                         SetNeutralHadFraction(Double_t x) { fNeutralHadFraction = x;    }
42 +      void                         SetPFMetSig(Double_t x)           { fPFMetSig = x;              }
43        
44      protected:
45 +      Double32_t                   fPFMetSig;            //[0,0,14]pf met significance
46        Double32_t                   fNeutralEMFraction;   //[0,0,14]neutral em fraction
47        Double32_t                   fNeutralHadFraction;  //[0,0,14]neutral had fraction
48        Double32_t                   fChargedEMFraction;   //[0,0,14]charged em fraction

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines