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.15 by bendavid, Fri Oct 31 18:56:42 2008 UTC vs.
Revision 1.16 by loizides, Wed Dec 3 11:35:21 2008 UTC

# Line 23 | Line 23 | namespace mithep
23        CompositeParticle() {}
24        ~CompositeParticle() {}
25      
26 <      void                      AddDaughter(Particle *p)    { fDaughters.Add(p); }
26 >      void                      AddDaughter(const Particle *p)    { fDaughters.Add(p); }
27        Double_t                  Charge()              const;
28        void                      Clear(Option_t *opt="")     { fDaughters.Clear(opt); }
29        const Particle           *Daughter(UInt_t i)    const { return fDaughters.At(i); }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines