CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/TrackingTools/PatternTools/interface/TSCBLBuilderWithPropagator.h

Go to the documentation of this file.
00001 #ifndef TSCBLBuilderWithPropagator_H
00002 #define TSCBLBuilderWithPropagator_H
00003 
00004 #include "TrackingTools/PatternTools/interface/TrajectoryStateClosestToBeamLineBuilder.h"
00005 #include "TrackingTools/GeomPropagators/interface/Propagator.h"
00006 #include "DataFormats/GeometryCommonDetAlgo/interface/DeepCopyPointerByClone.h"
00007 #include "MagneticField/Engine/interface/MagneticField.h"
00008 
00016 class TSCBLBuilderWithPropagator : public TrajectoryStateClosestToBeamLineBuilder
00017 {
00018 public: 
00019 
00021   TSCBLBuilderWithPropagator(const MagneticField* field);
00022   
00024   TSCBLBuilderWithPropagator(const Propagator& u);
00025 
00026   virtual ~TSCBLBuilderWithPropagator(){};
00027 
00028   virtual TrajectoryStateClosestToBeamLine operator()
00029     (const FTS& originalFTS, const reco::BeamSpot & beamSpot) const;
00030 
00031 private:
00032   DeepCopyPointerByClone<Propagator> thePropagator;
00033 
00034 };
00035 #endif