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

Comparing UserCode/MitAna/DataTree/interface/DaughterData.h (file contents):
Revision 1.9 by paus, Wed Mar 28 12:15:34 2012 UTC vs.
Revision 1.10 by paus, Thu Mar 29 23:41:55 2012 UTC

# Line 29 | Line 29 | namespace mithep
29        const Particle      *Original()                     const { return fOriginal.Obj();         }
30  
31        // Some structural tools
32 <      void                 Mark()                         const;
32 >      void                 Mark(UInt_t i=1)               const;
33  
34      protected:
35        Ref<Particle>        fOriginal; //reference to original particle
# Line 39 | Line 39 | namespace mithep
39   }
40  
41   //--------------------------------------------------------------------------------------------------
42 < inline void mithep::DaughterData::Mark() const
42 > inline void mithep::DaughterData::Mark(UInt_t ib) const
43   {
44    // mark myself
45 <  mithep::DataObject::Mark();
45 >  mithep::DataObject::Mark(ib);
46    // mark my dependencies if they are there
47 <  Original()->Mark();
47 >  if (fOriginal.IsValid())
48 >    fOriginal.Obj()->Mark(ib);
49   }
50   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines