Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

NtpSRTrackTime.h

Go to the documentation of this file.
00001 
00002 // NtpSRTrackTime
00003 //
00004 // NtpSRTrackTime is an ntuple class to holds track timing data.
00005 //
00006 // Based on Roy Lee's CandEventSR/TrackTimeInfoSR
00007 //
00009 
00010 #ifndef NTPSRTRACKTIME_H
00011 #define NTPSRTRACKTIME_H
00012 
00013 #include <iosfwd> // ostream fwd decl'
00014 #include "TObject.h"
00015 
00016 class NtpSRTrackTime;
00017 std::ostream& operator << (std::ostream& os, const NtpSRTrackTime& ntp);
00018 
00019 class NtpSRTrackTime : public TObject {
00020 
00021  public:
00022   // Constructors & Destructors
00023   NtpSRTrackTime(): ndigit(0),chi2(0),u0(0),u1(0),v0(0),v1(0),cdtds(0),du(0),
00024                     dv(0),dtds(0),t0(0), forwardRMS(0), forwardNDOF(0), backwardRMS(0), backwardNDOF(0) {}
00025   virtual ~NtpSRTrackTime() {}
00026 
00027   // State testing methods
00028   virtual std::ostream& Print(std::ostream& os) const;
00029   virtual void Print(Option_t* option = "") const; 
00030 
00031  public:
00032   // Ntuple is treated like a C-struct with public data members and
00033   // code rule breaking field data members not prefaced by "f" and all
00034   // lowercase, by popular demand.
00035 
00036   UShort_t ndigit; // no. of digits used to determine track dir. from timing
00037   Float_t chi2;    // chi2 of fit done on track direction determination
00038   // u0,u1,v0,v1 hold the mean values of the fully calibrated and propagation
00039   // delay corrected times for the separate views and strip ends
00040   Double_t u0;     // time (sec) u-view east
00041   Double_t u1;     // time (sec) u-view west
00042   Double_t v0;     // time (sec) v-view east
00043   Double_t v1;     // time (sec) v-view west
00044   // The velocity of the track is measured by comparing the corrected times
00045   // to the travel distance. 
00046   Float_t cdtds; // 1/beta
00047   // timing based position is determined from time diff. of readout at 2 ends
00048   // spatial based position is determined from strip locations in opposite view
00049   Float_t du; // diff(m) between timing based position and spatial position
00050   Float_t dv; // diff(m) between timing based position and spatial position
00051   Double_t dtds;  // unnormalized slope from time fit used to determine beta
00052   Double_t t0;    // offset from time fit used to determine beta
00053   Double_t forwardRMS; // RMS for forward time fit
00054   Int_t forwardNDOF; // # DoF for forward time fit
00055   Double_t backwardRMS; // RMS for backward time fit
00056   Int_t backwardNDOF; // # DoF for backward time fit
00057   ClassDef(NtpSRTrackTime,3)
00058 };
00059 
00060 
00061 #endif // NTPSRTRACKTIME_H

Generated on Mon Feb 15 11:07:07 2010 for loon by  doxygen 1.3.9.1