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

Comparing UserCode/MitAna/DataTree/interface/Track.h (file contents):
Revision 1.53 by bendavid, Thu Jul 1 15:05:15 2010 UTC vs.
Revision 1.54 by paus, Wed Mar 28 12:15:34 2012 UTC

# Line 269 | Line 269 | namespace mithep
269        static const BitMask48      StereoLayers();
270        static const BitMask48      PixelLayers();
271  
272 +      // Some structural tools
273 +      void                 Mark()        const;
274 +
275      protected:
276        void                 ClearMom()    const { fCacheMomFlag.ClearCache(); }
277        void                 GetMom()      const;
# Line 310 | Line 313 | namespace mithep
313   }
314  
315   //--------------------------------------------------------------------------------------------------
316 + inline void mithep::Track::Mark() const
317 + {
318 +  // mark myself
319 +  mithep::DataObject::Mark();
320 +  // mark my dependencies if they are there
321 +  if (fSuperClusterRef.IsValid())
322 +    fSuperClusterRef.Obj()->Mark();
323 +  if (fMCParticleRef.IsValid())
324 +    fMCParticleRef.Obj()->Mark();
325 + }
326 +
327 + //--------------------------------------------------------------------------------------------------
328   inline void mithep::Track::GetMom() const
329   {
330    // Compute three momentum.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines