Classes | |
struct | ConversionInfo |
Typedefs | |
using | TrackRowView = TrackTable::const_iterator::value_type |
using | TrackTable = edm::soa::AddColumns< edm::soa::PtEtaPhiTable, TrackTableSpecificColumns >::type |
using | TrackTableSpecificColumns = std::tuple< edm::soa::col::Pz, edm::soa::col::PtError, edm::soa::col::MissingInnerHits, edm::soa::col::NumberOfValidHits, edm::soa::col::Charge, edm::soa::col::D0 > |
using | TrackTableView = edm::soa::ViewFromTable_t< TrackTable > |
Functions | |
ConversionInfo const & | arbitrateConversionPartnersbyR (const std::vector< ConversionInfo > &convCandidates) |
ConversionInfo | findBestConversionMatch (const std::vector< ConversionInfo > &v_convCandidates) |
ConversionInfo | findConversion (const reco::GsfElectronCore &gsfElectron, TrackTableView ctfTable, TrackTableView gsfTable, float bFieldAtOrigin, float minFracSharedHits=0.45f) |
std::vector< ConversionInfo > | findConversions (const reco::GsfElectronCore &gsfElectron, TrackTableView ctfTable, TrackTableView gsfTable, float bFieldAtOrigin, float minFracSharedHits) |
ConversionInfo | getConversionInfo (reco::Track const &el_track, TrackRowView const &track, float bFieldAtOrigin) |
Variables | |
constexpr float | dR2Max = square(0.5f) |
constexpr int | maxDeltaMissingHits = 2 |
constexpr int | maxDeltaMissingHitsForKFtoKF = 3 |
constexpr float | maxDist2Dcot2 = square(0.05f) |
constexpr float | maxDistOrCotForKFtoKF = 0.02f |
constexpr float | maxRefPtErrorForKfConv = 0.05f |
constexpr float | maxRelGsfPtError = 0.5f |
constexpr float | maxRelGsfPtErrorForKfConv = 0.25f |
constexpr float | maxRelPtDiffForGsfConv = 0.25f |
constexpr float | maxRelPtDiffForKfConv = 0.2f |
constexpr int | minNumberOfValidHits = 5 |
using egamma::conv::TrackRowView = typedef TrackTable::const_iterator::value_type |
Definition at line 58 of file ConversionFinder.h.
using egamma::conv::TrackTable = typedef edm::soa::AddColumns<edm::soa::PtEtaPhiTable, TrackTableSpecificColumns>::type |
Definition at line 56 of file ConversionFinder.h.
Definition at line 55 of file ConversionFinder.h.
using egamma::conv::TrackTableView = typedef edm::soa::ViewFromTable_t<TrackTable> |
Definition at line 57 of file ConversionFinder.h.
ConversionInfo const& egamma::conv::arbitrateConversionPartnersbyR | ( | const std::vector< ConversionInfo > & | convCandidates | ) |
Definition at line 209 of file ConversionFinder.cc.
References egamma::conv::ConversionInfo::dcot, egamma::conv::ConversionInfo::dist, funct::pow(), dttmaxenums::R, and groupFilesInBlocks::temp.
Referenced by findBestConversionMatch().
ConversionInfo egamma::conv::findBestConversionMatch | ( | const std::vector< ConversionInfo > & | v_convCandidates | ) |
Definition at line 229 of file ConversionFinder.cc.
References funct::abs(), arbitrateConversionPartnersbyR(), maxDeltaMissingHits, maxDeltaMissingHitsForKFtoKF, maxDist2Dcot2, maxDistOrCotForKFtoKF, funct::pow(), square(), and groupFilesInBlocks::temp.
Referenced by findConversion().
|
inline |
Definition at line 71 of file ConversionFinder.h.
References findBestConversionMatch(), and findConversions().
Referenced by GsfElectronAlgo::createElectron().
std::vector< ConversionInfo > egamma::conv::findConversions | ( | const reco::GsfElectronCore & | gsfElectron, |
TrackTableView | ctfTable, | ||
TrackTableView | gsfTable, | ||
float | bFieldAtOrigin, | ||
float | minFracSharedHits | ||
) |
Definition at line 29 of file ConversionFinder.cc.
References funct::abs(), reco::GsfElectronCore::ctfGsfOverlap(), reco::GsfElectronCore::ctfTrack(), egamma::conv::ConversionInfo::dcot, HLTMuonOfflineAnalyzer_cfi::deltaR2, egamma::conv::ConversionInfo::dist, dR2Max, edm::Ref< C, T, F >::get(), getConversionInfo(), reco::GsfElectronCore::gsfTrack(), edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::key(), maxRefPtErrorForKfConv, maxRelGsfPtError, maxRelGsfPtErrorForKfConv, maxRelPtDiffForGsfConv, maxRelPtDiffForKfConv, minNumberOfValidHits, and egamma::conv::ConversionInfo::radiusOfConversion.
Referenced by findConversion().
ConversionInfo egamma::conv::getConversionInfo | ( | reco::Track const & | el_track, |
TrackRowView const & | track, | ||
float | bFieldAtOrigin | ||
) |
Definition at line 163 of file ConversionFinder.cc.
References funct::abs(), reco::TrackBase::charge(), funct::cos(), ztail::d, reco::TrackBase::d0(), f, reco::TrackBase::phi(), funct::pow(), reco::TrackBase::pt(), reco::TrackBase::px(), reco::TrackBase::py(), reco::TrackBase::pz(), funct::sin(), mathSSE::sqrt(), HLT_2022v14_cff::track, and x.
Referenced by findConversions().
constexpr float egamma::conv::dR2Max = square(0.5f) |
Definition at line 18 of file ConversionFinder.cc.
Referenced by findConversions().
constexpr int egamma::conv::maxDeltaMissingHits = 2 |
Definition at line 21 of file ConversionFinder.cc.
Referenced by findBestConversionMatch().
constexpr int egamma::conv::maxDeltaMissingHitsForKFtoKF = 3 |
Definition at line 23 of file ConversionFinder.cc.
Referenced by findBestConversionMatch().
constexpr float egamma::conv::maxDist2Dcot2 = square(0.05f) |
Definition at line 20 of file ConversionFinder.cc.
Referenced by findBestConversionMatch().
constexpr float egamma::conv::maxDistOrCotForKFtoKF = 0.02f |
Definition at line 24 of file ConversionFinder.cc.
Referenced by findBestConversionMatch().
constexpr float egamma::conv::maxRefPtErrorForKfConv = 0.05f |
Definition at line 14 of file ConversionFinder.cc.
Referenced by findConversions().
constexpr float egamma::conv::maxRelGsfPtError = 0.5f |
Definition at line 22 of file ConversionFinder.cc.
Referenced by findConversions().
constexpr float egamma::conv::maxRelGsfPtErrorForKfConv = 0.25f |
Definition at line 15 of file ConversionFinder.cc.
Referenced by findConversions().
constexpr float egamma::conv::maxRelPtDiffForGsfConv = 0.25f |
Definition at line 17 of file ConversionFinder.cc.
Referenced by findConversions().
constexpr float egamma::conv::maxRelPtDiffForKfConv = 0.2f |
Definition at line 16 of file ConversionFinder.cc.
Referenced by findConversions().
constexpr int egamma::conv::minNumberOfValidHits = 5 |
Definition at line 19 of file ConversionFinder.cc.
Referenced by findConversions().