00001 00002 // $Id: CandFitTrackSR.h,v 1.19 2006/06/21 00:51:12 rhatcher Exp $ 00003 // 00004 // CandFitTrackSR 00005 // 00006 // Concrete CandFitTrackSR class descended from CandFitTrack. 00007 // 00008 // Author: R. Lee 2001.03.30 00010 00011 #ifndef CANDFITTRACKSR_H 00012 #define CANDFITTRACKSR_H 00013 00014 #include "RecoBase/CandFitTrack.h" 00015 00016 #include "TMatrixD.h" 00017 #include "TVectorD.h" 00018 00019 #include <map> 00020 00021 using namespace std; 00022 00023 class AlgHandle; 00024 class CandContext; 00025 class KalmanPlaneSR; 00026 class TrackClusterSR; 00027 class CandFitTrackSRHandle; 00028 00029 class CandFitTrackSR : public CandFitTrack 00030 { 00031 friend class CandFitTrackSRHandle; 00032 00033 public: 00034 static CandFitTrackSRHandle MakeCandidate(AlgHandle &ah, 00035 CandContext &cx); 00036 CandFitTrackSR(); 00037 00038 virtual std::ostream& FormatToOStream(std::ostream& os, 00039 Option_t *option="") const; 00040 00041 protected: 00042 CandFitTrackSR(AlgHandle &ah); 00043 CandFitTrackSR(AlgHandle &ah, CandHandle &ch, CandContext &cx); 00044 CandFitTrackSR(const CandFitTrackSR &rhs); 00045 virtual ~CandFitTrackSR(); 00046 virtual void CreateLocalHandle(); 00047 virtual CandFitTrackSR *Dup() const; 00048 00049 void Init(); 00050 00051 virtual Bool_t IsEquivalent(const TObject *rhs) const; 00052 00053 TObjArray *fPlaneList; 00054 TObjArray *fTrackClusterList; 00055 00056 KalmanPlaneSR *fCurrent; 00057 KalmanPlaneSR *fCurrentU; 00058 KalmanPlaneSR *fCurrentV; 00059 00060 Double_t fInitialQP; 00061 Int_t fNChangedFitPoint; 00062 Int_t fVtxExtrapolate[2]; // no. of planes extrapolated to beg hit pln 00063 Int_t fEndExtrapolate[2]; // no. of planes extrapolated to end hit pln 00064 00065 mutable map<TrackClusterSR *,Bool_t> fBadFit; //true if track cluster does not fit well 00066 mutable map<Int_t,Float_t> fPlanePreChi2; // filtered chi2 at this pln 00067 mutable map<Int_t,Float_t> fdUdZ; 00068 mutable map<Int_t,Float_t> fdVdZ; 00069 00070 ClassDef(CandFitTrackSR,13) 00071 }; 00072 00073 #endif // CANDFITTRACKSR_H
1.3.9.1