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.1 by bendavid, Thu Mar 12 15:56:50 2009 UTC vs.
Revision 1.3 by bendavid, Wed Sep 9 03:38:26 2009 UTC

# Line 3 | Line 3
3   //
4   // PFMet
5   //
6 < // Class to hold PFMet specific information
6 > // Class to hold PFMet specific information.
7   //
8   // Authors: J.Bendavid
9   //--------------------------------------------------------------------------------------------------
# Line 26 | Line 26 | namespace mithep
26          fNeutralEMFraction(0), fNeutralHadFraction(0), fChargedEMFraction(0),
27          fChargedHadFraction(0), fMuonFraction(0) {}
28  
29      EObjType                     ObjType()             const       { return kPFMet;              }      
30      Double_t                     NeutralEMFraction()   const       { return fNeutralEMFraction;  }
31      Double_t                     NeutralHadFraction()  const       { return fNeutralHadFraction; }
29        Double_t                     ChargedEMFraction()   const       { return fChargedEMFraction;  }
30        Double_t                     ChargedHadFraction()  const       { return fChargedHadFraction; }
31 +      Met                         *MakeCopy()            const       { return new PFMet(*this);    }
32        Double_t                     MuonFraction()        const       { return fMuonFraction;       }
33 <      
34 <      void                         SetNeutralEMFraction(Double_t x)  { fNeutralEMFraction = x;     }
35 <      void                         SetNeutralHadFraction(Double_t x) { fNeutralHadFraction = x;    }
33 >      Double_t                     NeutralEMFraction()   const       { return fNeutralEMFraction;  }
34 >      Double_t                     NeutralHadFraction()  const       { return fNeutralHadFraction; }
35 >      EObjType                     ObjType()             const       { return kPFMet;              }
36        void                         SetChargedEMFraction(Double_t x)  { fChargedEMFraction = x;     }
37        void                         SetChargedHadFraction(Double_t x) { fChargedHadFraction = x;    }
38        void                         SetMuonFraction(Double_t x)       { fMuonFraction = x;          }
39 <      
39 >      void                         SetNeutralEMFraction(Double_t x)  { fNeutralEMFraction = x;     }
40 >      void                         SetNeutralHadFraction(Double_t x) { fNeutralHadFraction = x;    }
41        
42      protected:
43 <
44 <      Double32_t                   fNeutralEMFraction;
45 <      Double32_t                   fNeutralHadFraction;
46 <      Double32_t                   fChargedEMFraction;
47 <      Double32_t                   fChargedHadFraction;
49 <      Double32_t                   fMuonFraction;
43 >      Double32_t                   fNeutralEMFraction;   //[0,0,14]neutral em fraction
44 >      Double32_t                   fNeutralHadFraction;  //[0,0,14]neutral had fraction
45 >      Double32_t                   fChargedEMFraction;   //[0,0,14]charged em fraction
46 >      Double32_t                   fChargedHadFraction;  //[0,0,14]charged had fraction
47 >      Double32_t                   fMuonFraction;        //[0,0,14]muon fraction
48      
49      ClassDef(PFMet, 1) // Missing transverse energy class
50    };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines