#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_ |
int | maxWarnings_ |
int | numWarnings_ |
RecoTauQualityCuts * | qcuts_ |
edm::InputTag | srcTracks_ |
edm::EDGetTokenT< std::vector< TrackClass > > | Tracks_token |
int | verbosity_ |
RecoTauVertexAssociator | vertexAssociator_ |
Additional Inherited Members | |
Public Types inherited from reco::tau::PFRecoTauChargedHadronBuilderPlugin | |
typedef boost::ptr_vector< PFRecoTauChargedHadron > | ChargedHadronVector |
typedef std::auto_ptr< ChargedHadronVector > | return_type |
Definition at line 12 of file PFRecoTauChargedHadron.h.
|
explicit |
Definition at line 91 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 >::maxWarnings_, reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::numWarnings_, 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 114 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(), seedCreatorFromRegionConsecutiveHitsEDProducer_cff::magneticField, reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::magneticFieldStrength_, reco::tau::RecoTauVertexAssociator::setEvent(), and reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::vertexAssociator_.
|
private |
|
private |
Definition at line 132 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
References reco::tau::RecoTauQualityCuts::filterTrack(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::qcuts_, and l1t::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 179 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
References reco::TrackBase::referencePoint().
|
private |
Definition at line 184 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
References pat::PackedCandidate::vertex().
|
private |
|
private |
Definition at line 159 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
References reco::TrackBase::ptError().
|
private |
Definition at line 164 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
References funct::abs(), pat::PackedCandidate::bestTrack(), pat::PackedCandidate::eta(), and HiIsolationCommonParameters_cff::track.
|
overridevirtual |
Build a collection of chargedHadrons from objects in the input jet.
Implements reco::tau::PFRecoTauChargedHadronBuilderPlugin.
Definition at line 204 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
References funct::abs(), reco::tau::RecoTauVertexAssociator::associatedVertex(), reco::tau::atECALEntrance(), muons2muons_cfi::chargedHadron, reco::CompositePtrCandidate::daughterPtrVector(), reco::deltaR(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::dRcone_, reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::dRconeLimitedToJetArea_, CaloRecoTauDiscriminationAgainstMuon_cfi::dRmatch, 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(), reco::tau::RecoTauNamedPlugin::name(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::numWarnings_, convertSQLitetoXML_cfg::output, AlCaHLTBitMon_ParallelJobs::p, common_cff::pdgId, reco::LeafCandidate::phi(), BaseParticlePropagator::propagateToEcalEntrance(), reco::LeafCandidate::pt(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::qcuts_, fftjetproducer_cfi::resolution, RawParticle::setCharge(), reco::tau::setChargedHadronP4(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::setChargedHadronTrack(), reco::tau::RecoTauQualityCuts::setPV(), mathSSE::sqrt(), HiIsolationCommonParameters_cff::track, l1t::tracks, reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::Tracks_token, reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::verbosity_, reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::vertexAssociator_, and extraflags_cff::vtx.
|
private |
|
private |
Definition at line 149 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
References HiIsolationCommonParameters_cff::track, and reco::PFRecoTauChargedHadron::track_.
|
private |
Definition at line 154 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
References reco::PFRecoTauChargedHadron::lostTrackCandidate_, and HiIsolationCommonParameters_cff::track.
|
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 77 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
Referenced by reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::operator()(), and reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::PFRecoTauChargedHadronFromGenericTrackPlugin().
|
private |
Definition at line 79 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 |
|
private |
Definition at line 85 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
Referenced by reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::operator()(), and reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::PFRecoTauChargedHadronFromGenericTrackPlugin().
|
mutableprivate |
Definition at line 84 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
Referenced by reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::operator()(), and reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::PFRecoTauChargedHadronFromGenericTrackPlugin().
|
private |
Definition at line 72 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 74 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
Referenced by reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::PFRecoTauChargedHadronFromGenericTrackPlugin().
|
private |
Definition at line 75 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
Referenced by reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::operator()(), and reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::PFRecoTauChargedHadronFromGenericTrackPlugin().
|
private |
Definition at line 87 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
Referenced by reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::operator()(), and reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::PFRecoTauChargedHadronFromGenericTrackPlugin().
|
private |