00001 00002 // $Id: CandFitTrackHandle.h,v 1.12 2007/10/13 22:52:44 musser Exp $ 00003 // 00004 // CandFitTrackHandle.h 00005 // 00006 // CandFitTrackHandle is the specialized access handle to CandFitTrack. 00007 // 00008 // Each concrete CandHandle must define a DupHandle function. 00009 // 00010 // Author: R. Lee 2001.03.30 00011 // 00013 00014 #ifndef CANDFITTRACKHANDLE_H 00015 #define CANDFITTRACKHANDLE_H 00016 00017 #include "Conventions/PlaneView.h" 00018 #include "Navigation/XxxItr.h" 00019 #include "RecoBase/CandTrackHandle.h" 00020 class CandFitTrack; 00021 class CandTrackHandle; 00022 00023 class CandFitTrackHandle : public CandTrackHandle 00024 { 00025 00026 public: 00027 CandFitTrackHandle(); 00028 CandFitTrackHandle(const CandFitTrackHandle &cdh); 00029 CandFitTrackHandle(CandFitTrack *cd); 00030 virtual ~CandFitTrackHandle(); 00031 virtual CandFitTrackHandle *DupHandle() const; 00032 00033 virtual void Trace(const char *c = "") const; 00034 00035 static NavKey KeyFromSlice(const CandFitTrackHandle *); 00036 00037 void SetMomentumRange(Double_t); 00038 Double_t GetMomentumRange() const; 00039 00040 void SetEndQP(Double_t); 00041 void SetPlaneChi2(Int_t,Double_t); 00042 void SetPlaneQP(Int_t,Double_t); 00043 void SetEndUError(Double_t); 00044 void SetEndVError(Double_t); 00045 void SetEnddUError(Double_t); 00046 void SetEnddVError(Double_t); 00047 void SetEndQPError(Double_t); 00048 void SetNSwimFail(Int_t); 00049 void SetBave(Double_t); 00050 Double_t GetBave() const; 00051 Double_t GetEndQP() const; 00052 Float_t GetPlaneChi2(Int_t) const; 00053 Float_t GetPlaneQP(Int_t) const; 00054 Double_t GetEndUError() const; 00055 Double_t GetEndVError() const; 00056 Double_t GetEnddUError() const; 00057 Double_t GetEnddVError() const; 00058 Double_t GetEndQPError() const; 00059 Int_t GetNSwimFail() const; 00060 00061 void SetMomentumCurve(Double_t); 00062 Double_t GetMomentumCurve() const; 00063 00064 Double_t GetEMCharge() const; 00065 void SetEMCharge(Double_t); 00066 00067 Double_t GetChi2() const; 00068 void SetChi2(Double_t); 00069 00070 Bool_t GetPass() const; 00071 void SetPass(Bool_t); 00072 00073 Double_t GetVtxQPError() const; 00074 void SetVtxQPError(Double_t); 00075 00076 Int_t GetNDOF() const; 00077 void SetNDOF(Int_t); 00078 00079 // number of iterations 00080 Int_t GetNIterate() const; 00081 void SetNIterate(Int_t); 00082 00083 // execution time 00084 Double_t GetCPUTime() const; 00085 void SetCPUTime(Double_t); 00086 00087 Double_t GetVtxUError() const; 00088 void SetVtxUError(Double_t); 00089 00090 Double_t GetVtxVError() const; 00091 void SetVtxVError(Double_t); 00092 00093 Double_t GetVtxdUError() const; 00094 void SetVtxdUError(Double_t); 00095 00096 Double_t GetVtxdVError() const; 00097 void SetVtxdVError(Double_t); 00098 00099 // Finder track used in fit 00100 CandTrackHandle * GetFinderTrack() const; 00101 void SetFinderTrack(CandTrackHandle *); 00102 00103 void ClearMaps(); 00104 private: 00105 00106 00107 ClassDef(CandFitTrackHandle,3) // User access handle to CandFitTrack 00108 00109 }; 00110 00111 XXXITRDEF(CandFitTrackHandle) 00112 00113 #endif // CANDFITTRACKHANDLE_H
1.3.9.1