Functions | |
double | ecalEta (const math::XYZVector &momentum, const math::XYZPoint &vertex) |
double | ecalPhi (const MagneticField &magField, const math::XYZVector &momentum, const math::XYZPoint &vertex, const int charge) |
void | localEcalClusterCoordsEB (const reco::CaloCluster &bclus, const CaloGeometry &geom, float &etacry, float &phicry, int &ieta, int &iphi, float &thetatilt, float &phitilt) |
void | localEcalClusterCoordsEE (const reco::CaloCluster &bclus, const CaloGeometry &geom, float &xcry, float &ycry, int &ix, int &iy, float &thetatilt, float &phitilt) |
template<class Candidate > | |
void | validateEgammaCandidate (Candidate const &candidate) |
void | validateGsfElectron (reco::GsfElectron const &electron) |
double egammaTools::ecalEta | ( | const math::XYZVector & | momentum, |
const math::XYZPoint & | vertex | ||
) |
Definition at line 71 of file ECALPositionCalculator.cc.
References ETA, etaBarrelEndcap, dqm-mbProfile::log, Geom::pi(), R_ECAL, funct::tan(), theta(), bphysicsOniaDQM_cfi::vertex, and Z_Endcap.
Referenced by ContainmentCorrectionAnalyzer::analyze(), and PreshowerAndECALLinker::testLink().
double egammaTools::ecalPhi | ( | const MagneticField & | magField, |
const math::XYZVector & | momentum, | ||
const math::XYZPoint & | vertex, | ||
const int | charge | ||
) |
Definition at line 16 of file ECALPositionCalculator.cc.
References trklet::bend(), ALCARECOTkAlJpsiMuMu_cff::charge, etaBarrelEndcap, MagneticField::inTesla(), Geom::pi(), Geom::twoPi(), bphysicsOniaDQM_cfi::vertex, and PV3DBase< T, PVType, FrameType >::z().
Referenced by MuonMETAlgo::correctMETforMuon(), and PreshowerAndECALLinker::testLink().
void egammaTools::localEcalClusterCoordsEB | ( | const reco::CaloCluster & | bclus, |
const CaloGeometry & | geom, | ||
float & | etacry, | ||
float & | phicry, | ||
int & | ieta, | ||
int & | iphi, | ||
float & | thetatilt, | ||
float & | phitilt | ||
) |
Definition at line 14 of file EcalClusterLocal.cc.
References cms::cuda::assert(), reco::deltaR(), LEDCalibrationChannels::depth, flavorHistoryFilter_cfi::dr, DetId::Ecal, EcalBarrel, reco::CaloCluster::energy(), PV3DBase< T, PVType, FrameType >::eta(), first, relativeConstraints::geom, TruncatedPyramid::getPhiAxis(), TruncatedPyramid::getPosition(), CaloGeometry::getSubdetectorGeometry(), TruncatedPyramid::getThetaAxis(), reco::CaloCluster::hitsAndFractions(), EBDetId::ieta(), LEDCalibrationChannels::ieta, EBDetId::iphi(), LEDCalibrationChannels::iphi, dqm-mbProfile::log, PV3DBase< T, PVType, FrameType >::phi(), VtxSmearedParameters_cfi::Phi, Pi, reco::CaloCluster::position(), PV3DBase< T, PVType, FrameType >::theta(), and MonitorAlCaEcalPi0_cfi::X0.
Referenced by EGEnergyCorrector::CorrectedEnergyWithError(), EGEnergyCorrector::CorrectedEnergyWithErrorV3(), EcalRegressionData::fill(), EGRegressionModifierV3::getSeedCrysCoord(), SuperClusterHelper::localCoordinates(), EGRegressionModifierV2::modifyObject(), and EGRegressionModifierV1::modifyObject().
void egammaTools::localEcalClusterCoordsEE | ( | const reco::CaloCluster & | bclus, |
const CaloGeometry & | geom, | ||
float & | xcry, | ||
float & | ycry, | ||
int & | ix, | ||
int & | iy, | ||
float & | thetatilt, | ||
float & | phitilt | ||
) |
Definition at line 88 of file EcalClusterLocal.cc.
References Abs(), cms::cuda::assert(), reco::deltaR(), LEDCalibrationChannels::depth, flavorHistoryFilter_cfi::dr, DetId::Ecal, EcalEndcap, reco::CaloCluster::energy(), PV3DBase< T, PVType, FrameType >::eta(), reco::CaloCluster::eta(), first, relativeConstraints::geom, TruncatedPyramid::getPhiAxis(), TruncatedPyramid::getPosition(), CaloGeometry::getSubdetectorGeometry(), TruncatedPyramid::getThetaAxis(), reco::CaloCluster::hitsAndFractions(), EEDetId::ix(), EEDetId::iy(), dqm-mbProfile::log, VtxSmearedParameters_cfi::Phi, reco::CaloCluster::position(), X, PV3DBase< T, PVType, FrameType >::x(), MonitorAlCaEcalPi0_cfi::X0, BeamSpotPI::Y, and PV3DBase< T, PVType, FrameType >::y().
Referenced by EcalRegressionData::fill(), EGRegressionModifierV3::getSeedCrysCoord(), SuperClusterHelper::localCoordinates(), EGRegressionModifierV2::modifyObject(), and EGRegressionModifierV1::modifyObject().
void egammaTools::validateEgammaCandidate | ( | Candidate const & | candidate | ) |
Definition at line 11 of file validateEgammaCandidate.h.
References validateGsfElectron().
Referenced by MVAValueMapProducer< ParticleType >::produce().
void egammaTools::validateGsfElectron | ( | reco::GsfElectron const & | electron | ) |
Definition at line 5 of file validateEgammaCandidate.cc.
References metsig::electron, and Exception.
Referenced by validateEgammaCandidate().