26 _trackerTopology(nullptr),
27 _trackerGeometry(nullptr),
28 _misalignedTrackerGeometry(nullptr),
29 trackerTopologyESToken_(consumesCollector.
esConsumes()),
30 trackerGeometryESToken_(consumesCollector.
esConsumes()),
32 _randomEngine(nullptr) {}
36 throw cms::Exception(
"TrackingRecHitAlgorithm ") <<
_name <<
": TrackerTopology not defined";
43 throw cms::Exception(
"TrackingRecHitAlgorithm ") <<
_name <<
": TrackerGeometry not defined";
50 throw cms::Exception(
"TrackingRecHitAlgorithm ") <<
_name <<
": MisalignedGeometry not defined";
57 throw cms::Exception(
"TrackingRecHitAlgorithm ") <<
_name <<
": RandomEngineAndDistribution not defined";
69 const std::vector<SiPixelTemplateStore>& tempStoreRef) {
virtual void beginRun(edm::Run const &run, const edm::EventSetup &eventSetup, const SiPixelTemplateDBObject *pixelTemplateDBObjectPtr, const std::vector< SiPixelTemplateStore > &tempStoreRef)
const TrackerTopology & getTrackerTopology() const
const TrackerGeometry * _trackerGeometry
virtual TrackingRecHitProductPtr process(TrackingRecHitProductPtr product) const
const RandomEngineAndDistribution & getRandomEngine() const
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > misalignedTrackerGeometryESToken_
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > trackerTopologyESToken_
virtual void beginEvent(edm::Event &event, const edm::EventSetup &eventSetup)
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeometryESToken_
TrackingRecHitAlgorithm(const std::string &name, const edm::ParameterSet &config, edm::ConsumesCollector &consumesCollector)
const TrackerGeometry * _misalignedTrackerGeometry
const TrackerGeometry & getMisalignedGeometry() const
std::shared_ptr< TrackingRecHitProduct > TrackingRecHitProductPtr
const TrackerTopology * _trackerTopology
std::shared_ptr< RandomEngineAndDistribution > _randomEngine
const TrackerGeometry & getTrackerGeometry() const
virtual ~TrackingRecHitAlgorithm()
virtual void beginStream(const edm::StreamID &id)
virtual void endEvent(edm::Event &event, const edm::EventSetup &eventSetup)