00001 //-------------------------------------------------------------------------- 00002 // File and Version Information: 00003 // $Id: TrkHelixMaker.h,v 1.1.1.1 2005/04/21 06:26:56 maqm Exp $ 00004 // 00005 // Description: 00006 // Creates tracks with HelixReps inside them (makeTrack()), or swaps 00007 // in a HelixRep for the existing Rep (changeFit()). In neither case 00008 // is a fit performed. HelixReps have an option of allowing hit-dropping 00009 // and ambiguity-flipping while fitting; these can be turned on 00010 // by invoking setFlipAndDrop() for that track. 00011 // 00012 // Environment: 00013 // Software developed for the BaBar Detector at the SLAC B-Factory. 00014 // 00015 // Author(s): Steve Schaffner 00016 // 00017 //------------------------------------------------------------------------ 00018 00019 #ifndef TRKHELIXMAKER_H 00020 #define TRKHELIXMAKER_H 00021 #include "TrkFitter/TrkSimpleMaker.h" 00022 #include "TrkFitter/TrkHelixRep.h" 00023 00024 00025 class TrkHelixMaker : public TrkSimpleMaker<TrkHelixRep> { 00026 public: 00027 TrkHelixMaker(); 00028 virtual ~TrkHelixMaker(); 00029 00030 void addZValues(TrkRecoTrk& theTrack, double z0, 00031 double tanDip, double chi2); 00032 00033 protected: 00034 TrkRep* makeRep(TrkRecoTrk& theTrack) const; 00035 00036 private: 00037 00038 // Preempt 00039 TrkHelixMaker& operator= (const TrkHelixMaker&); 00040 TrkHelixMaker(const TrkHelixMaker &); 00041 }; 00042 00043 #endif