36 digi != digiRange.second;
39 DTWireId wireId(layerId, (*digi).wire());
44 bool OK =
compute(layer, *digi, lpoint, rpoint, tmpErr);
48 auto recHitPair = std::make_unique<DTRecHit1DPair>(wireId, *digi);
51 recHitPair->setPositionAndError(
DTEnums::Left, lpoint, tmpErr);
T getParameter(std::string const &) const
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.
DTRecHitBaseAlgo(const edm::ParameterSet &config)
Constructor.
std::pair< int, edm::FunctionWithDict > OK
std::vector< DigiType >::const_iterator const_iterator
virtual bool compute(const DTLayer *layer, const DTDigi &digi, LocalPoint &leftPoint, LocalPoint &rightPoint, LocalError &error) const =0
std::pair< const_iterator, const_iterator > Range
T get(const Candidate &c)