40 if (
config.exists(
"resolutionX")) {
44 if (
config.exists(
"resolutionY")) {
51 for (
const std::pair<unsigned int, const PSimHit*>& simHitIdPair : product->getSimHitIdPairs()) {
62 unsigned int retry = 0;
77 }
while (not
bounds.inside(recHitPosition));
88 product->addRecHit(
recHit, {simHitIdPair});
virtual float length() const =0
TrackingRecHitStripGSPlugin(const std::string &name, const edm::ParameterSet &config, edm::ConsumesCollector &consumesCollector)
const TrackerGeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
const RandomEngineAndDistribution & getRandomEngine() const
double gaussShoot(double mean=0.0, double sigma=1.0) const
std::shared_ptr< TrackingRecHitProduct > TrackingRecHitProductPtr
const Plane & surface() const
The nominal surface of the GeomDet.
const TrackerGeometry & getTrackerGeometry() const
#define DEFINE_EDM_PLUGIN(factory, type, name)
static constexpr double INV12
TrackingRecHitProductPtr process(TrackingRecHitProductPtr product) const override
const Bounds & bounds() const
Point3DBase< float, LocalTag > Local3DPoint