Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:31:34

0001 #ifndef TrajectoryStateClosestToBeamLineBuilder_H
0002 #define TrajectoryStateClosestToBeamLineBuilder_H
0003 
0004 #include "TrackingTools/TrajectoryState/interface/TrajectoryStateClosestToBeamLine.h"
0005 #include "DataFormats/BeamSpot/interface/BeamSpot.h"
0006 #include "TrackingTools/TrajectoryState/interface/FreeTrajectoryState.h"
0007 
0008 /**
0009  * This is the abstract class to build a TrajectoryStateClosestToBeamLine given an original 
0010  * FreeTrajectoryState. This new state is then 
0011  * defined at the point of closest approach to the beam line.
0012  */
0013 
0014 class TrajectoryStateClosestToBeamLineBuilder {
0015 public:
0016   typedef FreeTrajectoryState FTS;
0017   virtual ~TrajectoryStateClosestToBeamLineBuilder() = default;
0018   virtual TrajectoryStateClosestToBeamLine operator()(const FTS& originalFTS, const reco::BeamSpot& beamSpot) const = 0;
0019 };
0020 #endif