Namespaces | |
conv | |
Classes | |
struct | ElectronMomentum |
Enumerations | |
enum | HoeMode { HoeMode::SingleTower = 0, HoeMode::TowersBehindCluster = 1 } |
|
strong |
Enumerator | |
---|---|
SingleTower | |
TowersBehindCluster |
Definition at line 16 of file EgammaHadTower.h.
float egamma::classBasedElectronEnergy | ( | reco::GsfElectron const & | electron, |
reco::BeamSpot const & | bs, | ||
EcalClusterFunctionBaseClass const & | crackCorrectionFunction | ||
) |
Definition at line 296 of file ElectronEnergyCorrector.cc.
References alignCSCRings::corr, HPSPFTauProducerPuppi_cfi::electron, HCALHighEnergyHPDFilter_cfi::energy, EgHLTOffHistBins_cfi::et, JetChargeProducer_cfi::exp, hcaldqm::quantity::fEnergy, EcalClusterFunctionBaseClass::getValue(), and funct::sin().
Referenced by GsfElectronAlgo::createElectron().
double egamma::classBasedElectronEnergyUncertainty | ( | reco::GsfElectron const & | electron | ) |
Definition at line 271 of file ElectronEnergyCorrector.cc.
References HPSPFTauProducerPuppi_cfi::electron, and electronEnergyUncertainty().
Referenced by GsfElectronAlgo::createElectron().
reco::GsfElectron::Classification egamma::classifyElectron | ( | reco::GsfElectron const & | ) |
Referenced by GsfElectronAlgo::createElectron().
egamma::ElectronMomentum egamma::correctElectronMomentum | ( | reco::GsfElectron const & | electron, |
TrajectoryStateOnSurface const & | vtxTsos | ||
) |
Definition at line 23 of file ElectronMomentumCorrector.cc.
References reco::GsfElectron::BADTRACK, reco::GsfElectron::BIGBREM, HPSPFTauProducerPuppi_cfi::electron, EgHLTOffHistBins_cfi::eOverP, reco::GsfElectron::GAP, reco::GsfElectron::GOLDEN, GaussianSumUtilities1D::mode(), MultiGaussianStateTransform::multiState1D(), L1EGammaClusterEmuProducer_cfi::scale, reco::GsfElectron::SHOWERING, mathSSE::sqrt(), reco::btau::trackMomentum, and SingleGaussianState1D::variance().
Referenced by GsfElectronAlgo::createElectron().
double egamma::depth1HcalESum | ( | std::vector< CaloTowerDetId > const & | towers, |
CaloTowerCollection const & | towerCollection | ||
) |
Definition at line 73 of file EgammaHadTower.cc.
References spr::find(), hgcalTowerProducer_cfi::tower, hltRegionalTowerForEgamma_cfi::towerCollection, and HLT_2022v12_cff::towers.
Referenced by SuperClusterImporter::importToBlock(), and EgammaHLTBcHcalIsolationProducersRegional::produce().
double egamma::depth2HcalESum | ( | std::vector< CaloTowerDetId > const & | towers, |
CaloTowerCollection const & | towerCollection | ||
) |
Definition at line 83 of file EgammaHadTower.cc.
References spr::find(), hgcalTowerProducer_cfi::tower, hltRegionalTowerForEgamma_cfi::towerCollection, and HLT_2022v12_cff::towers.
Referenced by SuperClusterImporter::importToBlock(), and EgammaHLTBcHcalIsolationProducersRegional::produce().
float egamma::ecalClusterEnergyUncertaintyElectronSpecific | ( | reco::SuperCluster const & | superCluster | ) |
Definition at line 4 of file ecalClusterEnergyUncertaintyElectronSpecific.cc.
References reco::CaloCluster::energy(), EgHLTOffHistBins_cfi::et, PVValHelper::eta, reco::CaloCluster::eta(), MuonErrorMatrixAnalyzer_cfi::EtaBins, reco::SuperCluster::etaWidth(), L1TowerCalibrationProducer_cfi::iEta, hgcalTowerMapProducer_cfi::nBinsEta, pfMETCorrectionType0_cfi::par0, pfMETCorrectionType0_cfi::par1, pfMETCorrectionType0_cfi::par2, pfMETCorrectionType0_cfi::par3, and reco::SuperCluster::phiWidth().
Referenced by GsfElectronAlgo::createElectron().
double egamma::electronEnergyUncertainty | ( | reco::GsfElectron::Classification | c, |
double | eta, | ||
double | brem, | ||
double | energy | ||
) |
Definition at line 403 of file EnergyUncertaintyElectronSpecific.cc.
References c, HCALHighEnergyHPDFilter_cfi::energy, PVValHelper::eta, and Exception.
Referenced by classBasedElectronEnergyUncertainty().
std::pair< TrackRef, float > egamma::getClosestCtfToGsf | ( | reco::GsfTrackRef const & | gsfTrackRef, |
edm::Handle< reco::TrackCollection > const & | ctfTracksH, | ||
edm::soa::EtaPhiTableView | trackEtaPhiTable | ||
) |
Definition at line 16 of file GsfElectronTools.cc.
References TrackingRecHit::all, reco::deltaR2(), reco::HitPattern::getHitPattern(), reco::HitPattern::hitPattern, SiStripPI::min, reco::HitPattern::pixelHitFilter(), edm::Handle< T >::product(), reco::HitPattern::stripTIBHitFilter(), reco::HitPattern::stripTIDHitFilter(), and reco::HitPattern::TRACK_HITS.
Referenced by LowPtGsfElectronCoreProducer::produce(), GsfElectronCoreEcalDrivenProducer::produce(), and GEDGsfElectronCoreProducer::produceElectronCore().
uint32_t egamma::getRandomSeedFromObj | ( | const edm::Event & | iEvent, |
const T & | obj, | ||
size_t | nrObjs, | ||
size_t | objNr | ||
) |
Definition at line 21 of file EgammaRandomSeeds.h.
References iEvent, createfilelist::int, M_PI, SiStripPI::max, getGTfromDQMFile::obj, and fileCollector::seed.
Referenced by CalibratedPhotonProducerT< T >::setSemiDetRandomSeed(), and CalibratedElectronProducerT< T >::setSemiDetRandomSeed().
uint32_t egamma::getRandomSeedFromSC | ( | const edm::Event & | iEvent, |
const reco::SuperClusterRef | scRef | ||
) |
Definition at line 5 of file EgammaRandomSeeds.cc.
References iEvent, createfilelist::int, edm::Ref< C, T, F >::key(), hltrates_dqm_sourceclient-live_cfg::offset, and fileCollector::seed.
Referenced by CalibratedPhotonProducerT< T >::setSemiDetRandomSeed(), and CalibratedElectronProducerT< T >::setSemiDetRandomSeed().
bool egamma::hasActiveHcal | ( | std::vector< CaloTowerDetId > const & | towers, |
CaloTowerConstituentsMap const & | towerMap, | ||
HcalChannelQuality const & | hcalQuality, | ||
HcalTopology const & | hcalTopology | ||
) |
Definition at line 93 of file EgammaHadTower.cc.
References CaloTowerConstituentsMap::constituentsOf(), gather_cfg::cout, TauDecayModes::dec, HcalDetId::depth(), HcalChannelStatus::getValue(), HcalCondObjectContainer< Item >::getValues(), DetId::Hcal, HcalBarrel, HcalChannelStatus::HcalCellDead, HcalChannelStatus::HcalCellMask, HcalChannelStatus::HcalCellOff, HcalEndcap, HcalTopology::idFront(), HcalDetId::ieta(), HcalDetId::iphi(), DetId::rawId(), mps_update::status, HcalDetId::subdet(), and HLT_2022v12_cff::towers.
Referenced by ElectronHcalHelper::hasActiveHcal().
bool egamma::isBetterElectron | ( | reco::GsfElectron const & | e1, |
reco::GsfElectron const & | e2 | ||
) |
Definition at line 16 of file EgAmbiguityTools.cc.
References funct::abs(), StorageManager_cfg::e1, and reco::GsfElectron::eSuperClusterOverP().
Referenced by isInnermostElectron(), and GsfElectronProducer::setAmbiguityData().
bool egamma::isInnermostElectron | ( | reco::GsfElectron const & | e1, |
reco::GsfElectron const & | e2 | ||
) |
Definition at line 20 of file EgAmbiguityTools.cc.
References StorageManager_cfg::e1, phase1PixelTopology::getLayer(), reco::GsfElectron::gsfTrack(), and isBetterElectron().
Referenced by GsfElectronProducer::setAmbiguityData().
int egamma::sharedDets | ( | reco::GsfTrackRef const & | gsfTrackRef1, |
reco::GsfTrackRef const & | gsfTrackRef2 | ||
) |
Definition at line 95 of file EgAmbiguityTools.cc.
References reco::HitPattern::getHitPattern().
float egamma::sharedEnergy | ( | reco::CaloCluster const & | clu1, |
reco::CaloCluster const & | clu2, | ||
EcalRecHitCollection const & | barrelRecHits, | ||
EcalRecHitCollection const & | endcapRecHits | ||
) |
Definition at line 140 of file EgAmbiguityTools.cc.
References HLT_2022v12_cff::barrelRecHits, EcalBarrel, EcalEndcap, HLT_2022v12_cff::endcapRecHits, HLT_2022v12_cff::fractionShared, and reco::CaloCluster::hitsAndFractions().
Referenced by RealisticHitToClusterAssociator::findAndMergeInvisibleClusters(), GsfElectronProducer::setAmbiguityData(), and sharedEnergy().
float egamma::sharedEnergy | ( | reco::SuperClusterRef const & | sc1, |
reco::SuperClusterRef const & | sc2, | ||
EcalRecHitCollection const & | barrelRecHits, | ||
EcalRecHitCollection const & | endcapRecHits | ||
) |
Definition at line 167 of file EgAmbiguityTools.cc.
References HLT_2022v12_cff::barrelRecHits, HLT_2022v12_cff::endcapRecHits, and sharedEnergy().
int egamma::sharedHits | ( | reco::GsfTrackRef const & | gsfTrackRef1, |
reco::GsfTrackRef const & | gsfTrackRef2 | ||
) |
Definition at line 48 of file EgAmbiguityTools.cc.
References reco::HitPattern::getHitPattern(), and TrackingRecHit::some.
double egamma::simpleElectronEnergyUncertainty | ( | reco::GsfElectron const & | electron | ) |
Definition at line 278 of file ElectronEnergyCorrector.cc.
References HPSPFTauProducerPuppi_cfi::electron, and relativeConstraints::error.
Referenced by GsfElectronAlgo::createElectron().
CaloTowerDetId egamma::towerOf | ( | reco::CaloCluster const & | cluster, |
CaloTowerConstituentsMap const & | towerMap | ||
) |
Definition at line 10 of file EgammaHadTower.cc.
References DetId::det(), DetId::Ecal, reco::CaloCluster::hitsAndFractions(), triggerObjects_cff::id, reco::CaloCluster::seed(), hgcalTowerProducer_cfi::tower, and CaloTowerConstituentsMap::towerOf().
Referenced by EgammaHcalIsolation::getHcalESumBc(), EgammaHcalIsolation::getHcalEtSumBc(), ecaldqm::TrigPrimTask::runOnDigis(), and towersOf().
std::vector< CaloTowerDetId > egamma::towersOf | ( | reco::SuperCluster const & | sc, |
CaloTowerConstituentsMap const & | towerMap, | ||
HoeMode | mode = HoeMode::SingleTower |
||
) |
Definition at line 25 of file EgammaHadTower.cc.
References alignmentValidation::c1, reco::SuperCluster::clustersBegin(), reco::SuperCluster::clustersEnd(), gather_cfg::cout, spr::find(), triggerObjects_cff::id, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, reco::SuperCluster::seed(), jetUpdater_cfi::sort, towerOf(), and HLT_2022v12_cff::towers.
Referenced by ElectronHcalHelper::hcalTowersBehindClusters(), SuperClusterImporter::importToBlock(), and EgammaHLTBcHcalIsolationProducersRegional::produce().