Classes | |
struct | ElectronMomentum |
float egamma::classBasedElectronEnergy | ( | reco::GsfElectron const & | electron, |
reco::BeamSpot const & | bs, | ||
EcalClusterFunctionBaseClass const & | crackCorrectionFunction | ||
) |
Definition at line 296 of file ElectronEnergyCorrector.cc.
References reco::GsfElectron::classification(), corr, EgHLTOffHistBins_cfi::et, hcaldqm::quantity::fEnergy, EcalClusterFunctionBaseClass::getValue(), reco::GsfElectron::isEB(), reco::GsfElectron::isEE(), and reco::GsfElectron::superCluster().
Referenced by GsfElectronAlgo::createElectron().
double egamma::classBasedElectronEnergyUncertainty | ( | reco::GsfElectron const & | electron | ) |
Definition at line 271 of file ElectronEnergyCorrector.cc.
References reco::GsfElectron::classification(), reco::GsfElectron::correctedEcalEnergy(), electronEnergyUncertainty(), and reco::GsfElectron::superCluster().
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, reco::GsfElectron::classification(), reco::GsfElectron::correctedEcalEnergy(), reco::GsfElectron::correctedEcalEnergyError(), EgHLTOffHistBins_cfi::eOverP, reco::GsfElectron::GAP, reco::GsfElectron::GOLDEN, reco::GsfElectron::isEB(), reco::GsfElectron::isEE(), GaussianSumUtilities1D::mode(), MultiGaussianStateTransform::multiState1D(), reco::GsfElectron::p4(), Scenarios_cff::scale, reco::GsfElectron::SHOWERING, mathSSE::sqrt(), reco::btau::trackMomentum, reco::GsfElectron::trackMomentumAtVtx(), and SingleGaussianState1D::variance().
Referenced by GsfElectronAlgo::createElectron().
double egamma::electronEnergyUncertainty | ( | reco::GsfElectron::Classification | c, |
double | eta, | ||
double | brem, | ||
double | energy | ||
) |
Definition at line 402 of file EnergyUncertaintyElectronSpecific.cc.
References Exception.
Referenced by classBasedElectronEnergyUncertainty().
std::pair< TrackRef, float > egamma::getClosestCtfToGsf | ( | reco::GsfTrackRef const & | gsfTrackRef, |
edm::Handle< reco::TrackCollection > const & | ctfTracksH | ||
) |
Definition at line 17 of file GsfElectronTools.cc.
References funct::abs(), TrackingRecHit::all, HLT_2018_cff::dEta, HLT_2018_cff::dPhi, reco::HitPattern::getHitPattern(), reco::HitPattern::hitPattern, min(), pi, reco::HitPattern::pixelHitFilter(), edm::Handle< T >::product(), mathSSE::sqrt(), reco::HitPattern::stripTIBHitFilter(), reco::HitPattern::stripTIDHitFilter(), and reco::HitPattern::TRACK_HITS.
Referenced by GsfElectronAlgo::createElectron(), and GsfElectronCoreBaseProducer::fillElectronCore().
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 edm::EventID::event(), edm::EventBase::id(), createfilelist::int, edm::EventID::luminosityBlock(), M_PI, SiStripPI::max, edm::EventID::run(), and SurveyInfoScenario_cff::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 edm::EventID::event(), edm::EventBase::id(), createfilelist::int, edm::Ref< C, T, F >::key(), edm::EventID::luminosityBlock(), hltrates_dqm_sourceclient-live_cfg::offset, edm::EventID::run(), and SurveyInfoScenario_cff::seed.
Referenced by CalibratedPhotonProducerT< T >::setSemiDetRandomSeed(), and CalibratedElectronProducerT< T >::setSemiDetRandomSeed().
bool egamma::isBetterElectron | ( | reco::GsfElectron const & | e1, |
reco::GsfElectron const & | e2 | ||
) |
Definition at line 16 of file EgAmbiguityTools.cc.
References funct::abs(), and reco::GsfElectron::eSuperClusterOverP().
Referenced by isInnermostElectron(), and GsfElectronBaseProducer::setAmbiguityData().
bool egamma::isInnermostElectron | ( | reco::GsfElectron const & | e1, |
reco::GsfElectron const & | e2 | ||
) |
Definition at line 20 of file EgAmbiguityTools.cc.
References reco::GsfElectron::gsfTrack(), and isBetterElectron().
Referenced by GsfElectronBaseProducer::setAmbiguityData().
int egamma::sharedDets | ( | reco::GsfTrackRef const & | , |
reco::GsfTrackRef const & | |||
) |
int egamma::sharedDets | ( | const GsfTrackRef & | gsfTrackRef1, |
const GsfTrackRef & | 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 EcalBarrel, EcalEndcap, edm::SortedCollection< T, SORT >::end(), edm::SortedCollection< T, SORT >::find(), HLT_2018_cff::fractionShared, and reco::CaloCluster::hitsAndFractions().
Referenced by RealisticHitToClusterAssociator::findAndMergeInvisibleClusters(), GsfElectronBaseProducer::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 sharedEnergy().
int egamma::sharedHits | ( | reco::GsfTrackRef const & | , |
reco::GsfTrackRef const & | |||
) |
int egamma::sharedHits | ( | const GsfTrackRef & | gsfTrackRef1, |
const GsfTrackRef & | 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 reco::GsfElectron::correctedEcalEnergy(), relativeConstraints::error, reco::GsfElectron::isEB(), and reco::GsfElectron::isEE().
Referenced by GsfElectronAlgo::createElectron().