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.8 by loizides, Mon Jul 13 11:00:25 2009 UTC vs.
Revision 1.9 by paus, Wed Mar 28 12:15:34 2012 UTC

# Line 28 | Line 28 | namespace mithep
28        EObjType             ObjType()                      const { return kDaughterData;           }
29        const Particle      *Original()                     const { return fOriginal.Obj();         }
30  
31 +      // Some structural tools
32 +      void                 Mark()                         const;
33 +
34      protected:
35        Ref<Particle>        fOriginal; //reference to original particle
36  
37      ClassDef(DaughterData, 1) // Daughter data class
38    };
39   }
40 +
41 + //--------------------------------------------------------------------------------------------------
42 + inline void mithep::DaughterData::Mark() const
43 + {
44 +  // mark myself
45 +  mithep::DataObject::Mark();
46 +  // mark my dependencies if they are there
47 +  Original()->Mark();
48 + }
49   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines