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

Comparing UserCode/MitAna/DataTree/interface/Track.h (file contents):
Revision 1.11 by paus, Thu Jul 3 09:47:49 2008 UTC vs.
Revision 1.12 by loizides, Tue Jul 8 14:41:01 2008 UTC

# Line 20 | Line 20 | namespace mithep
20    class Track : public DataObject
21    {
22      public:
23 <      Track() {}
23 >      Track() : fPhi(0), fD0(0), fPt(0), fDz(0), fTheta(0), fPhiErr(0), fD0Err(0), fPtErr(0),
24 >                fDzErr(0), fThetaErr(0), fCharge(0) {}
25        Track(Double_t phi, Double_t d0, Double_t pt, Double_t dz, Double_t theta) :
26 <        fPhi(phi), fD0(d0), fPt(pt), fDz(dz), fTheta(theta) {}
26 >        fPhi(phi), fD0(d0), fPt(pt), fDz(dz), fTheta(theta), fPhiErr(0), fD0Err(0), fPtErr(0),
27 >        fDzErr(0), fThetaErr(0), fCharge(0) {}
28        ~Track() {}
29  
30        Int_t             Charge()       const { return fCharge; }      
# Line 56 | Line 58 | namespace mithep
58        void              SetSimParticle(SimParticle* p) { fSimParticleRef = p; }
59        
60      protected:
61 <      Double_t          fPhi;            // azimuthal angle
62 <      Double_t          fD0;             // raw impact parameter
63 <      Double_t          fPt;             // transverse momentum
64 <      Double_t          fDz;             // z-displacement
65 <      Double_t          fTheta;          // polar angle
66 <      Double_t          fPhiErr;         // uncertainy on phi
67 <      Double_t          fD0Err;          // uncertainty on D0
68 <      Double_t          fPtErr;          // uncertainty on pt
69 <      Double_t          fDzErr;          // uncertainty on dz
70 <      Double_t          fThetaErr;       // uncertainty on theta
71 <      Int_t             fCharge;         // electric charge of reconstructed track
61 >      Double_t          fPhi;            //azimuthal angle
62 >      Double_t          fD0;             //raw impact parameter
63 >      Double_t          fPt;             //transverse momentum
64 >      Double_t          fDz;             //z-displacement
65 >      Double_t          fTheta;          //polar angle
66 >      Double_t          fPhiErr;         //uncertainy on phi
67 >      Double_t          fD0Err;          //uncertainty on D0
68 >      Double_t          fPtErr;          //uncertainty on pt
69 >      Double_t          fDzErr;          //uncertainty on dz
70 >      Double_t          fThetaErr;       //uncertainty on theta
71 >      Int_t             fCharge;         //electric charge of reconstructed track
72        TRef              fSimParticleRef; //reference to sim particle (for monte carlo)
73                
74      ClassDef(Track, 1) // Track class

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines