36 consumesCollector())} {
38 cout <<
"[DTRecHitProducer] Constructor called" << endl;
40 produces<DTRecHitCollection>();
42 DTDigiToken_ = consumes<DTDigiCollection>(
config.getParameter<
InputTag>(
"dtDigiLabel"));
47 cout <<
"[DTRecHitProducer] Destructor called" << endl;
62 auto recHitCollection = std::make_unique<DTRecHitCollection>();
66 for (dtLayerIt = digis->begin(); dtLayerIt != digis->end(); ++dtLayerIt) {
68 const DTLayerId& layerId = (*dtLayerIt).first;
78 cout <<
"Number of hits in this layer: " <<
recHits.size() << endl;
edm::EDGetTokenT< DTDigiCollection > DTDigiToken_
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer
~DTRecHitProducer() override
Destructor.
DTRecHitProducer(const edm::ParameterSet &)
Constructor.
std::pair< const_iterator, const_iterator > Range
void produce(edm::Event &event, const edm::EventSetup &setup) override
The method which produces the rechits.
std::unique_ptr< DTRecHitBaseAlgo > theAlgo
const DTLayer * layer(const DTLayerId &id) const
Return a layer given its id.
edm::ESGetToken< DTGeometry, MuonGeometryRecord > dtGeomToken_