28 if (config.
exists(
"errorXX")) {
32 if (config.
exists(
"errorXY")) {
36 if (config.
exists(
"errorYY")) {
42 for (
const std::pair<unsigned int, const PSimHit*>& simHitIdPair : product->getSimHitIdPairs()) {
43 const PSimHit* simHit = simHitIdPair.second;
53 fastTrackerRecHitType::
56 product->addRecHit(recHit, {simHitIdPair});
const TrackerGeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
bool exists(std::string const ¶meterName) const
checks if a parameter exists
const TrackerGeometry & getTrackerGeometry() const
Local3DPoint localPosition() const
std::shared_ptr< TrackingRecHitProduct > TrackingRecHitProductPtr
T getParameter(std::string const &) const
tuple config
parse the configuration file
static int position[264][3]
#define DEFINE_EDM_PLUGIN(factory, type, name)
TrackingRecHitProductPtr process(TrackingRecHitProductPtr product) const override
TrackingRecHitNoSmearingPlugin(const std::string &name, const edm::ParameterSet &config, edm::ConsumesCollector &consumesCollector)