ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/IPHCalignment2/TrackingTools/PatternTools/interface/TSCBLBuilderWithPropagator.h
Revision: 1.1
Committed: Fri Nov 25 16:38:23 2011 UTC (13 years, 5 months ago) by econte
Content type: text/plain
Branch: MAIN
CVS Tags: TBD2011, TBD_2011, HEAD
Log Message:
new IPHC alignment

File Contents

# Content
1 #ifndef TSCBLBuilderWithPropagator_H
2 #define TSCBLBuilderWithPropagator_H
3
4 #include "TrackingTools/PatternTools/interface/TrajectoryStateClosestToBeamLineBuilder.h"
5 #include "TrackingTools/GeomPropagators/interface/Propagator.h"
6 #include "DataFormats/GeometryCommonDetAlgo/interface/DeepCopyPointerByClone.h"
7 #include "MagneticField/Engine/interface/MagneticField.h"
8
9 /**
10 * This class builds a TrajectoryStateClosestToBeamLine given an original
11 * FreeTrajectoryState. This new state is then
12 * defined at the point of closest approach to the beam line.
13 * It is to be used when a specific propagator has to be used.
14 */
15
16 class TSCBLBuilderWithPropagator : public TrajectoryStateClosestToBeamLineBuilder
17 {
18 public:
19
20 /// constructor with default geometrical propagator
21 TSCBLBuilderWithPropagator(const MagneticField* field);
22
23 /// constructor with user-supplied propagator
24 TSCBLBuilderWithPropagator(const Propagator& u);
25
26 virtual ~TSCBLBuilderWithPropagator(){};
27
28 virtual TrajectoryStateClosestToBeamLine operator()
29 (const FTS& originalFTS, const reco::BeamSpot & beamSpot) const;
30
31 private:
32 DeepCopyPointerByClone<Propagator> thePropagator;
33
34 };
35 #endif