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

Comparing UserCode/MitAna/DataTree/interface/CompositeParticle.h (file contents):
Revision 1.23 by paus, Wed Mar 28 12:15:34 2012 UTC vs.
Revision 1.24 by paus, Thu Mar 29 23:41:54 2012 UTC

# Line 34 | Line 34 | namespace mithep
34                                    { return kCompositeParticle;   }
35  
36        // Some structural tools
37 <      void                      Mark()                const;
37 >      void                      Mark(UInt_t i=1)      const;
38  
39      protected:
40        Double_t                  GetCharge()           const;
# Line 47 | Line 47 | namespace mithep
47   }
48  
49   //--------------------------------------------------------------------------------------------------
50 < inline void mithep::CompositeParticle::Mark() const
50 > inline void mithep::CompositeParticle::Mark(UInt_t i) const
51   {
52    // mark myself
53 <  mithep::DataObject::Mark();
53 >  mithep::DataObject::Mark(i);
54    // mark my dependencies if they are there
55 <  for (UInt_t i=0; i<NDaughters(); i++)
56 <    fDaughters.At(i)->Mark();
55 >  fDaughters.Mark(i);
56   }
57  
58   //--------------------------------------------------------------------------------------------------

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines