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
15 
16 // Data Formats
18 
19 class TrackerGeometry;
20 class DetId;
21 
22 namespace edm {
23  class ParameterSet;
24  class Event;
25  class EventSetup;
26 }
27 
29 {
30  public:
31  //--- Constructor, virtual destructor (just in case)
33  virtual ~TrackingRecHitTranslator();
34 
35  //--- The top-level event method.
36  virtual void produce(edm::Event& e, const edm::EventSetup& c) override;
37 
38  virtual void beginRun(edm::Run const& run, const edm::EventSetup & es) override;
39 
40  private:
41 
42  void loadRecHits(
44  SiTrackerFullGSRecHit2DCollection& theRecHitCollection) const;
45 
46  //
48  //
50 };
51 
52 #endif
const TrackerGeometry * geometry
void loadRecHits(std::map< DetId, edm::OwnVector< SiTrackerGSRecHit2D > > &theRecHits, SiTrackerFullGSRecHit2DCollection &theRecHitCollection) const
virtual void beginRun(edm::Run const &run, const edm::EventSetup &es) override
tuple conf
Definition: dbtoconf.py:185
EDProducer to translate RecHits ordered by SimTrackId to RecHits expected by the full pattern recogni...
Definition: DetId.h:18
TrackingRecHitTranslator(const edm::ParameterSet &conf)
virtual void produce(edm::Event &e, const edm::EventSetup &c) override
Definition: Run.h:41