Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 10:05:44

0001 #ifndef TrackingTools_TrackRefitter_TrackTransformerBase_H
0002 #define TrackingTools_TrackRefitter_TrackTransformerBase_H
0003 
0004 /** \class TrackTransformerBase
0005  *  Base class for Track transformer classes
0006  *
0007  *  \author R. Bellan - CERN <riccardo.bellan@cern.ch>
0008  */
0009 
0010 #include "DataFormats/TrackReco/interface/TrackFwd.h"
0011 
0012 class Trajectory;
0013 namespace edm {
0014   class EventSetup;
0015 }
0016 
0017 class TrackTransformerBase {
0018 public:
0019   /// Constructor
0020   TrackTransformerBase() {}
0021 
0022   /// Destructor
0023   virtual ~TrackTransformerBase() {}
0024 
0025   // Operations
0026 
0027   /// Convert a reco::Track into Trajectory
0028   virtual std::vector<Trajectory> transform(const reco::Track&) const = 0;
0029 
0030   /// set the services needed by the TrackTransformers
0031   virtual void setServices(const edm::EventSetup&) = 0;
0032 };
0033 #endif