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

Comparing UserCode/MitAna/DataTree/interface/DaughterData.h (file contents):
Revision 1.2 by bendavid, Tue Sep 30 12:52:52 2008 UTC vs.
Revision 1.3 by bendavid, Wed Dec 3 16:58:17 2008 UTC

# Line 21 | Line 21 | namespace mithep
21    {
22      public:
23        DaughterData() {}
24 <      DaughterData(Particle *orig) : fOriginal(orig) {}
24 >      DaughterData(const Particle *orig) : fOriginal(const_cast<Particle*>(orig)) {}
25        virtual ~DaughterData() {}
26  
27        Double_t             Charge()    const { return Original()->Charge(); }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines