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

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

# Line 36 | Line 36 | namespace mithep
36        void                  SetVertex(const Vertex *v)            { fVertex = v;                   }
37  
38        // Some structural tools
39 <      void                  Mark()                          const;
39 >      void                  Mark(UInt_t i=1)                const;
40  
41      protected:
42        Double_t              GetCharge()                     const;
# Line 49 | Line 49 | namespace mithep
49   }
50  
51   //--------------------------------------------------------------------------------------------------
52 < inline void mithep::TrackJet::Mark() const
52 > inline void mithep::TrackJet::Mark(UInt_t ib) const
53   {
54    // mark myself
55 <  mithep::DataObject::Mark();
55 >  mithep::DataObject::Mark(ib);
56    // mark my dependencies if they are there
57    if (fVertex.IsValid())
58 <    fVertex.Obj()->Mark();
59 <  for (UInt_t i=0; i<fTracks.Entries(); i++)
60 <    fTracks.At(i)->Mark();
58 >    fVertex.Obj()->Mark(ib);
59 >  fTracks.Mark(ib);
60   }
61  
62   //--------------------------------------------------------------------------------------------------

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines