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.10 by loizides, Tue Jul 22 19:57:50 2008 UTC vs.
Revision 1.13 by bendavid, Fri Sep 19 11:58:41 2008 UTC

# Line 8 | Line 8
8   // Authors: J.Bendavid, C.Loizides
9   //--------------------------------------------------------------------------------------------------
10  
11 < #ifndef DATATREE_COMPOSITEPARTICLE_H
12 < #define DATATREE_COMPOSITEPARTICLE_H
11 > #ifndef MITANA_DATATREE_COMPOSITEPARTICLE_H
12 > #define MITANA_DATATREE_COMPOSITEPARTICLE_H
13  
14   #include "MitAna/DataTree/interface/Types.h"
15 #include "MitAna/DataTree/interface/RefArray.h"
15   #include "MitAna/DataTree/interface/Particle.h"
16 + #include "MitAna/DataCont/interface/RefArray.h"
17  
18   namespace mithep
19   {
# Line 23 | Line 23 | namespace mithep
23        CompositeParticle() {}
24        ~CompositeParticle() {}
25      
26 <      void                      AddDaughter(Particle *p)    { fDaughters.Add(p); }
26 >      virtual void              AddDaughter(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