CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackingRecHitTranslator.h
Go to the documentation of this file.
1 #ifndef FastSimulation_TrackingRecHitProducer_TrackingRecHitTranslator_h
2 #define FastSimulation_TrackingRecHitProducer_TrackingRecHitTranslator_h
3 
4 //---------------------------------------------------------------------------
10 //---------------------------------------------------------------------------
11 
12 // Framework
14 
15 // Data Formats
17 
18 class TrackerGeometry;
19 class DetId;
20 
21 namespace edm {
22  class ParameterSet;
23  class Event;
24  class EventSetup;
25 }
26 
28 {
29  public:
30  //--- Constructor, virtual destructor (just in case)
32  virtual ~TrackingRecHitTranslator();
33 
34  //--- The top-level event method.
35  virtual void produce(edm::Event& e, const edm::EventSetup& c);
36 
37  // Begin Job
38  virtual void beginRun(edm::Run & run, const edm::EventSetup & es);
39 
40  private:
41 
42  void loadRecHits(
44  SiTrackerFullGSRecHit2DCollection& theRecHitCollection) const;
45 
46  //
48  //
49 };
50 
51 
52 #endif
virtual void produce(edm::Event &e, const edm::EventSetup &c)
const TrackerGeometry * geometry
void loadRecHits(std::map< DetId, edm::OwnVector< SiTrackerGSRecHit2D > > &theRecHits, SiTrackerFullGSRecHit2DCollection &theRecHitCollection) const
tuple conf
Definition: dbtoconf.py:185
EDProducer to translate RecHits ordered by SimTrackId to RecHits expected by the full pattern recogni...
Definition: DetId.h:20
TrackingRecHitTranslator(const edm::ParameterSet &conf)
virtual void beginRun(edm::Run &run, const edm::EventSetup &es)
Definition: Run.h:33