CMS 3D CMS Logo

TrackingRecHitAlgorithm.h
Go to the documentation of this file.
1 #ifndef FastSimulation_TrackingRecHitProducer_TrackingRecHitAlgorithm_H
2 #define FastSimulation_TrackingRecHitProducer_TrackingRecHitAlgorithm_H
3 
6 
8 
10 
11 #include <string>
12 #include <memory>
13 
14 namespace edm
15 {
16  class Event;
17  class EventSetup;
18  class ParameterSet;
19  class ConsumesCollector;
20  class Stream;
21 }
22 
24 {
25  private:
31  std::shared_ptr<RandomEngineAndDistribution> _randomEngine;
32 
33  public:
36  edm::ConsumesCollector& consumesCollector);
37 
38  inline const std::string& getName() const
39  {
40  return _name;
41  }
42  inline const std::string& getSelectionString() const
43  {
44  return _selectionString;
45  }
46 
47  const TrackerTopology& getTrackerTopology() const;
48  const TrackerGeometry& getTrackerGeometry() const;
49  const TrackerGeometry& getMisalignedGeometry() const;
50  const RandomEngineAndDistribution& getRandomEngine() const;
51 
52  //this function will only be called once per stream
53  virtual void beginStream(const edm::StreamID& id);
54 
55  //this function will only be called once per event
56  virtual void beginEvent(edm::Event& event, const edm::EventSetup& eventSetup);
57 
59 
60  //this function will only be called once per event
61  virtual void endEvent(edm::Event& event, const edm::EventSetup& eventSetup);
62 
63  //this function will only be called once per stream
64  virtual void endStream();
65 
66  virtual ~TrackingRecHitAlgorithm();
67 
68 
69 };
70 
71 
72 #endif
Definition: config.py:1
const TrackerGeometry * _trackerGeometry
const std::string _selectionString
const std::string & getSelectionString() const
const std::string & getName() const
const TrackerGeometry * _misalignedTrackerGeometry
std::shared_ptr< TrackingRecHitProduct > TrackingRecHitProductPtr
const TrackerTopology * _trackerTopology
std::shared_ptr< RandomEngineAndDistribution > _randomEngine
HLT enums.
Definition: event.py:1