ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/src/Track.cc
Revision: 1.2
Committed: Mon Jun 9 00:06:36 2008 UTC (16 years, 10 months ago) by bendavid
Content type: text/plain
Branch: MAIN
Changes since 1.1: +19 -1 lines
Log Message:
adherance to coding conventions, reverted ParticleExample, new full chain example

File Contents

# User Rev Content
1 bendavid 1.2 // $Id: Track.cc,v 1.1 2008/06/04 09:08:36 loizides Exp $
2 loizides 1.1
3     #include "MitAna/DataTree/interface/Track.h"
4    
5     ClassImp(mithep::Track)
6 bendavid 1.2
7     using namespace mithep;
8    
9     void Track::SetHelix(Double_t phi, Double_t d0, Double_t pt, Double_t dz, Double_t theta) {
10     fPhi=phi;
11     fD0=d0;
12     fPt=pt;
13     fDz=dz;
14     fTheta=theta;
15     }
16    
17     void Track::SetErrors(Double_t phiErr, Double_t d0Err, Double_t ptErr, Double_t dzErr, Double_t thetaErr) {
18     fPhiErr=phiErr;
19     fD0Err=d0Err;
20     fPtErr=ptErr;
21     fDzErr=dzErr;
22     fThetaErr=thetaErr;
23     }