#include <InterestingEcalDetIdProducer.h>
◆ InterestingEcalDetIdProducer()
InterestingEcalDetIdProducer::InterestingEcalDetIdProducer |
( |
const edm::ParameterSet & |
iConfig | ) |
|
|
explicit |
◆ ~InterestingEcalDetIdProducer()
InterestingEcalDetIdProducer::~InterestingEcalDetIdProducer |
( |
| ) |
|
|
override |
◆ beginRun()
◆ produce()
Definition at line 34 of file InterestingEcalDetIdProducer.cc.
References caloTopology_, DetId::Ecal, spr::find(), CaloTopology::getSubdetectorTopology(), CaloSubdetectorTopology::getWindow(), l1ctLayer2EG_cff::id, iEvent, interestingDetIdCollectionProducer_cfi::interestingDetIdCollection, eostools::move(), HLT_2022v15_cff::muon, PDWG_BPHSkim_cff::muons, and muonToken_.
41 if (!
muon->isEnergyValid())
43 if (
muon->calEnergy().ecal_id.rawId() == 0)
47 const std::vector<DetId>& ids = topology->
getWindow(
muon->calEnergy().ecal_id, 5, 5);
48 for (std::vector<DetId>::const_iterator
id = ids.begin();
id != ids.end(); ++
id)
const CaloTopology * caloTopology_
interestingDetIdCollection
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
edm::EDGetTokenT< reco::MuonCollection > muonToken_
virtual std::vector< DetId > getWindow(const DetId &id, const int &northSouthSize, const int &eastWestSize) const
const CaloSubdetectorTopology * getSubdetectorTopology(const DetId &id) const
access the subdetector Topology for the given subdetector directly
◆ caloTopology_
const CaloTopology* InterestingEcalDetIdProducer::caloTopology_ |
|
private |
◆ caloTopoToken_
◆ inputCollection_
◆ muonToken_