32 if (config.
exists(
"errorXX"))
37 if (config.
exists(
"errorXY"))
42 if (config.
exists(
"errorYY"))
50 for (
const std::pair<unsigned int,const PSimHit*>& simHitIdPair: product->getSimHitIdPairs())
52 const PSimHit* simHit = simHitIdPair.second;
64 product->addRecHit(recHit,{simHitIdPair});
74 "TrackingRecHitNoSmearingPlugin"
T getParameter(std::string const &) const
const TrackerGeomDet * idToDetUnit(DetId) const
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
virtual TrackingRecHitProductPtr process(TrackingRecHitProductPtr product) const
Local3DPoint localPosition() const
std::shared_ptr< TrackingRecHitProduct > TrackingRecHitProductPtr
static int position[264][3]
#define DEFINE_EDM_PLUGIN(factory, type, name)
TrackingRecHitNoSmearingPlugin(const std::string &name, const edm::ParameterSet &config, edm::ConsumesCollector &consumesCollector)