#include <PFTau.h>
Definition at line 34 of file PFTau.h.
{ kNull = -1, kOneProng0PiZero, kOneProng1PiZero, kOneProng2PiZero, kOneProng3PiZero, kOneProngNPiZero, kTwoProng0PiZero, kTwoProng1PiZero, kTwoProng2PiZero, kTwoProng3PiZero, kTwoProngNPiZero, kThreeProng0PiZero, kThreeProng1PiZero, kThreeProng2PiZero, kThreeProng3PiZero, kThreeProngNPiZero, kRareDecayMode };
reco::PFTau::PFTau | ( | ) |
Definition at line 8 of file PFTau.cc.
References bremsRecoveryEOverPLead_, caloComp_, ecalStripSumEOverPLead_, electronPreIDDecision_, electronPreIDOutput_, emFraction_, hcal3x3OverPLead_, hcalMaxOverPLead_, hcalTotOverPLead_, isolationPFChargedHadrCandsPtSum_, isolationPFGammaCandsEtSum_, leadPFChargedHadrCandsignedSipt_, maximumHCALPFClusterEt_, muonDecision_, and segComp_.
Referenced by clone().
{ leadPFChargedHadrCandsignedSipt_=NAN; isolationPFChargedHadrCandsPtSum_=NAN; isolationPFGammaCandsEtSum_=NAN; maximumHCALPFClusterEt_=NAN; emFraction_ = NAN; hcalTotOverPLead_ = NAN; hcalMaxOverPLead_ = NAN; hcal3x3OverPLead_ = NAN; ecalStripSumEOverPLead_= NAN; bremsRecoveryEOverPLead_ = NAN; electronPreIDOutput_ = NAN; electronPreIDDecision_= NAN; caloComp_ = NAN; segComp_ = NAN; muonDecision_ = NAN; }
reco::PFTau::PFTau | ( | Charge | q, |
const LorentzVector & | p4, | ||
const Point & | vtx = Point( 0, 0, 0 ) |
||
) |
Definition at line 26 of file PFTau.cc.
References bremsRecoveryEOverPLead_, caloComp_, ecalStripSumEOverPLead_, electronPreIDDecision_, electronPreIDOutput_, emFraction_, hcal3x3OverPLead_, hcalMaxOverPLead_, hcalTotOverPLead_, isolationPFChargedHadrCandsPtSum_, isolationPFGammaCandsEtSum_, leadPFChargedHadrCandsignedSipt_, maximumHCALPFClusterEt_, muonDecision_, and segComp_.
: BaseTau(q,p4,vtx) { leadPFChargedHadrCandsignedSipt_=NAN; isolationPFChargedHadrCandsPtSum_=NAN; isolationPFGammaCandsEtSum_=NAN; maximumHCALPFClusterEt_=NAN; emFraction_ = NAN; hcalTotOverPLead_ = NAN; hcalMaxOverPLead_ = NAN; hcal3x3OverPLead_ = NAN; ecalStripSumEOverPLead_= NAN; bremsRecoveryEOverPLead_ = NAN; electronPreIDOutput_ = NAN; electronPreIDDecision_= NAN; caloComp_ = NAN; segComp_ = NAN; muonDecision_ = NAN; }
float reco::PFTau::bremsRecoveryEOverPLead | ( | ) | const |
Definition at line 163 of file PFTau.cc.
References bremsRecoveryEOverPLead_.
{return bremsRecoveryEOverPLead_;}
float reco::PFTau::caloComp | ( | ) | const |
PFTau * reco::PFTau::clone | ( | void | ) | const [virtual] |
PFTau::hadronicDecayMode reco::PFTau::decayMode | ( | ) | const |
Retrieve the identified hadronic decay mode according to the number of charged and piZero candidates in the signal cone
Definition at line 130 of file PFTau.cc.
References kNull, kOneProngNPiZero, kRareDecayMode, reco::tau::helpers::nCharged(), signalPFChargedHadrCands(), signalPiZeroCandidates(), and edm::RefVector< C, T, F >::size().
Referenced by reco::tau::disc::DecayMode(), reco::operator<<(), and pat::TauJetCorrFactorsProducer::produce().
{ unsigned int nCharged = signalPFChargedHadrCands().size(); unsigned int nPiZeros = signalPiZeroCandidates().size(); // If no tracks exist, this is definitely not a tau! if(!nCharged) return kNull; // Find the maximum number of PiZeros our parameterization can hold const unsigned int maxPiZeros = kOneProngNPiZero; // Determine our track index unsigned int trackIndex = (nCharged-1)*(maxPiZeros+1); // Check if we handle the given number of tracks if(trackIndex >= kRareDecayMode) return kRareDecayMode; nPiZeros = (nPiZeros <= maxPiZeros) ? nPiZeros : maxPiZeros; return static_cast<PFTau::hadronicDecayMode>(trackIndex + nPiZeros); }
void reco::PFTau::dump | ( | std::ostream & | out = std::cout | ) | const |
prints information on this PFTau
Definition at line 209 of file PFTau.cc.
References reco::LeafCandidate::charge(), isolationPFChargedHadrCands(), isolationPFChargedHadrCandsPtSum(), isolationPFGammaCands(), isolationPFGammaCandsEtSum(), jetRef(), leadPFChargedHadrCand(), maximumHCALPFClusterEt(), pfTauTagInfoRef(), reco::LeafCandidate::pt(), signalPFChargedHadrCands(), signalPFGammaCands(), edm::RefVector< C, T, F >::size(), reco::LeafCandidate::vx(), reco::LeafCandidate::vy(), and reco::LeafCandidate::vz().
Referenced by reco::tau::disc::EMFraction().
{ if(!out) return; if (pfTauTagInfoRef().isNonnull()) { out << "Its TauTagInfo constituents :"<<std::endl; out<<"# Tracks "<<pfTauTagInfoRef()->Tracks().size()<<std::endl; out<<"# PF charged hadr. cand's "<<pfTauTagInfoRef()->PFChargedHadrCands().size()<<std::endl; out<<"# PF neutral hadr. cand's "<<pfTauTagInfoRef()->PFNeutrHadrCands().size()<<std::endl; out<<"# PF gamma cand's "<<pfTauTagInfoRef()->PFGammaCands().size()<<std::endl; } if (jetRef().isNonnull()) { out << "Its constituents :"<< std::endl; out<<"# PF charged hadr. cand's "<< jetRef()->chargedHadronMultiplicity()<<std::endl; out<<"# PF neutral hadr. cand's "<< jetRef()->neutralHadronMultiplicity()<<std::endl; out<<"# PF gamma cand's "<< jetRef()->photonMultiplicity()<<std::endl; out<<"# Electron cand's "<< jetRef()->electronMultiplicity()<<std::endl; } out<<"in detail :"<<std::endl; out<<"Pt of the PFTau "<<pt()<<std::endl; PFCandidateRef theLeadPFCand = leadPFChargedHadrCand(); if(!theLeadPFCand){ out<<"No Lead PFCand "<<std::endl; }else{ out<<"Lead PFCand Particle Id " << (*theLeadPFCand).particleId() << std::endl; out<<"Lead PFCand Pt "<<(*theLeadPFCand).pt()<<std::endl; out<<"Lead PFCand Charge "<<(*theLeadPFCand).charge()<<std::endl; out<<"Lead PFCand TrkRef "<<(*theLeadPFCand).trackRef().isNonnull()<<std::endl; out<<"Inner point position (x,y,z) of the PFTau ("<<vx()<<","<<vy()<<","<<vz()<<")"<<std::endl; out<<"Charge of the PFTau "<<charge()<<std::endl; out<<"Et of the highest Et HCAL PFCluster "<<maximumHCALPFClusterEt()<<std::endl; out<<"Number of SignalPFChargedHadrCands = "<<signalPFChargedHadrCands().size()<<std::endl; out<<"Number of SignalPFGammaCands = "<<signalPFGammaCands().size()<<std::endl; out<<"Number of IsolationPFChargedHadrCands = "<<isolationPFChargedHadrCands().size()<<std::endl; out<<"Number of IsolationPFGammaCands = "<<isolationPFGammaCands().size()<<std::endl; out<<"Sum of Pt of charged hadr. PFCandidates in isolation annulus around Lead PF = "<<isolationPFChargedHadrCandsPtSum()<<std::endl; out<<"Sum of Et of gamma PFCandidates in other isolation annulus around Lead PF = "<<isolationPFGammaCandsEtSum()<<std::endl; } // return out; }
float reco::PFTau::ecalStripSumEOverPLead | ( | ) | const |
Definition at line 162 of file PFTau.cc.
References ecalStripSumEOverPLead_.
{return ecalStripSumEOverPLead_;}
bool reco::PFTau::electronPreIDDecision | ( | ) | const |
Definition at line 166 of file PFTau.cc.
References electronPreIDDecision_.
{return electronPreIDDecision_;}
float reco::PFTau::electronPreIDOutput | ( | ) | const |
Definition at line 165 of file PFTau.cc.
References electronPreIDOutput_.
Referenced by AntiElectronIDMVA3::MVAValue().
{return electronPreIDOutput_;}
reco::TrackRef reco::PFTau::electronPreIDTrack | ( | ) | const |
Definition at line 164 of file PFTau.cc.
References electronPreIDTrack_.
{return electronPreIDTrack_;}
float reco::PFTau::emFraction | ( | ) | const |
Definition at line 158 of file PFTau.cc.
References emFraction_.
Referenced by AntiElectronIDMVA3::MVAValue(), and AntiElectronIDMVA2::MVAValue().
{return emFraction_;}
bool reco::PFTau::hasMuonReference | ( | ) | const |
Definition at line 179 of file PFTau.cc.
References edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::isNull(), and leadPFChargedHadrCand_.
{ // check if muon ref exists if( leadPFChargedHadrCand_.isNull() ) return false; else if( leadPFChargedHadrCand_.isNonnull() ){ reco::MuonRef muonRef = leadPFChargedHadrCand_->muonRef(); if( muonRef.isNull() ) return false; else if( muonRef.isNonnull() ) return true; } return false; }
float reco::PFTau::hcal3x3OverPLead | ( | ) | const |
float reco::PFTau::hcalMaxOverPLead | ( | ) | const |
float reco::PFTau::hcalTotOverPLead | ( | ) | const |
const PFCandidateRefVector & reco::PFTau::isolationPFCands | ( | ) | const |
PFCandidates in isolation region.
Definition at line 82 of file PFTau.cc.
References selectedIsolationPFCands_.
Referenced by PFTauDiscriminants::PFTauDiscriminantManager::fillOutlierObjects(), reco::tau::RecoTauPhotonFilter::operator()(), reco::tau::RecoTauElectronRejectionPlugin::operator()(), reco::tau::RecoTauTwoProngFilter::operator()(), reco::operator<<(), reco::tau::disc::OutlierAngle(), reco::tau::disc::OutlierPt(), and PFTauElementsOperators::PFTauElementsOperators().
{return selectedIsolationPFCands_;}
const PFCandidateRefVector & reco::PFTau::isolationPFChargedHadrCands | ( | ) | const |
Charged candidates in isolation region.
Definition at line 84 of file PFTau.cc.
References selectedIsolationPFChargedHadrCands_.
Referenced by reco::tau::disc::ChargedOutlierAngle(), reco::tau::disc::ChargedOutlierPt(), dump(), reco::tau::disc::IsolationChargedAveragePtFraction(), PFTauQualityCutWrapper::isolationChargedObjects(), reco::tau::disc::IsolationChargedSumHard(), reco::tau::disc::IsolationChargedSumSoft(), PFTauQualityCutWrapper::isolationPUObjects(), reco::tau::RecoTauTwoProngFilter::operator()(), reco::operator<<(), reco::tau::disc::OutlierN(), reco::tau::disc::OutlierNCharged(), PFTauElementsOperators::PFTauElementsOperators(), and L25TauAnalyzer::printInfo().
{return selectedIsolationPFChargedHadrCands_;}
float reco::PFTau::isolationPFChargedHadrCandsPtSum | ( | ) | const |
Sum of charged hadron candidate PT in isolation cone; returns NaN if isolation region is undefined.
Definition at line 148 of file PFTau.cc.
References isolationPFChargedHadrCandsPtSum_.
Referenced by reco::tau::disc::ChargedOutlierSumPt(), dump(), EwkMuTauHistManager::fillHistograms(), reco::tau::disc::IsolationChargedAveragePtFraction(), reco::tau::disc::IsolationChargedPtFraction(), HPSPFRecoTauAlgorithm::HPSTauIsolationSorter::operator()(), reco::tau::RecoTauTwoProngFilter::operator()(), and reco::tau::disc::OutlierSumPt().
{return isolationPFChargedHadrCandsPtSum_;}
const PFCandidateRefVector & reco::PFTau::isolationPFGammaCands | ( | ) | const |
Gamma candidates in isolation region.
Definition at line 88 of file PFTau.cc.
References selectedIsolationPFGammaCands_.
Referenced by dump(), reco::tau::disc::IsolationECALSumHard(), reco::tau::disc::IsolationECALSumSoft(), PFTauQualityCutWrapper::isolationGammaObjects(), reco::tau::disc::NeutralOutlierAngle(), reco::tau::disc::NeutralOutlierPt(), reco::tau::RecoTauPhotonFilter::operator()(), reco::operator<<(), reco::tau::disc::OutlierN(), and PFTauElementsOperators::PFTauElementsOperators().
{return selectedIsolationPFGammaCands_;}
float reco::PFTau::isolationPFGammaCandsEtSum | ( | ) | const |
Sum of gamma candidate PT in isolation cone; returns NaN if isolation region is undefined.
Definition at line 151 of file PFTau.cc.
References isolationPFGammaCandsEtSum_.
Referenced by dump(), EwkMuTauHistManager::fillHistograms(), reco::tau::disc::IsolationECALPtFraction(), reco::tau::disc::NeutralOutlierSumPt(), reco::tau::RecoTauPhotonFilter::operator()(), HPSPFRecoTauAlgorithm::HPSTauIsolationSorter::operator()(), and reco::tau::disc::OutlierSumPt().
{return isolationPFGammaCandsEtSum_;}
const PFCandidateRefVector & reco::PFTau::isolationPFNeutrHadrCands | ( | ) | const |
Definition at line 86 of file PFTau.cc.
References selectedIsolationPFNeutrHadrCands_.
Referenced by reco::tau::disc::IsolationNeutralHadronPtFraction(), reco::operator<<(), and PFTauElementsOperators::PFTauElementsOperators().
{return selectedIsolationPFNeutrHadrCands_;}
const std::vector< RecoTauPiZero > & reco::PFTau::isolationPiZeroCandidates | ( | ) | const |
Retrieve the association of isolation region gamma candidates into candidate PiZeros.
Definition at line 115 of file PFTau.cc.
References i, isolationPiZeroCandidates_, isolationPiZeroCandidatesRefs_, and edm::RefVector< C, T, F >::size().
Referenced by reco::tau::RecoTauPhotonFilter::operator()(), reco::operator<<(), and RecoTauPiZeroUnembedder::produce().
{ // Check if the signal pi zeros are already filled if (isolationPiZeroCandidates_.size() < isolationPiZeroCandidatesRefs_.size()) { // Fill them from the refs for (size_t i = 0; i < isolationPiZeroCandidatesRefs_.size(); ++i) { isolationPiZeroCandidates_.push_back(*isolationPiZeroCandidatesRefs_[i]); } } return isolationPiZeroCandidates_; }
const PFJetRef & reco::PFTau::jetRef | ( | ) | const |
Definition at line 50 of file PFTau.cc.
References jetRef_.
Referenced by reco::tau::disc::AbsJetEta(), reco::tau::RecoTauVertexAssociator::associatedVertex(), dump(), reco::tau::disc::IsolationChargedPtFraction(), reco::tau::disc::IsolationChargedSumHardRelative(), reco::tau::disc::IsolationChargedSumSoftRelative(), reco::tau::disc::IsolationECALPtFraction(), reco::tau::disc::IsolationECALSumHardRelative(), reco::tau::disc::IsolationECALSumSoftRelative(), reco::tau::disc::IsolationNeutralHadronPtFraction(), reco::tau::disc::JetEta(), reco::tau::disc::JetPt(), reco::tau::disc::JetTauDR(), reco::tau::disc::JetWidth(), reco::tau::disc::MainTrackPtFraction(), reco::tau::RecoTauTagInfoWorkaroundModifer::operator()(), reco::tau::RecoTauObjectEmbedder< T >::operator()(), reco::tau::RecoTauEnergyRecoveryPlugin::operator()(), reco::tau::RecoTauImpactParameterSignificancePlugin::operator()(), reco::tau::disc::ScaledEtaJetCollimation(), reco::tau::disc::ScaledPhiJetCollimation(), reco::tau::disc::SignalPtFraction(), sourceCandidatePtr(), and pat::tau::TauPFSpecific::TauPFSpecific().
{return jetRef_;}
const PFCandidateRef & reco::PFTau::leadPFCand | ( | ) | const |
const PFCandidateRef & reco::PFTau::leadPFChargedHadrCand | ( | ) | const |
Definition at line 62 of file PFTau.cc.
References leadPFChargedHadrCand_.
Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), HPSPFRecoTauAlgorithm::applyMuonRejection(), HPSPFRecoTauAlgorithm::buildPFTau(), dump(), TauLeadTrackExtractor< reco::PFTau >::getLeadTrack(), reco::tau::disc::IsolationChargedAveragePtFraction(), reco::tau::disc::mainTrack(), AntiElectronIDMVA3::MVAValue(), AntiElectronIDMVA2::MVAValue(), reco::tau::RecoTauElectronRejectionPlugin::operator()(), reco::tau::RecoTauImpactParameterSignificancePlugin::operator()(), L25TauAnalyzer::printInfo(), and L1HLTTauMatching::produce().
{return leadPFChargedHadrCand_;}
float reco::PFTau::leadPFChargedHadrCandsignedSipt | ( | ) | const |
Signed transverse impact parameter significance of the Track associated to the leading charged PFCandidate
Definition at line 70 of file PFTau.cc.
References leadPFChargedHadrCandsignedSipt_.
Referenced by reco::tau::disc::ImpactParameterSignificance().
{return leadPFChargedHadrCandsignedSipt_;}
const PFCandidateRef & reco::PFTau::leadPFNeutralCand | ( | ) | const |
float reco::PFTau::maximumHCALPFClusterEt | ( | ) | const |
Et of the highest Et HCAL PFCluster.
Definition at line 154 of file PFTau.cc.
References maximumHCALPFClusterEt_.
Referenced by dump().
{return maximumHCALPFClusterEt_;}
bool reco::PFTau::muonDecision | ( | ) | const |
size_type reco::PFTau::numberOfSourceCandidatePtrs | ( | ) | const [inline, virtual] |
return the number of source Candidates ( the candidates used to construct this Candidate) in the case of taus, there is only one source candidate, which is the corresponding PFJet
Reimplemented from reco::LeafCandidate.
Definition at line 174 of file PFTau.h.
{return 1;}
bool reco::PFTau::overlap | ( | const Candidate & | ) | const [private, virtual] |
check overlap with another candidate
Reimplemented from reco::BaseTau.
Definition at line 204 of file PFTau.cc.
References reco::RecoCandidate::checkOverlap(), and reco::RecoCandidate::track().
{ const RecoCandidate* theRecoCand=dynamic_cast<const RecoCandidate *>(&theCand); return (theRecoCand!=0 && (checkOverlap(track(),theRecoCand->track()))); }
const PFTauTagInfoRef & reco::PFTau::pfTauTagInfoRef | ( | ) | const |
Definition at line 53 of file PFTau.cc.
References PFTauTagInfoRef_.
Referenced by reco::tau::RecoTauVertexAssociator::associatedVertex(), HPSPFRecoTauAlgorithm::associateIsolationCandidates(), HPSPFRecoTauAlgorithm::buildPFTau(), dump(), and PFTauElementsOperators::PFTauElementsOperators().
{ // edm::LogWarning("DeprecatedPFTauMember") // << "The PFTauTagInfoRef member is deprecated in the PFTau." // << " For access to the underlying PFJet, please use the jetRef() method"; return PFTauTagInfoRef_; }
float reco::PFTau::segComp | ( | ) | const |
void reco::PFTau::setbremsRecoveryEOverPLead | ( | const float & | x | ) |
Definition at line 173 of file PFTau.cc.
References bremsRecoveryEOverPLead_, and x.
Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), and reco::tau::RecoTauObjectEmbedder< T >::operator()().
void reco::PFTau::setCaloComp | ( | const float & | x | ) |
void reco::PFTau::setecalStripSumEOverPLead | ( | const float & | x | ) |
Definition at line 172 of file PFTau.cc.
References ecalStripSumEOverPLead_, and x.
Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), and reco::tau::RecoTauElectronRejectionPlugin::operator()().
{ecalStripSumEOverPLead_ = x;}
void reco::PFTau::setelectronPreIDDecision | ( | const bool & | x | ) |
Definition at line 176 of file PFTau.cc.
References electronPreIDDecision_, and x.
Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), and reco::tau::RecoTauElectronRejectionPlugin::operator()().
{electronPreIDDecision_ = x;}
void reco::PFTau::setelectronPreIDOutput | ( | const float & | x | ) |
Definition at line 175 of file PFTau.cc.
References electronPreIDOutput_, and x.
Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), and reco::tau::RecoTauElectronRejectionPlugin::operator()().
{electronPreIDOutput_ = x;}
void reco::PFTau::setelectronPreIDTrack | ( | const reco::TrackRef & | x | ) |
Definition at line 174 of file PFTau.cc.
References electronPreIDTrack_, and x.
Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), and reco::tau::RecoTauElectronRejectionPlugin::operator()().
{electronPreIDTrack_ = x;}
void reco::PFTau::setemFraction | ( | const float & | x | ) |
Definition at line 168 of file PFTau.cc.
References emFraction_, and x.
Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), and reco::tau::RecoTauElectronRejectionPlugin::operator()().
{emFraction_ = x;}
void reco::PFTau::sethcal3x3OverPLead | ( | const float & | x | ) |
Definition at line 171 of file PFTau.cc.
References hcal3x3OverPLead_, and x.
Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), and reco::tau::RecoTauElectronRejectionPlugin::operator()().
{hcal3x3OverPLead_ = x;}
void reco::PFTau::sethcalMaxOverPLead | ( | const float & | x | ) |
Definition at line 170 of file PFTau.cc.
References hcalMaxOverPLead_, and x.
Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), and reco::tau::RecoTauElectronRejectionPlugin::operator()().
{hcalMaxOverPLead_ = x;}
void reco::PFTau::sethcalTotOverPLead | ( | const float & | x | ) |
Definition at line 169 of file PFTau.cc.
References hcalTotOverPLead_, and x.
Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), and reco::tau::RecoTauElectronRejectionPlugin::operator()().
{hcalTotOverPLead_ = x;}
void reco::PFTau::setisolationPFCands | ( | const PFCandidateRefVector & | myParts | ) |
Definition at line 83 of file PFTau.cc.
References selectedIsolationPFCands_.
Referenced by HPSPFRecoTauAlgorithm::associateIsolationCandidates(), reco::tau::RecoTauPhotonFilter::operator()(), and reco::tau::RecoTauTwoProngFilter::operator()().
{ selectedIsolationPFCands_ = myParts;}
void reco::PFTau::setisolationPFChargedHadrCands | ( | const PFCandidateRefVector & | myParts | ) |
Definition at line 85 of file PFTau.cc.
References selectedIsolationPFChargedHadrCands_.
Referenced by HPSPFRecoTauAlgorithm::associateIsolationCandidates(), and reco::tau::RecoTauTwoProngFilter::operator()().
{ selectedIsolationPFChargedHadrCands_ = myParts;}
void reco::PFTau::setisolationPFChargedHadrCandsPtSum | ( | const float & | x | ) |
Definition at line 149 of file PFTau.cc.
References isolationPFChargedHadrCandsPtSum_, and x.
Referenced by HPSPFRecoTauAlgorithm::associateIsolationCandidates(), and reco::tau::RecoTauTwoProngFilter::operator()().
void reco::PFTau::setisolationPFGammaCands | ( | const PFCandidateRefVector & | myParts | ) |
Definition at line 89 of file PFTau.cc.
References selectedIsolationPFGammaCands_.
Referenced by HPSPFRecoTauAlgorithm::associateIsolationCandidates(), and reco::tau::RecoTauPhotonFilter::operator()().
{ selectedIsolationPFGammaCands_ = myParts;}
void reco::PFTau::setisolationPFGammaCandsEtSum | ( | const float & | x | ) |
Definition at line 152 of file PFTau.cc.
References isolationPFGammaCandsEtSum_, and x.
Referenced by HPSPFRecoTauAlgorithm::associateIsolationCandidates(), and reco::tau::RecoTauPhotonFilter::operator()().
void reco::PFTau::setisolationPFNeutrHadrCands | ( | const PFCandidateRefVector & | myParts | ) |
Definition at line 87 of file PFTau.cc.
References selectedIsolationPFNeutrHadrCands_.
Referenced by HPSPFRecoTauAlgorithm::associateIsolationCandidates().
{ selectedIsolationPFNeutrHadrCands_ = myParts;}
void reco::PFTau::setisolationPiZeroCandidates | ( | const std::vector< RecoTauPiZero > & | cands | ) |
Definition at line 126 of file PFTau.cc.
References signalPiZeroCandidates_.
Referenced by reco::tau::RecoTauPhotonFilter::operator()().
{ signalPiZeroCandidates_ = cands; }
void reco::PFTau::setIsolationPiZeroCandidatesRefs | ( | const RecoTauPiZeroRefVector & | cands | ) |
Definition at line 111 of file PFTau.cc.
References isolationPiZeroCandidatesRefs_.
Referenced by RecoTauPiZeroUnembedder::produce().
{ isolationPiZeroCandidatesRefs_ = cands; }
void reco::PFTau::setjetRef | ( | const PFJetRef & | x | ) |
void reco::PFTau::setleadPFCand | ( | const PFCandidateRef & | myLead | ) |
Definition at line 68 of file PFTau.cc.
References leadPFCand_.
Referenced by HPSPFRecoTauAlgorithm::buildOneProng(), and HPSPFRecoTauAlgorithm::buildThreeProngs().
{ leadPFCand_=myLead;}
void reco::PFTau::setleadPFChargedHadrCand | ( | const PFCandidateRef & | myLead | ) |
Definition at line 66 of file PFTau.cc.
References leadPFChargedHadrCand_.
Referenced by HPSPFRecoTauAlgorithm::buildOneProng(), and HPSPFRecoTauAlgorithm::buildThreeProngs().
{ leadPFChargedHadrCand_=myLead;}
void reco::PFTau::setleadPFChargedHadrCandsignedSipt | ( | const float & | x | ) |
Definition at line 71 of file PFTau.cc.
References leadPFChargedHadrCandsignedSipt_, and x.
Referenced by HPSPFRecoTauAlgorithm::buildPFTau(), and reco::tau::RecoTauImpactParameterSignificancePlugin::operator()().
void reco::PFTau::setleadPFNeutralCand | ( | const PFCandidateRef & | myLead | ) |
Definition at line 67 of file PFTau.cc.
References leadPFNeutralCand_.
{ leadPFNeutralCand_=myLead;}
void reco::PFTau::setmaximumHCALPFClusterEt | ( | const float & | x | ) |
Definition at line 155 of file PFTau.cc.
References maximumHCALPFClusterEt_, and x.
Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), and reco::tau::RecoTauElectronRejectionPlugin::operator()().
void reco::PFTau::setMuonDecision | ( | const bool & | x | ) |
Definition at line 194 of file PFTau.cc.
References muonDecision_, and x.
Referenced by HPSPFRecoTauAlgorithm::applyMuonRejection().
{muonDecision_ = x;}
void reco::PFTau::setpfTauTagInfoRef | ( | const PFTauTagInfoRef | x | ) |
Definition at line 60 of file PFTau.cc.
References PFTauTagInfoRef_, and x.
Referenced by HPSPFRecoTauAlgorithm::buildOneProng(), PFRecoTauAlgorithm::buildPFTau(), HPSPFRecoTauAlgorithm::buildPFTau(), HPSPFRecoTauAlgorithm::buildThreeProngs(), and reco::tau::RecoTauTagInfoWorkaroundModifer::operator()().
void reco::PFTau::setSegComp | ( | const float & | x | ) |
void reco::PFTau::setsignalPFCands | ( | const PFCandidateRefVector & | myParts | ) |
Definition at line 74 of file PFTau.cc.
References selectedSignalPFCands_.
Referenced by HPSPFRecoTauAlgorithm::buildOneProng(), HPSPFRecoTauAlgorithm::buildThreeProngs(), reco::tau::RecoTauPhotonFilter::operator()(), and reco::tau::RecoTauTwoProngFilter::operator()().
{ selectedSignalPFCands_ = myParts;}
void reco::PFTau::setsignalPFChargedHadrCands | ( | const PFCandidateRefVector & | myParts | ) |
Definition at line 76 of file PFTau.cc.
References selectedSignalPFChargedHadrCands_.
Referenced by HPSPFRecoTauAlgorithm::buildOneProng(), HPSPFRecoTauAlgorithm::buildThreeProngs(), and reco::tau::RecoTauTwoProngFilter::operator()().
{ selectedSignalPFChargedHadrCands_ = myParts;}
void reco::PFTau::setsignalPFGammaCands | ( | const PFCandidateRefVector & | myParts | ) |
Definition at line 80 of file PFTau.cc.
References selectedSignalPFGammaCands_.
{ selectedSignalPFGammaCands_ = myParts;}
void reco::PFTau::setsignalPFNeutrHadrCands | ( | const PFCandidateRefVector & | myParts | ) |
Definition at line 78 of file PFTau.cc.
References selectedSignalPFNeutrHadrCands_.
{ selectedSignalPFNeutrHadrCands_ = myParts;}
void reco::PFTau::setsignalPiZeroCandidates | ( | const std::vector< RecoTauPiZero > & | cands | ) |
Definition at line 103 of file PFTau.cc.
References signalPiZeroCandidates_.
Referenced by reco::tau::RecoTauPhotonFilter::operator()().
{ signalPiZeroCandidates_ = cands; }
void reco::PFTau::setSignalPiZeroCandidatesRefs | ( | const RecoTauPiZeroRefVector & | cands | ) |
Definition at line 107 of file PFTau.cc.
References signalPiZeroCandidatesRefs_.
Referenced by RecoTauPiZeroUnembedder::produce().
{ signalPiZeroCandidatesRefs_ = cands; }
const PFCandidateRefVector & reco::PFTau::signalPFCands | ( | ) | const |
PFCandidates in signal region.
Definition at line 73 of file PFTau.cc.
References selectedSignalPFCands_.
Referenced by PFTauExtractor::depositFromObject(), reco::tau::isTauSignalPFCandidate(), AntiElectronIDMVA3::MVAValue(), AntiElectronIDMVA2::MVAValue(), reco::tau::disc::OpeningAngle3D(), reco::tau::disc::OpeningDeltaR(), reco::tau::RecoTauPhotonFilter::operator()(), reco::tau::RecoTauElectronRejectionPlugin::operator()(), reco::tau::RecoTauTwoProngFilter::operator()(), reco::operator<<(), and reco::tau::disc::ScaledOpeningDeltaR().
{return selectedSignalPFCands_;}
const PFCandidateRefVector & reco::PFTau::signalPFChargedHadrCands | ( | ) | const |
Charged hadrons in signal region.
Definition at line 75 of file PFTau.cc.
References selectedSignalPFChargedHadrCands_.
Referenced by HPSPFRecoTauAlgorithm::associateIsolationCandidates(), decayMode(), dump(), reco::tau::disc::EMFraction(), TauLeadTrackExtractor< reco::PFTau >::getTrackPtSum(), reco::tau::disc::mainTrack(), AntiElectronIDMVA3::MVAValue(), AntiElectronIDMVA2::MVAValue(), reco::tau::helpers::nCharged(), reco::tau::disc::notMainTrack(), reco::tau::RecoTauTwoProngFilter::operator()(), reco::operator<<(), PFRecoTauDecayModeDeterminator::produce(), HPSPFRecoTauAlgorithm::refitThreeProng(), and PFTauQualityCutWrapper::signalChargedObjects().
{return selectedSignalPFChargedHadrCands_;}
const PFCandidateRefVector & reco::PFTau::signalPFGammaCands | ( | ) | const |
Gamma candidates in signal region.
Definition at line 79 of file PFTau.cc.
References selectedSignalPFGammaCands_.
Referenced by HPSPFRecoTauAlgorithm::associateIsolationCandidates(), dump(), reco::tau::disc::EMFraction(), AntiElectronIDMVA3::MVAValue(), AntiElectronIDMVA2::MVAValue(), reco::tau::RecoTauPhotonFilter::operator()(), reco::operator<<(), PFRecoTauDecayModeDeterminator::produce(), and PFTauQualityCutWrapper::signalGammaObjects().
{return selectedSignalPFGammaCands_;}
const PFCandidateRefVector & reco::PFTau::signalPFNeutrHadrCands | ( | ) | const |
Neutral hadrons in signal region.
Definition at line 77 of file PFTau.cc.
References selectedSignalPFNeutrHadrCands_.
Referenced by reco::operator<<().
{return selectedSignalPFNeutrHadrCands_;}
const std::vector< RecoTauPiZero > & reco::PFTau::signalPiZeroCandidates | ( | ) | const |
Retrieve the association of signal region gamma candidates into candidate PiZeros.
Definition at line 92 of file PFTau.cc.
References i, signalPiZeroCandidates_, signalPiZeroCandidatesRefs_, and edm::RefVector< C, T, F >::size().
Referenced by reco::tau::disc::Dalitz2(), decayMode(), reco::tau::helpers::nGammas(), reco::tau::RecoTauPhotonFilter::operator()(), reco::operator<<(), reco::tau::disc::PiZeroAngle(), reco::tau::disc::PiZeroEta(), reco::tau::disc::PiZeroPt(), and RecoTauPiZeroUnembedder::produce().
{ // Check if the signal pi zeros are already filled if (signalPiZeroCandidates_.size() < signalPiZeroCandidatesRefs_.size()) { // Fill them from the refs for (size_t i = 0; i < signalPiZeroCandidatesRefs_.size(); ++i) { signalPiZeroCandidates_.push_back(*signalPiZeroCandidatesRefs_[i]); } } return signalPiZeroCandidates_; }
CandidatePtr reco::PFTau::sourceCandidatePtr | ( | size_type | i | ) | const [virtual] |
return a RefToBase to the source Candidates ( the candidates used to construct this Candidate)
Reimplemented from reco::LeafCandidate.
Definition at line 198 of file PFTau.cc.
References jetRef(), and edm::refToPtr().
{ if( i!=0 ) return CandidatePtr(); return refToPtr( jetRef() ); }
friend class reco::tau::RecoTauConstructor [friend] |
float reco::PFTau::bremsRecoveryEOverPLead_ [private] |
Definition at line 203 of file PFTau.h.
Referenced by bremsRecoveryEOverPLead(), PFTau(), and setbremsRecoveryEOverPLead().
float reco::PFTau::caloComp_ [private] |
Definition at line 207 of file PFTau.h.
Referenced by caloComp(), PFTau(), and setCaloComp().
float reco::PFTau::ecalStripSumEOverPLead_ [private] |
Definition at line 202 of file PFTau.h.
Referenced by ecalStripSumEOverPLead(), PFTau(), and setecalStripSumEOverPLead().
bool reco::PFTau::electronPreIDDecision_ [private] |
Definition at line 189 of file PFTau.h.
Referenced by electronPreIDDecision(), PFTau(), and setelectronPreIDDecision().
float reco::PFTau::electronPreIDOutput_ [private] |
Definition at line 204 of file PFTau.h.
Referenced by electronPreIDOutput(), PFTau(), and setelectronPreIDOutput().
Definition at line 214 of file PFTau.h.
Referenced by electronPreIDTrack(), and setelectronPreIDTrack().
float reco::PFTau::emFraction_ [private] |
Definition at line 198 of file PFTau.h.
Referenced by emFraction(), PFTau(), and setemFraction().
float reco::PFTau::hcal3x3OverPLead_ [private] |
Definition at line 201 of file PFTau.h.
Referenced by hcal3x3OverPLead(), PFTau(), and sethcal3x3OverPLead().
float reco::PFTau::hcalMaxOverPLead_ [private] |
Definition at line 200 of file PFTau.h.
Referenced by hcalMaxOverPLead(), PFTau(), and sethcalMaxOverPLead().
float reco::PFTau::hcalTotOverPLead_ [private] |
Definition at line 199 of file PFTau.h.
Referenced by hcalTotOverPLead(), PFTau(), and sethcalTotOverPLead().
float reco::PFTau::isolationPFChargedHadrCandsPtSum_ [private] |
Definition at line 193 of file PFTau.h.
Referenced by isolationPFChargedHadrCandsPtSum(), PFTau(), and setisolationPFChargedHadrCandsPtSum().
float reco::PFTau::isolationPFGammaCandsEtSum_ [private] |
Definition at line 194 of file PFTau.h.
Referenced by isolationPFGammaCandsEtSum(), PFTau(), and setisolationPFGammaCandsEtSum().
std::vector<reco::RecoTauPiZero> reco::PFTau::isolationPiZeroCandidates_ [mutable, private] |
Definition at line 233 of file PFTau.h.
Referenced by isolationPiZeroCandidates().
Definition at line 229 of file PFTau.h.
Referenced by isolationPiZeroCandidates(), and setIsolationPiZeroCandidatesRefs().
reco::PFJetRef reco::PFTau::jetRef_ [private] |
Definition at line 210 of file PFTau.h.
Referenced by jetRef(), and setjetRef().
PFCandidateRef reco::PFTau::leadPFCand_ [private] |
Definition at line 213 of file PFTau.h.
Referenced by leadPFCand(), and setleadPFCand().
Definition at line 212 of file PFTau.h.
Referenced by hasMuonReference(), leadPFChargedHadrCand(), and setleadPFChargedHadrCand().
float reco::PFTau::leadPFChargedHadrCandsignedSipt_ [private] |
Definition at line 191 of file PFTau.h.
Referenced by leadPFChargedHadrCandsignedSipt(), PFTau(), and setleadPFChargedHadrCandsignedSipt().
Definition at line 213 of file PFTau.h.
Referenced by leadPFNeutralCand(), and setleadPFNeutralCand().
float reco::PFTau::maximumHCALPFClusterEt_ [private] |
Definition at line 195 of file PFTau.h.
Referenced by maximumHCALPFClusterEt(), PFTau(), and setmaximumHCALPFClusterEt().
bool reco::PFTau::muonDecision_ [private] |
Definition at line 188 of file PFTau.h.
Referenced by muonDecision(), PFTau(), and setMuonDecision().
PFTauTagInfoRef reco::PFTau::PFTauTagInfoRef_ [private] |
Definition at line 211 of file PFTau.h.
Referenced by pfTauTagInfoRef(), and setpfTauTagInfoRef().
float reco::PFTau::segComp_ [private] |
Definition at line 208 of file PFTau.h.
Referenced by PFTau(), segComp(), and setSegComp().
Definition at line 223 of file PFTau.h.
Referenced by isolationPFCands(), and setisolationPFCands().
Definition at line 223 of file PFTau.h.
Referenced by isolationPFChargedHadrCands(), and setisolationPFChargedHadrCands().
Definition at line 223 of file PFTau.h.
Referenced by isolationPFGammaCands(), and setisolationPFGammaCands().
Definition at line 223 of file PFTau.h.
Referenced by isolationPFNeutrHadrCands(), and setisolationPFNeutrHadrCands().
Definition at line 217 of file PFTau.h.
Referenced by setsignalPFCands(), and signalPFCands().
Definition at line 217 of file PFTau.h.
Referenced by setsignalPFChargedHadrCands(), and signalPFChargedHadrCands().
Definition at line 217 of file PFTau.h.
Referenced by setsignalPFGammaCands(), and signalPFGammaCands().
Definition at line 217 of file PFTau.h.
Referenced by setsignalPFNeutrHadrCands(), and signalPFNeutrHadrCands().
std::vector<reco::RecoTauPiZero> reco::PFTau::signalPiZeroCandidates_ [mutable, private] |
Definition at line 232 of file PFTau.h.
Referenced by setisolationPiZeroCandidates(), setsignalPiZeroCandidates(), and signalPiZeroCandidates().
Definition at line 228 of file PFTau.h.
Referenced by setSignalPiZeroCandidatesRefs(), and signalPiZeroCandidates().