#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(), l1ctLayer2EG_cff::id, iEvent, interestingDetIdCollectionProducer_cfi::interestingDetIdCollection, eostools::move(), HLT_2023v12_cff::muon, DiMuonV_cfg::muons, muonToken_, and pfClusterHBHEAlpaka_cff::topology.
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)
muons
the two sets of parameters below are mutually exclusive, depending if RECO or ALCARECO is used the us...
edm::EDGetTokenT< reco::MuonCollection > muonToken_
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_