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.16 by loizides, Wed Dec 3 11:35:21 2008 UTC vs.
Revision 1.17 by loizides, Tue Dec 9 17:46:59 2008 UTC

# Line 23 | Line 23 | namespace mithep
23        CompositeParticle() {}
24        ~CompositeParticle() {}
25      
26 <      void                      AddDaughter(const 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); }
30 <      UInt_t                    NDaughters()          const { return fDaughters.Entries(); }
28 >      void                      Clear(Option_t *opt="")           { fDaughters.Clear(opt);       }
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;
32        Bool_t                    HasCommonDaughter(const CompositeParticle *p) const;
33        Bool_t                    HasSameDaughters(const CompositeParticle *p)  const;
34        FourVector                Mom()                 const;
35 +      EObjType                  ObjType()             const       { return kCompositeParticle;   }
36  
37      protected:
38        RefArray<Particle,1024>   fDaughters; //references to daughter particles

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines