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.35 by loizides, Sat Mar 7 08:31:36 2009 UTC vs.
Revision 1.37 by loizides, Wed Mar 18 15:10:31 2009 UTC

# Line 77 | Line 77
77   #ifndef MITANA_DATATREE_TRACK_H
78   #define MITANA_DATATREE_TRACK_H
79  
80 + #include "MitAna/DataCont/interface/BitMask.h"
81   #include "MitAna/DataTree/interface/BaseVertex.h"
81 #include "MitAna/DataTree/interface/BitMask.h"
82   #include "MitAna/DataTree/interface/DataObject.h"
83   #include "MitAna/DataTree/interface/MCParticle.h"
84   #include "MitAna/DataTree/interface/SuperCluster.h"
# Line 146 | Line 146 | namespace mithep
146  
147        Int_t                Charge()         const { return (fQOverP>0) ? 1 : -1;  }
148        Double_t             Chi2()           const { return fChi2;                 }
149      Double_t             RChi2()          const { return fChi2/(Double_t)fNdof; }
149        void                 ClearHit(EHitLayer l)  { fHits.ClearBit(l);            }
150        Double_t             D0()             const { return -fDxy;                 }
151        Double_t             D0Corrected(const BaseVertex &iVertex) const;
# Line 183 | Line 182 | namespace mithep
182        Double_t             Pz()             const { return Mom().Z();                          }
183        Double_t             QOverP()         const { return fQOverP;                            }
184        Double_t             QOverPErr()      const { return fQOverPErr;                         }
185 +      Double_t             RChi2()          const { return fChi2/(Double_t)fNdof; }
186        Double_t             Theta()          const { return (TMath::PiOver2() - fLambda);       }
187      Double_t             Z0()             const { return fDsz/TMath::Cos(fLambda);           }
187        const SuperCluster  *SCluster()       const { return fSuperClusterRef.Obj();             }
188        const BitMask48      StereoHits()     const { return (fHits & StereoLayers());           }
189        void                 SetChi2(Double_t chi2)              { fChi2 = chi2;                 }
# Line 199 | Line 198 | namespace mithep
198        void                 SetMCPart(const MCParticle *p)      { fMCParticleRef = p;           }
199        void                 SetPhiEcal(Double_t phi)            { fPhiEcal = phi;               }
200        void                 SetSCluster(const SuperCluster* sc) { fSuperClusterRef = sc;        }
201 +      Double_t             Z0()             const { return fDsz/TMath::Cos(fLambda);           }
202  
203        static
204        const BitMask48      StereoLayers();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines