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.19 by bendavid, Thu Feb 26 17:06:24 2009 UTC vs.
Revision 1.20 by loizides, Tue Mar 3 17:04:09 2009 UTC

# Line 22 | Line 22 | namespace mithep
22      public:
23        CompositeParticle() {}
24      
25 <      void                      AddDaughter(const Particle *p)    { fDaughters.Add(p); ClearMom(); ClearCharge(); }
26 <      void                      Clear(Option_t *opt="")           { fDaughters.Clear(opt); ClearMom(); ClearCharge(); }
25 >      void                      AddDaughter(const Particle *p)    
26 >                                  { fDaughters.Add(p); ClearMom(); ClearCharge(); }
27 >      void                      Clear(Option_t *opt="")          
28 >                                  { fDaughters.Clear(opt); ClearMom(); ClearCharge(); }
29        const Particle           *Daughter(UInt_t i)    const       { return fDaughters.At(i);     }
30        UInt_t                    NDaughters()          const       { return fDaughters.Entries(); }
31        Bool_t                    HasDaughter(const Particle *p)                const;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines