Typedefs | |
typedef math::XYZTLorentzVector | LorentzVector |
Functions | |
ConversionInfo | arbitrateConversionPartnersbyR (const std::vector< ConversionInfo > &v_convCandidates) |
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) |
ConversionInfo | findBestConversionMatch (const std::vector< ConversionInfo > &v_convCandidates) |
ConversionInfo | getConversionInfo (const reco::GsfElectron &gsfElectron, const edm::Handle< reco::TrackCollection > &ctftracks_h, const edm::Handle< reco::GsfTrackCollection > &gsftracks_h, const double bFieldAtOrigin, const double minFracSharedHits=0.45) |
ConversionInfo | getConversionInfo (const reco::GsfElectron &gsfElectron, const edm::Handle< reco::TrackCollection > &track_h, const double bFieldAtOrigin, const double minFracSharedHits=0.45) |
ConversionInfo | getConversionInfo (const reco::GsfElectronCore &, const edm::Handle< reco::TrackCollection > &ctftracks_h, const edm::Handle< reco::GsfTrackCollection > &gsftracks_h, const double bFieldAtOrigin, const double minFracSharedHits=0.45) |
ConversionInfo | getConversionInfo (const reco::Track *el_track, const reco::Track *candPartnerTk, const double bFieldAtOrigin) |
std::pair< double, double > | getConversionInfo (LorentzVector trk1_p4, int trk1_q, float trk1_d0, LorentzVector trk2_p4, int trk2_q, float trk2_d0, float bFieldAtOrigin) |
std::vector< ConversionInfo > | getConversionInfos (const reco::GsfElectronCore &, const edm::Handle< reco::TrackCollection > &ctftracks_h, const edm::Handle< reco::GsfTrackCollection > &gsftracks_h, const double bFieldAtOrigin, const double minFracSharedHits=0.45) |
const reco::Track * | getElectronTrack (const reco::GsfElectron &, const float minFracSharedHits=0.45) |
const reco::Track * | getElectronTrack (const reco::GsfElectronCore &, const float minFracSharedHits=0.45) |
bool | isFromConversion (const ConversionInfo &, double maxAbsDist=0.02, double maxAbsDcot=0.02) |
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) |
Definition at line 10 of file ConversionFinder.cc.
ConversionInfo egammaTools::arbitrateConversionPartnersbyR | ( | const std::vector< ConversionInfo > & | v_convCandidates | ) |
Definition at line 275 of file ConversionFinder.cc.
References mps_fire::i, funct::pow(), dttmaxenums::R, mathSSE::sqrt(), and groupFilesInBlocks::temp.
Referenced by findBestConversionMatch().
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().
ConversionInfo egammaTools::findBestConversionMatch | ( | const std::vector< ConversionInfo > & | v_convCandidates | ) |
Definition at line 297 of file ConversionFinder.cc.
References arbitrateConversionPartnersbyR(), mps_fire::i, funct::pow(), mathSSE::sqrt(), and groupFilesInBlocks::temp.
Referenced by getConversionInfo().
ConversionInfo egammaTools::getConversionInfo | ( | const reco::GsfElectron & | gsfElectron, |
const edm::Handle< reco::TrackCollection > & | ctftracks_h, | ||
const edm::Handle< reco::GsfTrackCollection > & | gsftracks_h, | ||
const double | bFieldAtOrigin, | ||
const double | minFracSharedHits = 0.45 |
||
) |
Definition at line 25 of file ConversionFinder.cc.
References reco::GsfElectron::core(), findBestConversionMatch(), getConversionInfos(), and groupFilesInBlocks::temp.
ConversionInfo egammaTools::getConversionInfo | ( | const reco::GsfElectron & | gsfElectron, |
const edm::Handle< reco::TrackCollection > & | track_h, | ||
const double | bFieldAtOrigin, | ||
const double | minFracSharedHits = 0.45 |
||
) |
Definition at line 404 of file ConversionFinder.cc.
References reco::TrackBase::charge(), reco::GsfElectron::closestCtfTrackRef(), funct::cos(), ztail::d, reco::TrackBase::d0(), PbPb_ZMuSkimMuonDPG_cff::deltaR, HGC3DClusterGenMatchSelector_cfi::dR, reco::TrackBase::dz(), RemoveAddSevLevel::flag, getElectronTrack(), reco::TrackBase::hitPattern(), edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::key(), reco::HitPattern::MISSING_INNER_HITS, reco::HitPattern::numberOfLostHits(), reco::TrackBase::p(), funct::pow(), edm::Handle< T >::product(), reco::TrackBase::pt(), reco::TrackBase::px(), reco::TrackBase::py(), reco::TrackBase::pz(), reco::GsfElectron::shFracInnerHits(), funct::sin(), mathSSE::sqrt(), and funct::tan().
ConversionInfo egammaTools::getConversionInfo | ( | const reco::GsfElectronCore & | gsfElectron, |
const edm::Handle< reco::TrackCollection > & | ctftracks_h, | ||
const edm::Handle< reco::GsfTrackCollection > & | gsftracks_h, | ||
const double | bFieldAtOrigin, | ||
const double | minFracSharedHits = 0.45 |
||
) |
Definition at line 35 of file ConversionFinder.cc.
References findBestConversionMatch(), getConversionInfos(), and groupFilesInBlocks::temp.
Referenced by GsfElectronAlgo::createElectron(), ZeeCandidateFilter::filter(), getConversionInfos(), and ElectronConversionRejectionVars::produce().
ConversionInfo egammaTools::getConversionInfo | ( | const reco::Track * | el_track, |
const reco::Track * | candPartnerTk, | ||
const double | bFieldAtOrigin | ||
) |
Definition at line 216 of file ConversionFinder.cc.
References reco::TrackBase::charge(), funct::cos(), ztail::d, reco::TrackBase::d0(), reco::TrackBase::dz(), reco::TrackBase::p(), funct::pow(), reco::TrackBase::pt(), reco::TrackBase::px(), reco::TrackBase::py(), reco::TrackBase::pz(), funct::sin(), mathSSE::sqrt(), and funct::tan().
std::pair<double, double> egammaTools::getConversionInfo | ( | LorentzVector | trk1_p4, |
int | trk1_q, | ||
float | trk1_d0, | ||
LorentzVector | trk2_p4, | ||
int | trk2_q, | ||
float | trk2_d0, | ||
float | bFieldAtOrigin | ||
) |
Definition at line 378 of file ConversionFinder.cc.
References funct::cos(), funct::pow(), funct::sin(), mathSSE::sqrt(), and funct::tan().
std::vector< ConversionInfo > egammaTools::getConversionInfos | ( | const reco::GsfElectronCore & | gsfElectron, |
const edm::Handle< reco::TrackCollection > & | ctftracks_h, | ||
const edm::Handle< reco::GsfTrackCollection > & | gsftracks_h, | ||
const double | bFieldAtOrigin, | ||
const double | minFracSharedHits = 0.45 |
||
) |
Definition at line 46 of file ConversionFinder.cc.
References reco::GsfElectronCore::ctfGsfOverlap(), reco::GsfElectronCore::ctfTrack(), ConversionInfo::dcot, PbPb_ZMuSkimMuonDPG_cff::deltaR, ConversionInfo::dist, edm::Ref< C, T, F >::get(), getConversionInfo(), reco::GsfElectronCore::gsfTrack(), edm::HandleBase::id(), edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::key(), reco::HitPattern::MISSING_INNER_HITS, ConversionInfo::pointOfConversion, edm::Handle< T >::product(), and ConversionInfo::radiusOfConversion.
Referenced by getConversionInfo().
const reco::Track * egammaTools::getElectronTrack | ( | const reco::GsfElectron & | electron, |
const float | minFracSharedHits = 0.45 |
||
) |
Definition at line 263 of file ConversionFinder.cc.
References metsig::electron.
Referenced by getConversionInfo().
const reco::Track* egammaTools::getElectronTrack | ( | const reco::GsfElectronCore & | , |
const float | minFracSharedHits = 0.45 |
||
) |
bool egammaTools::isFromConversion | ( | const ConversionInfo & | convInfo, |
double | maxAbsDist = 0.02 , |
||
double | maxAbsDcot = 0.02 |
||
) |
Definition at line 20 of file ConversionFinder.cc.
References funct::abs(), ConversionInfo::dcot, and ConversionInfo::dist.
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(), dqmdumpme::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(), dqmdumpme::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, DOFs::Y, and PV3DBase< T, PVType, FrameType >::y().
Referenced by EcalRegressionData::fill(), EGRegressionModifierV3::getSeedCrysCoord(), SuperClusterHelper::localCoordinates(), EGRegressionModifierV2::modifyObject(), and EGRegressionModifierV1::modifyObject().