#include <PFRecoTauChargedHadron.h>
Private Member Functions | |
bool | filterTrack (const edm::Handle< std::vector< TrackClass > > &, size_t iTrack) const |
template<> | |
bool | filterTrack (const edm::Handle< std::vector< reco::Track > > &tracks, size_t iTrack) const |
template<> | |
bool | filterTrack (const edm::Handle< std::vector< pat::PackedCandidate > > &tracks, size_t iTrack) const |
XYZTLorentzVector | getTrackPos (const TrackClass &track) const |
template<> | |
XYZTLorentzVector | getTrackPos (const reco::Track &track) const |
template<> | |
XYZTLorentzVector | getTrackPos (const pat::PackedCandidate &track) const |
double | getTrackPtError (const TrackClass &track) const |
template<> | |
double | getTrackPtError (const reco::Track &track) const |
template<> | |
double | getTrackPtError (const pat::PackedCandidate &cand) const |
void | setChargedHadronTrack (PFRecoTauChargedHadron &chargedHadron, const edm::Ptr< TrackClass > &track) const |
template<> | |
void | setChargedHadronTrack (PFRecoTauChargedHadron &chargedHadron, const edm::Ptr< reco::Track > &track) const |
template<> | |
void | setChargedHadronTrack (PFRecoTauChargedHadron &chargedHadron, const edm::Ptr< pat::PackedCandidate > &track) const |
Private Attributes | |
double | dRcone_ |
bool | dRconeLimitedToJetArea_ |
double | dRmergeNeutralHadron_ |
double | dRmergePhoton_ |
math::XYZVector | magneticFieldStrength_ |
RecoTauQualityCuts * | qcuts_ |
edm::InputTag | srcTracks_ |
edm::EDGetTokenT< std::vector< TrackClass > > | Tracks_token |
int | verbosity_ |
RecoTauVertexAssociator | vertexAssociator_ |
Static Private Attributes | |
static unsigned int | maxWarnings_ = 3 |
static std::atomic< unsigned int > | numWarnings_ {0} |
Additional Inherited Members | |
Public Types inherited from reco::tau::PFRecoTauChargedHadronBuilderPlugin | |
typedef boost::ptr_vector< PFRecoTauChargedHadron > | ChargedHadronVector |
typedef std::unique_ptr< ChargedHadronVector > | return_type |
Definition at line 13 of file PFRecoTauChargedHadron.h.
|
explicit |
Definition at line 95 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
References reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::dRcone_, reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::dRconeLimitedToJetArea_, reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::dRmergeNeutralHadron_, reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::dRmergePhoton_, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::qcuts_, reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::srcTracks_, reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::Tracks_token, and reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::verbosity_.
|
override |
Definition at line 115 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
References reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::qcuts_.
|
overridevirtual |
Hook called at the beginning of the event.
Reimplemented from reco::tau::PFRecoTauChargedHadronBuilderPlugin.
Definition at line 121 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
References reco::tau::RecoTauEventHolderPlugin::evt(), reco::tau::RecoTauEventHolderPlugin::evtSetup(), edm::EventSetup::get(), MagneticField::inTesla(), HLT_2018_cff::magneticField, reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::magneticFieldStrength_, reco::tau::RecoTauVertexAssociator::setEvent(), and reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::vertexAssociator_.
|
private |
|
private |
Definition at line 131 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
References reco::tau::RecoTauQualityCuts::filterTrack(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::qcuts_, and PDWG_EXOHSCP_cff::tracks.
|
private |
Definition at line 139 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
References pat::PackedCandidate::charge(), reco::tau::RecoTauQualityCuts::filterChargedCand(), and reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::qcuts_.
|
private |
|
private |
Definition at line 184 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
References reco::TrackBase::referencePoint().
|
private |
Definition at line 190 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
References pat::PackedCandidate::vertex().
|
private |
|
private |
Definition at line 162 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
References reco::TrackBase::ptError().
|
private |
Definition at line 167 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
References funct::abs(), pat::PackedCandidate::bestTrack(), pat::PackedCandidate::eta(), and HLT_2018_cff::track.
|
overridevirtual |
Build a collection of chargedHadrons from objects in the input jet.
Implements reco::tau::PFRecoTauChargedHadronBuilderPlugin.
Definition at line 208 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
References funct::abs(), reco::tau::RecoTauVertexAssociator::associatedVertex(), reco::tau::atECALEntrance(), muons2muons_cfi::chargedHadron, reco::CompositePtrCandidate::daughterPtrVector(), reco::deltaR(), HGC3DClusterGenMatchSelector_cfi::dR, reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::dRcone_, reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::dRconeLimitedToJetArea_, reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::dRmergeNeutralHadron_, reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::dRmergePhoton_, reco::LeafCandidate::eta(), reco::tau::RecoTauEventHolderPlugin::evt(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::filterTrack(), edm::Event::getByToken(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::getTrackPos(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::getTrackPtError(), edm::Ref< C, T, F >::isNonnull(), reco::Jet::jetArea(), reco::PFRecoTauChargedHadron::kTrack, M_PI, reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::magneticFieldStrength_, reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::maxWarnings_, min(), eostools::move(), reco::tau::RecoTauNamedPlugin::name(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::numWarnings_, convertSQLitetoXML_cfg::output, AlCaHLTBitMon_ParallelJobs::p, EgammaValidation_cff::pdgId, reco::LeafCandidate::phi(), BaseParticlePropagator::propagateToEcalEntrance(), reco::LeafCandidate::pt(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::qcuts_, L1TObjectsTimingClient_cff::resolution, RawParticle::setCharge(), reco::tau::setChargedHadronP4(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::setChargedHadronTrack(), reco::tau::RecoTauQualityCuts::setPV(), mathSSE::sqrt(), HLT_2018_cff::track, PDWG_EXOHSCP_cff::tracks, reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::Tracks_token, reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::verbosity_, reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::vertexAssociator_, and badGlobalMuonTaggersAOD_cff::vtx.
|
private |
|
private |
Definition at line 150 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
References HLT_2018_cff::track, and reco::PFRecoTauChargedHadron::track_.
|
private |
Definition at line 156 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
References reco::PFRecoTauChargedHadron::lostTrackCandidate_, and HLT_2018_cff::track.
|
private |
Definition at line 77 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
Referenced by reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::operator()(), and reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::PFRecoTauChargedHadronFromGenericTrackPlugin().
|
private |
Definition at line 78 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
Referenced by reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::operator()(), and reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::PFRecoTauChargedHadronFromGenericTrackPlugin().
|
private |
Definition at line 80 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
Referenced by reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::operator()(), and reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::PFRecoTauChargedHadronFromGenericTrackPlugin().
|
private |
Definition at line 81 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
Referenced by reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::operator()(), and reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::PFRecoTauChargedHadronFromGenericTrackPlugin().
|
private |
|
staticprivate |
Definition at line 86 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
Referenced by reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::operator()().
|
staticprivate |
Definition at line 85 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
Referenced by reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::operator()().
|
private |
Definition at line 73 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
Referenced by reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::filterTrack(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::operator()(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::PFRecoTauChargedHadronFromGenericTrackPlugin(), and reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::~PFRecoTauChargedHadronFromGenericTrackPlugin().
|
private |
Definition at line 75 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
Referenced by reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::PFRecoTauChargedHadronFromGenericTrackPlugin().
|
private |
Definition at line 76 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
Referenced by reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::operator()(), and reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::PFRecoTauChargedHadronFromGenericTrackPlugin().
|
private |
Definition at line 88 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
Referenced by reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::operator()(), and reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::PFRecoTauChargedHadronFromGenericTrackPlugin().
|
private |