#include <ConversionFinder.h>
Public Member Functions | |
ConversionInfo | arbitrateConversionPartnersbyR (const std::vector< ConversionInfo > &v_convCandidates) |
ConversionFinder () | |
ConversionInfo | findBestConversionMatch (const std::vector< ConversionInfo > &v_convCandidates) |
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::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::Track *el_track, const reco::Track *candPartnerTk, const double bFieldAtOrigin) |
ConversionInfo | getConversionInfo (const reco::GsfElectron &gsfElectron, const edm::Handle< reco::TrackCollection > &track_h, const double bFieldAtOrigin, const double minFracSharedHits=0.45) |
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) |
~ConversionFinder () | |
Static Public Member Functions | |
static std::pair< double, double > | getConversionInfo (math::XYZTLorentzVector trk1_p4, int trk1_q, float trk1_d0, math::XYZTLorentzVector trk2_p4, int trk2_q, float trk2_d0, float bFieldAtOrigin) |
Definition at line 37 of file ConversionFinder.h.
ConversionFinder::ConversionFinder | ( | ) |
Definition at line 19 of file ConversionFinder.cc.
ConversionFinder::~ConversionFinder | ( | ) |
Definition at line 22 of file ConversionFinder.cc.
ConversionInfo ConversionFinder::arbitrateConversionPartnersbyR | ( | const std::vector< ConversionInfo > & | v_convCandidates | ) |
Definition at line 299 of file ConversionFinder.cc.
References ConversionInfo::dcot(), ConversionInfo::dist(), i, funct::pow(), dttmaxenums::R, mathSSE::sqrt(), and groupFilesInBlocks::temp.
Referenced by findBestConversionMatch().
ConversionInfo ConversionFinder::findBestConversionMatch | ( | const std::vector< ConversionInfo > & | v_convCandidates | ) |
Definition at line 322 of file ConversionFinder.cc.
References arbitrateConversionPartnersbyR(), ConversionInfo::dcot(), ConversionInfo::deltaMissingHits(), ConversionInfo::dist(), ConversionInfo::flag(), i, funct::pow(), ConversionInfo::radiusOfConversion(), mathSSE::sqrt(), and groupFilesInBlocks::temp.
Referenced by getConversionInfo().
ConversionInfo ConversionFinder::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 36 of file ConversionFinder.cc.
References findBestConversionMatch(), getConversionInfos(), and groupFilesInBlocks::temp.
Referenced by ZeeCandidateFilter::filter(), and getConversionInfos().
ConversionInfo ConversionFinder::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 ConversionFinder::getConversionInfo | ( | const reco::Track * | el_track, |
const reco::Track * | candPartnerTk, | ||
const double | bFieldAtOrigin | ||
) |
Definition at line 237 of file ConversionFinder.cc.
References reco::TrackBase::charge(), funct::cos(), reco::TrackBase::d0(), reco::TrackBase::dz(), reco::TrackBase::p(), funct::pow(), reco::TrackBase::pt(), reco::TrackBase::px(), reco::TrackBase::py(), reco::TrackBase::pz(), L1Trigger_dataformats::reco, funct::sin(), mathSSE::sqrt(), funct::tan(), x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
|
static |
Definition at line 417 of file ConversionFinder.cc.
References funct::cos(), funct::pow(), funct::sin(), mathSSE::sqrt(), and funct::tan().
ConversionInfo ConversionFinder::getConversionInfo | ( | const reco::GsfElectron & | gsfElectron, |
const edm::Handle< reco::TrackCollection > & | track_h, | ||
const double | bFieldAtOrigin, | ||
const double | minFracSharedHits = 0.45 |
||
) |
Definition at line 447 of file ConversionFinder.cc.
References reco::GsfElectron::closestCtfTrackRef(), funct::cos(), deltaR(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, getElectronTrack(), funct::pow(), edm::Handle< T >::product(), L1Trigger_dataformats::reco, reco::GsfElectron::shFracInnerHits(), funct::sin(), mathSSE::sqrt(), funct::tan(), x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
std::vector< ConversionInfo > ConversionFinder::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 49 of file ConversionFinder.cc.
References reco::GsfElectronCore::ctfGsfOverlap(), reco::GsfElectronCore::ctfTrack(), ConversionInfo::dcot(), deltaR(), ConversionInfo::dist(), getConversionInfo(), reco::GsfElectronCore::gsfTrack(), edm::HandleBase::id(), ConversionInfo::pointOfConversion(), edm::Handle< T >::product(), ConversionInfo::radiusOfConversion(), and L1Trigger_dataformats::reco.
Referenced by getConversionInfo().
const reco::Track * ConversionFinder::getElectronTrack | ( | const reco::GsfElectron & | electron, |
const float | minFracSharedHits = 0.45 |
||
) |
Definition at line 285 of file ConversionFinder.cc.
References reco::GsfElectron::closestCtfTrackRef(), edm::Ref< C, T, F >::get(), reco::GsfElectron::gsfTrack(), edm::Ref< C, T, F >::isNonnull(), and reco::GsfElectron::shFracInnerHits().
Referenced by getConversionInfo().
const reco::Track* ConversionFinder::getElectronTrack | ( | const reco::GsfElectronCore & | , |
const float | minFracSharedHits = 0.45 |
||
) |
bool ConversionFinder::isFromConversion | ( | const ConversionInfo & | convInfo, |
double | maxAbsDist = 0.02 , |
||
double | maxAbsDcot = 0.02 |
||
) |
Definition at line 11 of file ConversionFinder.cc.
References abs, ConversionInfo::dcot(), ConversionInfo::dist(), and funct::false.