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

Comparing UserCode/MitAna/DataTree/interface/Electron.h (file contents):
Revision 1.25 by loizides, Wed Feb 18 15:38:54 2009 UTC vs.
Revision 1.26 by bendavid, Thu Feb 26 17:06:24 2009 UTC

# Line 66 | Line 66 | namespace mithep
66        Double_t    PIn()                            const { return fPIn;                     }
67        Double_t    POut()                           const { return fPOut;                    }
68        Double_t    TrackIsolation()                 const { return fTrackIsolation;          }
69 <      void        SetGsfTrk(const Track* t)                     { fGsfTrackRef = t;                }
70 <      void        SetTrackerTrk(const Track* t)                 { fTrackerTrackRef = t;            }
71 <      void        SetSuperCluster(const SuperCluster* sc)       { fSuperClusterRef = sc;           }
69 >      void        SetGsfTrk(const Track* t)                     { fGsfTrackRef = t; ClearMom(); ClearCharge(); }
70 >      void        SetTrackerTrk(const Track* t)                 { fTrackerTrackRef = t; ClearMom(); ClearCharge(); }
71 >      void        SetSuperCluster(const SuperCluster* sc)       { fSuperClusterRef = sc; ClearMom(); }
72        void        SetCaloIsolation(Double_t CaloIsolation)      { fCaloIsolation = CaloIsolation;  }
73        void        SetCaloTowerIsolation(Double_t TowerIso)      { fCaloTowerIsolation = TowerIso;  }
74        void        SetClassification(Double_t x)                 { fClassification = x;             }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines