Go to the documentation of this file.
30 _trackerTopology(nullptr),
31 _trackerGeometry(nullptr),
32 _misalignedTrackerGeometry(nullptr),
33 _randomEngine(nullptr) {}
37 throw cms::Exception(
"TrackingRecHitAlgorithm ") <<
_name <<
": TrackerTopology not defined";
44 throw cms::Exception(
"TrackingRecHitAlgorithm ") <<
_name <<
": TrackerGeometry not defined";
51 throw cms::Exception(
"TrackingRecHitAlgorithm ") <<
_name <<
": MisalignedGeometry not defined";
58 throw cms::Exception(
"TrackingRecHitAlgorithm ") <<
_name <<
": RandomEngineAndDistribution not defined";
64 _randomEngine = std::make_shared<RandomEngineAndDistribution>(
id);
70 std::vector<SiPixelTemplateStore>& tempStoreRef) {
T const * product() const
virtual void beginStream(const edm::StreamID &id)
const TrackerTopology & getTrackerTopology() const
const RandomEngineAndDistribution & getRandomEngine() const
TrackingRecHitAlgorithm(const std::string &name, const edm::ParameterSet &config, edm::ConsumesCollector &consumesCollector)
const TrackerGeometry * _misalignedTrackerGeometry
std::shared_ptr< TrackingRecHitProduct > TrackingRecHitProductPtr
const TrackerTopology * _trackerTopology
virtual TrackingRecHitProductPtr process(TrackingRecHitProductPtr product) const
std::shared_ptr< RandomEngineAndDistribution > _randomEngine
const TrackerGeometry & getTrackerGeometry() const
const TrackerGeometry * _trackerGeometry
virtual void beginEvent(edm::Event &event, const edm::EventSetup &eventSetup)
virtual void endEvent(edm::Event &event, const edm::EventSetup &eventSetup)
const TrackerGeometry & getMisalignedGeometry() const
virtual void beginRun(edm::Run const &run, const edm::EventSetup &eventSetup, const SiPixelTemplateDBObject *pixelTemplateDBObjectPtr, std::vector< SiPixelTemplateStore > &tempStoreRef)
virtual ~TrackingRecHitAlgorithm()