31 _selectionString(config.getParameter<
std::
string>(
"select")),
34 _misalignedTrackerGeometry(
nullptr),
43 throw cms::Exception(
"TrackingRecHitAlgorithm ") <<
_name <<
": TrackerTopology not defined";
52 throw cms::Exception(
"TrackingRecHitAlgorithm ") <<
_name <<
": TrackerGeometry not defined";
61 throw cms::Exception(
"TrackingRecHitAlgorithm ") <<
_name <<
": MisalignedGeometry not defined";
70 throw cms::Exception(
"TrackingRecHitAlgorithm ") <<
_name <<
": RandomEngineAndDistribution not defined";
const TrackerGeometry & getTrackerGeometry() const
const TrackerGeometry * _trackerGeometry
virtual void beginEvent(edm::Event &event, const edm::EventSetup &eventSetup)
TrackingRecHitAlgorithm(const std::string &name, const edm::ParameterSet &config, edm::ConsumesCollector &consumesCollector)
const TrackerGeometry * _misalignedTrackerGeometry
const RandomEngineAndDistribution & getRandomEngine() const
const TrackerTopology & getTrackerTopology() const
std::shared_ptr< TrackingRecHitProduct > TrackingRecHitProductPtr
const TrackerTopology * _trackerTopology
virtual TrackingRecHitProductPtr process(TrackingRecHitProductPtr product) const
std::shared_ptr< RandomEngineAndDistribution > _randomEngine
virtual ~TrackingRecHitAlgorithm()
const TrackerGeometry & getMisalignedGeometry() const
virtual void beginStream(const edm::StreamID &id)
T const * product() const
virtual void endEvent(edm::Event &event, const edm::EventSetup &eventSetup)