25 _selectionString(config.getParameter<std::
string>(
"select")),
26 _trackerTopology(nullptr),
27 _trackerGeometry(nullptr),
28 _misalignedTrackerGeometry(nullptr),
29 trackerTopologyESToken_(consumesCollector.
esConsumes()),
30 trackerGeometryESToken_(consumesCollector.
esConsumes()),
31 misalignedTrackerGeometryESToken_(consumesCollector.
esConsumes(edm::
ESInputTag(
"",
"MisAligned"))),
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 std::vector<SiPixelTemplateStore>& tempStoreRef) {
uint16_t *__restrict__ id
const TrackerGeometry & getTrackerGeometry() const
const TrackerGeometry * _trackerGeometry
bool getData(T &iHolder) 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 RandomEngineAndDistribution & getRandomEngine() const
const TrackerTopology & getTrackerTopology() const
std::shared_ptr< TrackingRecHitProduct > TrackingRecHitProductPtr
virtual void beginRun(edm::Run const &run, const edm::EventSetup &eventSetup, const SiPixelTemplateDBObject *pixelTemplateDBObjectPtr, std::vector< SiPixelTemplateStore > &tempStoreRef)
const TrackerTopology * _trackerTopology
virtual TrackingRecHitProductPtr process(TrackingRecHitProductPtr product) const
std::shared_ptr< RandomEngineAndDistribution > _randomEngine
virtual ~TrackingRecHitAlgorithm()
tuple config
parse the configuration file
const TrackerGeometry & getMisalignedGeometry() const
virtual void beginStream(const edm::StreamID &id)
virtual void endEvent(edm::Event &event, const edm::EventSetup &eventSetup)