Go to the documentation of this file.
22 produces<DetIdCollection>();
24 caloTopoToken_ = esConsumes<CaloTopology, CaloTopologyRecord, edm::Transition::BeginRun>();
41 if (!
muon->isEnergyValid())
43 if (
muon->calEnergy().ecal_id.rawId() == 0)
48 for (std::vector<DetId>::const_iterator
id = ids.begin();
id != ids.end(); ++
id)
InterestingEcalDetIdProducer(const edm::ParameterSet &)
edm::ESGetToken< CaloTopology, CaloTopologyRecord > caloTopoToken_
void beginRun(const edm::Run &, const edm::EventSetup &) override
std::vector< DetId > getWindow(const DetId &id, const int &northSouthSize, const int &eastWestSize) const
Get the neighbors of the given cell in a window of given size.
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
void produce(edm::Event &, const edm::EventSetup &) override
const CaloTopology * caloTopology_
const CaloTopology * topology(nullptr)
~InterestingEcalDetIdProducer() override
edm::EDGetTokenT< reco::MuonCollection > muonToken_
const CaloSubdetectorTopology * getSubdetectorTopology(const DetId &id) const
access the subdetector Topology for the given subdetector directly
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
T getParameter(std::string const &) const
interestingDetIdCollection
edm::InputTag inputCollection_