33 DTWireId wireId(layerId, (*digi).wire());
38 bool OK =
compute(layer, *digi, lpoint, rpoint, tmpErr);
43 auto recHitPair = std::make_unique<DTRecHit1DPair>(wireId, *digi);
46 recHitPair->setPositionAndError(
DTEnums::Left, lpoint, tmpErr);
virtual ~DTRecHitBaseAlgo()
Destructor.
virtual edm::OwnVector< DTRecHit1DPair > reconstruct(const DTLayer *layer, const DTLayerId &layerId, const DTDigiCollection::Range &digiRange)
Build all hits in the range associated to the layerId, at the 1st step.
constexpr std::array< uint8_t, layerIndexSize > layer
DTRecHitBaseAlgo(const edm::ParameterSet &config, edm::ConsumesCollector)
Constructor.
virtual bool compute(const DTLayer *layer, const DTDigi &digi, LocalPoint &leftPoint, LocalPoint &rightPoint, LocalError &error) const =0
std::pair< int, edm::FunctionWithDict > OK
std::pair< const_iterator, const_iterator > Range
T getParameter(std::string const &) const
std::vector< DigiType >::const_iterator const_iterator
tuple config
parse the configuration file