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

Comparing UserCode/MitAna/DataTree/interface/PFJet.h (file contents):
Revision 1.6 by bendavid, Sun Feb 21 23:42:00 2010 UTC vs.
Revision 1.7 by paus, Wed Mar 28 12:15:34 2012 UTC

# Line 53 | Line 53 | namespace mithep
53        void                  SetNeutralHadronEnergy(Double_t e)    { fNeutralHadronEnergy = e;      }
54        void                  SetNeutralMultiplicity(UInt_t n)      { fNeutralMultiplicity = n;      }
55  
56 +      // Some structural tools
57 +      void                  Mark()                          const;
58 +
59      protected:
60        Double_t              GetCharge()                     const;
61  
# Line 71 | Line 74 | namespace mithep
74   }
75  
76   //--------------------------------------------------------------------------------------------------
77 + inline void mithep::PFJet::Mark() const
78 + {
79 +  // mark myself
80 +  mithep::DataObject::Mark();
81 +  // mark my dependencies if they are there
82 +  for (UInt_t i=0; i<fPFCands.Entries(); i++)
83 +    fPFCands.At(i)->Mark();
84 + }
85 +
86 + //--------------------------------------------------------------------------------------------------
87   inline Double_t mithep::PFJet::GetCharge() const
88   {
89    // Return sum of charge of constituent PFCandidates.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines