#include <CaloExtractorByAssociator.h>
Public Member Functions | |
CaloExtractorByAssociator () | |
constructors More... | |
CaloExtractorByAssociator (const edm::ParameterSet &par, edm::ConsumesCollector &&iC) | |
reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const override |
no-op: by design of this extractor the deposits are pulled out all at a time More... | |
std::vector< reco::IsoDeposit > | deposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const override |
return deposits for 3 calorimeter subdetectors (ecal, hcal, ho) – in this order More... | |
void | fillVetos (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &tracks) override |
allows to set extra vetoes (in addition to the muon) – no-op at this point More... | |
~CaloExtractorByAssociator () override | |
destructor More... | |
Public Member Functions inherited from reco::isodeposit::IsoDepositExtractor | |
virtual reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackBaseRef &track) const |
make single IsoDeposit based on trackRef as input More... | |
virtual reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Candidate &track) const |
virtual reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::CandidateBaseRef &track) const |
make single IsoDeposit based on a CandidateBaseRef as input More... | |
virtual std::vector< reco::IsoDeposit > | deposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackBaseRef &track) const |
virtual std::vector< reco::IsoDeposit > | deposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Candidate &track) const |
virtual std::vector< reco::IsoDeposit > | deposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::CandidateBaseRef &track) const |
virtual void | initEvent (const edm::Event &, const edm::EventSetup &) |
perform some constly initialization More... | |
virtual | ~IsoDepositExtractor () |
Destructor. More... | |
Private Member Functions | |
double | noiseEcal (const CaloTower &tower) const |
Determine noise for HCAL and ECAL (take some defaults for the time being) More... | |
double | noiseHcal (const CaloTower &tower) const |
double | noiseHOcal (const CaloTower &tower) const |
double | noiseRecHit (const DetId &detId) const |
Definition at line 49 of file CaloExtractorByAssociator.h.
|
inline |
CaloExtractorByAssociator::CaloExtractorByAssociator | ( | const edm::ParameterSet & | par, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 40 of file CaloExtractorByAssociator.cc.
References caloGeomToken_, ecalPFRechitThresholdsToken_, ecalRecHitThresh_, edm::ParameterSet::getParameter(), hcalChannelQualityToken_, hcalCutsFromDB_, hcalCutsToken_, hcalSevLvlComputerToken_, hcalTopologyToken_, TrackAssociatorParameters::loadParameters(), MuonServiceProxy_cff::MuonServiceProxy, theAssociator, theAssociatorParameters, theService, and HLT_2024v14_cff::TrackAssociatorParameters.
|
override |
destructor
Definition at line 87 of file CaloExtractorByAssociator.cc.
References theAssociator, theAssociatorParameters, and theService.
|
overridevirtual |
no-op: by design of this extractor the deposits are pulled out all at a time
Implements reco::isodeposit::IsoDepositExtractor.
Definition at line 104 of file CaloExtractorByAssociator.cc.
|
overridevirtual |
return deposits for 3 calorimeter subdetectors (ecal, hcal, ho) – in this order
Make separate deposits: for ECAL, HCAL, HO.
check configuration consistency could've been made at construction stage (fix later?)
this should be (eventually) set to the eta-phi of the crossing point of a straight line tangent to a muon at IP and the calorimeter
each deposit type veto is at the point of intersect with that detector
first check if the hit is inside the veto cone by dR-alone
and now pitch those in the crossed list
first check if the hit is inside the veto cone by dR-alone
and now pitch those in the crossed list
first check if the hit is inside the veto cone by dR-alone
and now pitch those in the crossed list
use calo towers
first check if the tower is inside the veto cone by dR-alone
first check if the tower is inside the veto cone by dR-alone
first check if the tower is inside the veto cone by dR-alone
and now pitch those in the crossed list
add the Et of the tower to deposits if it's not a vetoed; put into muonEnergy otherwise
Reimplemented from reco::isodeposit::IsoDepositExtractor.
Definition at line 118 of file CaloExtractorByAssociator.cc.
References reco::IsoDeposit::addCandEnergy(), reco::IsoDeposit::addDeposit(), TrackDetectorAssociator::associate(), Calorimetry_cff::bField, bFieldToken_, caloGeomToken_, compare(), TrackDetMatchInfo::crossedEcalIds, TrackDetMatchInfo::crossedHcalIds, TrackDetMatchInfo::crossedHOIds, TrackDetMatchInfo::crossedTowerIds, reco::deltaR2(), HLTMuonOfflineAnalyzer_cfi::deltaR2, CaloRecHit::detid(), EcalRecHit::detid(), reco::IsoDeposit::Veto::dR, ecalPFRechitThresholdsToken_, TrackDetMatchInfo::ecalRecHits, ecalThresholds, CaloTower::emEnergy(), CaloTower::emEt(), hcalRecHitTable_cff::energy, CaloRecHit::energy(), EcalRecHit::energy(), l1tnanotables_cff::et, PV3DBase< T, PVType, FrameType >::eta(), reco::LeafCandidate::eta(), options_cfi::eventSetup, RemoveAddSevLevel::flag, CaloRecHit::flags(), HcalSeverityLevelComputer::getSeverityLevel(), HcalChannelStatus::getValue(), HcalCondObjectContainer< Item >::getValues(), CaloTower::hadEnergy(), CaloTower::hadEt(), HcalBarrel, hcalChannelQualityToken_, hcalChStatus_, hcalCuts, hcalCutsToken_, HcalEndcap, TrackDetMatchInfo::hcalRecHits, hcalSevLvlComputer_, hcalSevLvlComputerToken_, hcalTopology_, hcalTopologyToken_, TrackDetMatchInfo::hoRecHits, HBHERecHit::id(), CaloTower::id(), HcalTopology::idFront(), reco::TransientTrack::initialFreeState(), B2GTnPMonitor_cfi::item, LogDebug, SiStripPI::max, noiseEcal(), noiseHcal(), noiseHOcal(), noiseRecHit(), l1tHGCalVFEProducer_cfi::noiseThreshold, or, CaloTower::outerEnergy(), CaloTower::outerEt(), PV3DBase< T, PVType, FrameType >::phi(), reco::LeafCandidate::phi(), funct::pow(), DetId::rawId(), HcalSeverityLevelComputer::recoveredRecHit(), TrackDetectorAssociator::setPropagator(), reco::IsoDeposit::setVeto(), ErrorSummaryFilter_cfi::severity, AlCaHLTBitMon_QueryRunRegistry::string, theAssociator, theAssociatorParameters, theCenterConeOnCalIntersection, theDepositInstanceLabels, theDR_Max, theDR_Veto_E, theDR_Veto_H, theDR_Veto_HO, theMaxSeverityHB, theMaxSeverityHE, thePropagatorName, theService, theThreshold_E, theThreshold_H, theThreshold_HO, theUseEcalRecHitsFlag, theUseHcalRecHitsFlag, theUseHORecHitsFlag, TrackDetMatchInfo::towers, TrackDetMatchInfo::trkGlobPosAtEcal, TrackDetMatchInfo::trkGlobPosAtHcal, TrackDetMatchInfo::trkGlobPosAtHO, reco::IsoDeposit::veto(), and reco::IsoDeposit::Veto::vetoDir.
|
overridevirtual |
allows to set extra vetoes (in addition to the muon) – no-op at this point
Implements reco::isodeposit::IsoDepositExtractor.
Definition at line 96 of file CaloExtractorByAssociator.cc.
|
private |
Determine noise for HCAL and ECAL (take some defaults for the time being)
Definition at line 437 of file CaloExtractorByAssociator.cc.
References PVValHelper::eta, hgchebackDigitizer_cfi::noise, theNoiseTow_EB, theNoiseTow_EE, and l1tHGCalTowerProducer_cfi::tower.
Referenced by deposits().
|
private |
Definition at line 445 of file CaloExtractorByAssociator.cc.
References hgchebackDigitizer_cfi::noise, theNoise_HB, theNoise_HE, and l1tHGCalTowerProducer_cfi::tower.
Referenced by deposits().
|
private |
Definition at line 450 of file CaloExtractorByAssociator.cc.
References hgchebackDigitizer_cfi::noise, and theNoise_HO.
Referenced by deposits().
|
private |
Definition at line 455 of file CaloExtractorByAssociator.cc.
References hcalRecHitTable_cff::detId, DetId::Ecal, EcalBarrel, EcalEndcap, DetId::Hcal, HcalBarrel, HcalEndcap, HcalOuter, hgchebackDigitizer_cfi::noise, theNoise_EB, theNoise_EE, theNoise_HB, theNoise_HE, and theNoise_HO.
Referenced by deposits().
|
private |
Definition at line 122 of file CaloExtractorByAssociator.h.
Referenced by deposits().
|
private |
Definition at line 123 of file CaloExtractorByAssociator.h.
Referenced by CaloExtractorByAssociator(), and deposits().
|
private |
Definition at line 126 of file CaloExtractorByAssociator.h.
Referenced by CaloExtractorByAssociator(), and deposits().
|
private |
Definition at line 127 of file CaloExtractorByAssociator.h.
Referenced by CaloExtractorByAssociator().
|
private |
Definition at line 128 of file CaloExtractorByAssociator.h.
Referenced by deposits().
|
private |
Definition at line 136 of file CaloExtractorByAssociator.h.
Referenced by CaloExtractorByAssociator(), and deposits().
|
private |
Definition at line 139 of file CaloExtractorByAssociator.h.
Referenced by deposits().
|
private |
Definition at line 133 of file CaloExtractorByAssociator.h.
Referenced by deposits().
|
private |
Definition at line 132 of file CaloExtractorByAssociator.h.
Referenced by CaloExtractorByAssociator().
|
private |
Definition at line 131 of file CaloExtractorByAssociator.h.
Referenced by CaloExtractorByAssociator(), and deposits().
|
private |
Definition at line 140 of file CaloExtractorByAssociator.h.
Referenced by deposits().
|
private |
Definition at line 137 of file CaloExtractorByAssociator.h.
Referenced by CaloExtractorByAssociator(), and deposits().
|
private |
Definition at line 138 of file CaloExtractorByAssociator.h.
Referenced by deposits().
|
private |
Definition at line 135 of file CaloExtractorByAssociator.h.
Referenced by CaloExtractorByAssociator(), and deposits().
|
private |
Definition at line 120 of file CaloExtractorByAssociator.h.
Referenced by CaloExtractorByAssociator(), deposits(), and ~CaloExtractorByAssociator().
|
private |
associator, its' parameters and the propagator
Definition at line 119 of file CaloExtractorByAssociator.h.
Referenced by CaloExtractorByAssociator(), deposits(), and ~CaloExtractorByAssociator().
|
private |
centers the cone on the veto direction – makes more sense for very displaced tracks like in cosmics
Definition at line 98 of file CaloExtractorByAssociator.h.
Referenced by deposits().
|
private |
multiple deposits: labels – expect 3 labels beginning with "e", "h", "ho"
Definition at line 79 of file CaloExtractorByAssociator.h.
Referenced by deposits().
|
private |
Label of deposit – suggest to set to "" (all info is in collection name anyways)
Definition at line 76 of file CaloExtractorByAssociator.h.
|
private |
max cone size in which towers are considered
Definition at line 100 of file CaloExtractorByAssociator.h.
Referenced by deposits().
|
private |
cone sizes inside which the Et (towers) are not counted
Definition at line 93 of file CaloExtractorByAssociator.h.
Referenced by deposits().
|
private |
Definition at line 94 of file CaloExtractorByAssociator.h.
Referenced by deposits().
|
private |
Definition at line 95 of file CaloExtractorByAssociator.h.
Referenced by deposits().
|
private |
Definition at line 89 of file CaloExtractorByAssociator.h.
Referenced by deposits().
|
private |
Definition at line 90 of file CaloExtractorByAssociator.h.
Referenced by deposits().
|
private |
the noise "sigmas" for a hit or tower to be considered consider if Energy > 3.*sigma
Definition at line 104 of file CaloExtractorByAssociator.h.
Referenced by noiseRecHit().
|
private |
Definition at line 105 of file CaloExtractorByAssociator.h.
Referenced by noiseRecHit().
|
private |
Definition at line 106 of file CaloExtractorByAssociator.h.
Referenced by noiseHcal(), and noiseRecHit().
|
private |
Definition at line 107 of file CaloExtractorByAssociator.h.
Referenced by noiseHcal(), and noiseRecHit().
|
private |
Definition at line 108 of file CaloExtractorByAssociator.h.
Referenced by noiseHOcal(), and noiseRecHit().
|
private |
Definition at line 109 of file CaloExtractorByAssociator.h.
Referenced by noiseEcal().
|
private |
Definition at line 110 of file CaloExtractorByAssociator.h.
Referenced by noiseEcal().
|
private |
flag to turn on/off printing of a time report
Definition at line 143 of file CaloExtractorByAssociator.h.
|
private |
propagator name to feed into the track associator
Definition at line 82 of file CaloExtractorByAssociator.h.
Referenced by deposits().
|
private |
the event setup proxy, it takes care the services update
Definition at line 116 of file CaloExtractorByAssociator.h.
Referenced by CaloExtractorByAssociator(), deposits(), and ~CaloExtractorByAssociator().
|
private |
Cone cuts and thresholds min values of Et to be included in deposits
Definition at line 86 of file CaloExtractorByAssociator.h.
Referenced by deposits().
|
private |
Definition at line 87 of file CaloExtractorByAssociator.h.
Referenced by deposits().
|
private |
Definition at line 88 of file CaloExtractorByAssociator.h.
Referenced by deposits().
|
private |
use towers or rec hits
Definition at line 71 of file CaloExtractorByAssociator.h.
Referenced by deposits().
|
private |
Definition at line 72 of file CaloExtractorByAssociator.h.
Referenced by deposits().
|
private |
Definition at line 73 of file CaloExtractorByAssociator.h.
Referenced by deposits().
|
private |
Vector of calo Ids to veto – not used.
Definition at line 113 of file CaloExtractorByAssociator.h.