Analysis-level tau class. More...
#include <DataFormats/PatCandidates/interface/Tau.h>
Analysis-level tau class.
pat::Tau implements the analysis-level tau class within the 'pat' namespace. It inherits from reco::BaseTau, copies all the information from the source reco::CaloTau or reco::PFTau, and adds some PAT-specific variable.
Please post comments and questions to the Physics Tools hypernews: https://hypernews.cern.ch/HyperNews/CMS/get/physTools.html
typedef std::pair<std::string,float> pat::Tau::IdPair |
Tau::Tau | ( | ) |
default constructor
Definition at line 13 of file Tau.cc.
Referenced by clone().
: Lepton<reco::BaseTau>(), embeddedIsolationTracks_(false), embeddedLeadTrack_(false), embeddedSignalTracks_(false) ,embeddedLeadPFCand_(false) ,embeddedLeadPFChargedHadrCand_(false) ,embeddedLeadPFNeutralCand_(false) ,embeddedSignalPFCands_(false) ,embeddedSignalPFChargedHadrCands_(false) ,embeddedSignalPFNeutralHadrCands_(false) ,embeddedSignalPFGammaCands_(false) ,embeddedIsolationPFCands_(false) ,embeddedIsolationPFChargedHadrCands_(false) ,embeddedIsolationPFNeutralHadrCands_(false) ,embeddedIsolationPFGammaCands_(false) { }
Tau::Tau | ( | const reco::BaseTau & | aTau | ) |
constructor from a reco tau
constructor from reco::BaseTau
Definition at line 34 of file Tau.cc.
References caloSpecific_, and pfSpecific_.
: Lepton<reco::BaseTau>(aTau), embeddedIsolationTracks_(false), embeddedLeadTrack_(false), embeddedSignalTracks_(false) ,embeddedLeadPFCand_(false) ,embeddedLeadPFChargedHadrCand_(false) ,embeddedLeadPFNeutralCand_(false) ,embeddedSignalPFCands_(false) ,embeddedSignalPFChargedHadrCands_(false) ,embeddedSignalPFNeutralHadrCands_(false) ,embeddedSignalPFGammaCands_(false) ,embeddedIsolationPFCands_(false) ,embeddedIsolationPFChargedHadrCands_(false) ,embeddedIsolationPFNeutralHadrCands_(false) ,embeddedIsolationPFGammaCands_(false) { const reco::PFTau * pfTau = dynamic_cast<const reco::PFTau *>(&aTau); if (pfTau != 0) pfSpecific_.push_back(pat::tau::TauPFSpecific(*pfTau)); const reco::CaloTau * caloTau = dynamic_cast<const reco::CaloTau *>(&aTau); if (caloTau != 0) caloSpecific_.push_back(pat::tau::TauCaloSpecific(*caloTau)); }
Tau::Tau | ( | const edm::RefToBase< reco::BaseTau > & | aTauRef | ) |
constructor from a RefToBase to a reco tau (to be superseded by Ptr counterpart)
constructor from ref to reco::BaseTau
Definition at line 59 of file Tau.cc.
References caloSpecific_, edm::RefToBase< T >::get(), and pfSpecific_.
: Lepton<reco::BaseTau>(aTauRef), embeddedIsolationTracks_(false), embeddedLeadTrack_(false), embeddedSignalTracks_(false) ,embeddedLeadPFCand_(false) ,embeddedLeadPFChargedHadrCand_(false) ,embeddedLeadPFNeutralCand_(false) ,embeddedSignalPFCands_(false) ,embeddedSignalPFChargedHadrCands_(false) ,embeddedSignalPFNeutralHadrCands_(false) ,embeddedSignalPFGammaCands_(false) ,embeddedIsolationPFCands_(false) ,embeddedIsolationPFChargedHadrCands_(false) ,embeddedIsolationPFNeutralHadrCands_(false) ,embeddedIsolationPFGammaCands_(false) { const reco::PFTau * pfTau = dynamic_cast<const reco::PFTau *>(aTauRef.get()); if (pfTau != 0) pfSpecific_.push_back(pat::tau::TauPFSpecific(*pfTau)); const reco::CaloTau * caloTau = dynamic_cast<const reco::CaloTau *>(aTauRef.get()); if (caloTau != 0) caloSpecific_.push_back(pat::tau::TauCaloSpecific(*caloTau)); }
Tau::Tau | ( | const edm::Ptr< reco::BaseTau > & | aTauRef | ) |
constructor from a Ptr to a reco tau
constructor from ref to reco::BaseTau
Definition at line 83 of file Tau.cc.
References caloSpecific_, edm::Ptr< T >::get(), and pfSpecific_.
: Lepton<reco::BaseTau>(aTauRef), embeddedIsolationTracks_(false), embeddedLeadTrack_(false), embeddedSignalTracks_(false) ,embeddedLeadPFCand_(false) ,embeddedLeadPFChargedHadrCand_(false) ,embeddedLeadPFNeutralCand_(false) ,embeddedSignalPFCands_(false) ,embeddedSignalPFChargedHadrCands_(false) ,embeddedSignalPFNeutralHadrCands_(false) ,embeddedSignalPFGammaCands_(false) ,embeddedIsolationPFCands_(false) ,embeddedIsolationPFChargedHadrCands_(false) ,embeddedIsolationPFNeutralHadrCands_(false) ,embeddedIsolationPFGammaCands_(false) { const reco::PFTau * pfTau = dynamic_cast<const reco::PFTau *>(aTauRef.get()); if (pfTau != 0) pfSpecific_.push_back(pat::tau::TauPFSpecific(*pfTau)); const reco::CaloTau * caloTau = dynamic_cast<const reco::CaloTau *>(aTauRef.get()); if (caloTau != 0) caloSpecific_.push_back(pat::tau::TauCaloSpecific(*caloTau)); }
float pat::Tau::bremsRecoveryEOverPLead | ( | ) | const [inline] |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 213 of file Tau.h.
References pat::tau::TauPFSpecific::bremsRecoveryEOverPLead_, and pfSpecific().
{ return pfSpecific().bremsRecoveryEOverPLead_; }
float pat::Tau::caloComp | ( | ) | const [inline] |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 225 of file Tau.h.
References pat::tau::TauPFSpecific::caloComp_, and pfSpecific().
{ return pfSpecific().caloComp_; }
const pat::tau::TauCaloSpecific & Tau::caloSpecific | ( | ) | const |
return CaloTau info or throw exception 'not CaloTau'
Definition at line 231 of file Tau.cc.
References caloSpecific_, Exception, and isCaloTau().
Referenced by caloTauTagInfoRef(), etaetaMoment(), etaphiMoment(), isolationECALhitsEtSum(), isolationTracksPtSum(), leadTrackHCAL3x3hitsEtSum(), leadTrackHCAL3x3hottesthitDEta(), leadTracksignedSipt(), maximumHCALhitEt(), phiphiMoment(), signalTracksInvariantMass(), and TracksInvariantMass().
{ if (!isCaloTau()) throw cms::Exception("Type Error") << "Requesting a CaloTau-specific information from a pat::Tau which wasn't made from a CaloTau.\n"; return caloSpecific_[0]; }
reco::CaloTauTagInfoRef pat::Tau::caloTauTagInfoRef | ( | ) | const [inline] |
Method copied from reco::CaloTau. Throws an exception if this pat::Tau was not made from a reco::CaloTau
Definition at line 117 of file Tau.h.
References caloSpecific(), and pat::tau::TauCaloSpecific::CaloTauTagInfoRef_.
{ return caloSpecific().CaloTauTagInfoRef_; }
virtual Tau* pat::Tau::clone | ( | void | ) | const [inline, virtual] |
required reimplementation of the Candidate's clone method
Reimplemented from pat::Lepton< reco::BaseTau >.
Definition at line 65 of file Tau.h.
References Tau().
{ return new Tau(*this); }
int pat::Tau::decayMode | ( | ) | const [inline] |
reconstructed tau decay mode (specific to PFTau)
Definition at line 240 of file Tau.h.
References pat::tau::TauPFSpecific::decayMode_, and pfSpecific().
Referenced by setDecayMode().
{ return pfSpecific().decayMode_; }
float pat::Tau::ecalStripSumEOverPLead | ( | ) | const [inline] |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 210 of file Tau.h.
References pat::tau::TauPFSpecific::ecalStripSumEOverPLead_, and pfSpecific().
{ return pfSpecific().ecalStripSumEOverPLead_; }
bool pat::Tau::electronPreIDDecision | ( | ) | const [inline] |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 222 of file Tau.h.
References pat::tau::TauPFSpecific::electronPreIDDecision_, and pfSpecific().
{ return pfSpecific().electronPreIDDecision_; }
float pat::Tau::electronPreIDOutput | ( | ) | const [inline] |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 219 of file Tau.h.
References pat::tau::TauPFSpecific::electronPreIDOutput_, and pfSpecific().
{ return pfSpecific().electronPreIDOutput_; }
const reco::TrackRef& pat::Tau::electronPreIDTrack | ( | ) | const [inline] |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 216 of file Tau.h.
References pat::tau::TauPFSpecific::electronPreIDTrack_, and pfSpecific().
{ return pfSpecific().electronPreIDTrack_; }
void Tau::embedIsolationPFCands | ( | ) |
method to store the isolation candidates internally
Definition at line 338 of file Tau.cc.
References edm::RefVector< C, T, F >::at(), embeddedIsolationPFCands_, i, isolationPFCands_, isPFTau(), pfSpecific_, and edm::RefVector< C, T, F >::size().
Referenced by pat::PATTauProducer::produce().
{ if (!isPFTau() ) {//additional check with warning in pat::tau producer return; } reco::PFCandidateRefVector candRefVec = pfSpecific_[0].selectedIsolationPFCands_; for (unsigned int i = 0; i < candRefVec.size(); i++) { isolationPFCands_.push_back(*candRefVec.at(i)); } embeddedIsolationPFCands_ = true; }
void Tau::embedIsolationPFChargedHadrCands | ( | ) |
method to store the isolation charged hadrons candidates internally
Definition at line 349 of file Tau.cc.
References edm::RefVector< C, T, F >::at(), embeddedIsolationPFChargedHadrCands_, i, isolationPFChargedHadrCands_, isPFTau(), pfSpecific_, and edm::RefVector< C, T, F >::size().
Referenced by pat::PATTauProducer::produce().
{ if (!isPFTau() ) {//additional check with warning in pat::tau producer return; } reco::PFCandidateRefVector candRefVec = pfSpecific_[0].selectedIsolationPFChargedHadrCands_; for (unsigned int i = 0; i < candRefVec.size(); i++) { isolationPFChargedHadrCands_.push_back(*candRefVec.at(i)); } embeddedIsolationPFChargedHadrCands_ = true; }
void Tau::embedIsolationPFGammaCands | ( | ) |
method to store the isolation gamma candidates internally
Definition at line 369 of file Tau.cc.
References edm::RefVector< C, T, F >::at(), embeddedIsolationPFGammaCands_, i, isolationPFGammaCands_, isPFTau(), pfSpecific_, and edm::RefVector< C, T, F >::size().
Referenced by pat::PATTauProducer::produce().
{ if (!isPFTau() ) {//additional check with warning in pat::tau producer return; } reco::PFCandidateRefVector candRefVec = pfSpecific_[0].selectedIsolationPFGammaCands_; for (unsigned int i = 0; i < candRefVec.size(); i++) { isolationPFGammaCands_.push_back(*candRefVec.at(i)); } embeddedIsolationPFGammaCands_ = true; }
void Tau::embedIsolationPFNeutralHadrCands | ( | ) |
method to store the isolation neutral hadrons candidates internally
Definition at line 359 of file Tau.cc.
References edm::RefVector< C, T, F >::at(), embeddedIsolationPFNeutralHadrCands_, i, isolationPFNeutralHadrCands_, isPFTau(), pfSpecific_, and edm::RefVector< C, T, F >::size().
Referenced by pat::PATTauProducer::produce().
{ if (!isPFTau() ) {//additional check with warning in pat::tau producer return; } reco::PFCandidateRefVector candRefVec = pfSpecific_[0].selectedIsolationPFNeutrHadrCands_; for (unsigned int i = 0; i < candRefVec.size(); i++) { isolationPFNeutralHadrCands_.push_back(*candRefVec.at(i)); } embeddedIsolationPFNeutralHadrCands_ = true; }
void Tau::embedIsolationTracks | ( | ) |
method to store the isolation tracks internally
Definition at line 160 of file Tau.cc.
References edm::RefVector< C, T, F >::at(), embeddedIsolationTracks_, i, isolationTracks(), isolationTracks_, and edm::RefVector< C, T, F >::size().
Referenced by pat::PATTauProducer::produce().
{ isolationTracks_.clear(); reco::TrackRefVector trackRefVec = reco::BaseTau::isolationTracks(); for (unsigned int i = 0; i < trackRefVec.size(); i++) { isolationTracks_.push_back(*trackRefVec.at(i)); } embeddedIsolationTracks_ = true; }
void Tau::embedLeadPFCand | ( | ) |
method to store the leading candidate internally
Definition at line 264 of file Tau.cc.
References embeddedLeadPFCand_, isPFTau(), leadPFCand_, and pfSpecific_.
Referenced by pat::PATTauProducer::produce().
{ if (!isPFTau() ) {//additional check with warning in pat::tau producer return; } leadPFCand_.clear(); if (pfSpecific_[0].leadPFCand_.isNonnull() ) { leadPFCand_.push_back(*pfSpecific_[0].leadPFCand_); //already set in C-tor embeddedLeadPFCand_ = true; } }
void Tau::embedLeadPFChargedHadrCand | ( | ) |
method to store the leading charged hadron candidate internally
method to store the leading candidate internally
Definition at line 275 of file Tau.cc.
References embeddedLeadPFChargedHadrCand_, isPFTau(), leadPFChargedHadrCand_, and pfSpecific_.
Referenced by pat::PATTauProducer::produce().
{ if (!isPFTau() ) {//additional check with warning in pat::tau producer return; } leadPFChargedHadrCand_.clear(); if (pfSpecific_[0].leadPFChargedHadrCand_.isNonnull() ) { leadPFChargedHadrCand_.push_back(*pfSpecific_[0].leadPFChargedHadrCand_); //already set in C-tor embeddedLeadPFChargedHadrCand_ = true; } }
void Tau::embedLeadPFNeutralCand | ( | ) |
method to store the leading neutral candidate internally
method to store the leading candidate internally
Definition at line 286 of file Tau.cc.
References embeddedLeadPFNeutralCand_, isPFTau(), leadPFNeutralCand_, and pfSpecific_.
Referenced by pat::PATTauProducer::produce().
{ if (!isPFTau() ) {//additional check with warning in pat::tau producer return; } leadPFNeutralCand_.clear(); if (pfSpecific_[0].leadPFNeutralCand_.isNonnull() ) { leadPFNeutralCand_.push_back(*pfSpecific_[0].leadPFNeutralCand_); //already set in C-tor embeddedLeadPFNeutralCand_ = true; } }
void Tau::embedLeadTrack | ( | ) |
method to store the leading track internally
method to store the isolation tracks internally
Definition at line 171 of file Tau.cc.
References embeddedLeadTrack_, reco::BaseTau::leadTrack(), and leadTrack_.
Referenced by pat::PATTauProducer::produce().
{ leadTrack_.clear(); if (reco::BaseTau::leadTrack().isNonnull()) { leadTrack_.push_back(*reco::BaseTau::leadTrack()); embeddedLeadTrack_ = true; } }
void Tau::embedSignalPFCands | ( | ) |
method to store the signal candidates internally
Definition at line 297 of file Tau.cc.
References edm::RefVector< C, T, F >::at(), embeddedSignalPFCands_, i, isPFTau(), pfSpecific_, signalPFCands_, and edm::RefVector< C, T, F >::size().
Referenced by pat::PATTauProducer::produce().
{ if (!isPFTau() ) {//additional check with warning in pat::tau producer return; } reco::PFCandidateRefVector candRefVec = pfSpecific_[0].selectedSignalPFCands_; for (unsigned int i = 0; i < candRefVec.size(); i++) { signalPFCands_.push_back(*candRefVec.at(i)); } embeddedSignalPFCands_ = true; }
void Tau::embedSignalPFChargedHadrCands | ( | ) |
method to store the signal charged hadrons candidates internally
Definition at line 307 of file Tau.cc.
References edm::RefVector< C, T, F >::at(), embeddedSignalPFChargedHadrCands_, i, isPFTau(), pfSpecific_, signalPFChargedHadrCands_, and edm::RefVector< C, T, F >::size().
Referenced by pat::PATTauProducer::produce().
{ if (!isPFTau() ) {//additional check with warning in pat::tau producer return; } reco::PFCandidateRefVector candRefVec = pfSpecific_[0].selectedSignalPFChargedHadrCands_; for (unsigned int i = 0; i < candRefVec.size(); i++) { signalPFChargedHadrCands_.push_back(*candRefVec.at(i)); } embeddedSignalPFChargedHadrCands_ = true; }
void Tau::embedSignalPFGammaCands | ( | ) |
method to store the signal gamma candidates internally
Definition at line 327 of file Tau.cc.
References edm::RefVector< C, T, F >::at(), embeddedSignalPFGammaCands_, i, isPFTau(), pfSpecific_, signalPFGammaCands_, and edm::RefVector< C, T, F >::size().
Referenced by pat::PATTauProducer::produce().
{ if (!isPFTau() ) {//additional check with warning in pat::tau producer return; } reco::PFCandidateRefVector candRefVec = pfSpecific_[0].selectedSignalPFGammaCands_; for (unsigned int i = 0; i < candRefVec.size(); i++) { signalPFGammaCands_.push_back(*candRefVec.at(i)); } embeddedSignalPFGammaCands_ = true; }
void Tau::embedSignalPFNeutralHadrCands | ( | ) |
method to store the signal neutral hadrons candidates internally
Definition at line 317 of file Tau.cc.
References edm::RefVector< C, T, F >::at(), embeddedSignalPFNeutralHadrCands_, i, isPFTau(), pfSpecific_, signalPFNeutralHadrCands_, and edm::RefVector< C, T, F >::size().
Referenced by pat::PATTauProducer::produce().
{ if (!isPFTau() ) {//additional check with warning in pat::tau producer return; } reco::PFCandidateRefVector candRefVec = pfSpecific_[0].selectedSignalPFNeutrHadrCands_; for (unsigned int i = 0; i < candRefVec.size(); i++) { signalPFNeutralHadrCands_.push_back(*candRefVec.at(i)); } embeddedSignalPFNeutralHadrCands_ = true; }
void Tau::embedSignalTracks | ( | ) |
method to store the signal tracks internally
method to store the isolation tracks internally
Definition at line 181 of file Tau.cc.
References edm::RefVector< C, T, F >::at(), embeddedSignalTracks_, i, signalTracks(), signalTracks_, and edm::RefVector< C, T, F >::size().
Referenced by pat::PATTauProducer::produce().
{ signalTracks_.clear(); reco::TrackRefVector trackRefVec = reco::BaseTau::signalTracks(); for (unsigned int i = 0; i < trackRefVec.size(); i++) { signalTracks_.push_back(*trackRefVec.at(i)); } embeddedSignalTracks_ = true; }
float pat::Tau::emFraction | ( | ) | const [inline] |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 198 of file Tau.h.
References pat::tau::TauPFSpecific::emFraction_, and pfSpecific().
{ return pfSpecific().emFraction_; }
float Tau::etaetaMoment | ( | ) | const |
Methods copied from reco::Jet. (accessible from reco::CaloTau/reco::PFTau via reco::CaloTauTagInfo/reco::PFTauTagInfo)
Definition at line 236 of file Tau.cc.
References caloSpecific(), pat::tau::TauPFSpecific::etaetaMoment_, pat::tau::TauCaloSpecific::etaetaMoment_, Exception, isCaloTau(), isPFTau(), and pfSpecific().
{ if ( isCaloTau() ) return caloSpecific().etaetaMoment_; if ( isPFTau() ) return pfSpecific().etaetaMoment_; throw cms::Exception("Type Error") << "Requesting a CaloTau/PFTau-specific information from a pat::Tau which wasn't made from either a CaloTau or a PFTau.\n"; }
float Tau::etaphiMoment | ( | ) | const |
Definition at line 250 of file Tau.cc.
References caloSpecific(), pat::tau::TauPFSpecific::etaphiMoment_, pat::tau::TauCaloSpecific::etaphiMoment_, Exception, isCaloTau(), isPFTau(), and pfSpecific().
{ if ( isCaloTau() ) return caloSpecific().etaphiMoment_; if ( isPFTau() ) return pfSpecific().etaphiMoment_; throw cms::Exception("Type Error") << "Requesting a CaloTau/PFTau-specific information from a pat::Tau which wasn't made from either a CaloTau or a PFTau.\n"; }
const reco::GenJet * Tau::genJet | ( | ) | const |
float pat::Tau::hcal3x3OverPLead | ( | ) | const [inline] |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 207 of file Tau.h.
References pat::tau::TauPFSpecific::hcal3x3OverPLead_, and pfSpecific().
{ return pfSpecific().hcal3x3OverPLead_; }
float pat::Tau::hcalMaxOverPLead | ( | ) | const [inline] |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 204 of file Tau.h.
References pat::tau::TauPFSpecific::hcalMaxOverPLead_, and pfSpecific().
{ return pfSpecific().hcalMaxOverPLead_; }
float pat::Tau::hcalTotOverPLead | ( | ) | const [inline] |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 201 of file Tau.h.
References pat::tau::TauPFSpecific::hcalTotOverPLead_, and pfSpecific().
{ return pfSpecific().hcalTotOverPLead_; }
bool pat::Tau::isCaloTau | ( | ) | const [inline] |
Returns true if this pat::Tau was made from a reco::CaloTau.
Definition at line 112 of file Tau.h.
References caloSpecific_.
Referenced by caloSpecific(), etaetaMoment(), etaphiMoment(), and phiphiMoment().
{ return !caloSpecific_.empty(); }
float pat::Tau::isolationECALhitsEtSum | ( | ) | const [inline] |
Method copied from reco::CaloTau. Throws an exception if this pat::Tau was not made from a reco::CaloTau
Definition at line 138 of file Tau.h.
References caloSpecific(), and pat::tau::TauCaloSpecific::isolationECALhitsEtSum_.
{ return caloSpecific().isolationECALhitsEtSum_; }
const reco::PFCandidateRefVector & Tau::isolationPFCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 461 of file Tau.cc.
References embeddedIsolationPFCands_, i, isolationPFCands_, isolationPFCandsRefVectorFixed_, isolationPFCandsTransientRefVector_, pfSpecific(), edm::RefVector< C, T, F >::push_back(), pat::tau::TauPFSpecific::selectedIsolationPFCands_, and edm::RefVector< C, T, F >::swap().
{ if (embeddedIsolationPFCands_) { if (!isolationPFCandsRefVectorFixed_) { reco::PFCandidateRefVector aRefVec; for (unsigned int i = 0; i < isolationPFCands_.size(); i++) { aRefVec.push_back(reco::PFCandidateRef(&isolationPFCands_, i) ); } isolationPFCandsTransientRefVector_.swap(aRefVec); isolationPFCandsRefVectorFixed_ = true; } return isolationPFCandsTransientRefVector_; } else return pfSpecific().selectedIsolationPFCands_; }
const reco::PFCandidateRefVector & Tau::isolationPFChargedHadrCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 476 of file Tau.cc.
References embeddedIsolationPFChargedHadrCands_, i, isolationPFChargedHadrCands_, isolationPFChargedHadrCandsRefVectorFixed_, isolationPFChargedHadrCandsTransientRefVector_, pfSpecific(), edm::RefVector< C, T, F >::push_back(), pat::tau::TauPFSpecific::selectedIsolationPFChargedHadrCands_, and edm::RefVector< C, T, F >::swap().
{ if (embeddedIsolationPFChargedHadrCands_) { if (!isolationPFChargedHadrCandsRefVectorFixed_) { reco::PFCandidateRefVector aRefVec; for (unsigned int i = 0; i < isolationPFChargedHadrCands_.size(); i++) { aRefVec.push_back(reco::PFCandidateRef(&isolationPFChargedHadrCands_, i) ); } isolationPFChargedHadrCandsTransientRefVector_.swap(aRefVec); isolationPFChargedHadrCandsRefVectorFixed_ = true; } return isolationPFChargedHadrCandsTransientRefVector_; } else return pfSpecific().selectedIsolationPFChargedHadrCands_; }
float pat::Tau::isolationPFChargedHadrCandsPtSum | ( | ) | const [inline] |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 189 of file Tau.h.
References pat::tau::TauPFSpecific::isolationPFChargedHadrCandsPtSum_, and pfSpecific().
{ return pfSpecific().isolationPFChargedHadrCandsPtSum_; }
const reco::PFCandidateRefVector & Tau::isolationPFGammaCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 506 of file Tau.cc.
References embeddedIsolationPFGammaCands_, i, isolationPFGammaCands_, isolationPFGammaCandsRefVectorFixed_, isolationPFGammaCandsTransientRefVector_, pfSpecific(), edm::RefVector< C, T, F >::push_back(), pat::tau::TauPFSpecific::selectedIsolationPFGammaCands_, and edm::RefVector< C, T, F >::swap().
{ if (embeddedIsolationPFGammaCands_) { if (!isolationPFGammaCandsRefVectorFixed_) { reco::PFCandidateRefVector aRefVec; for (unsigned int i = 0; i < isolationPFGammaCands_.size(); i++) { aRefVec.push_back(reco::PFCandidateRef(&isolationPFGammaCands_, i) ); } isolationPFGammaCandsTransientRefVector_.swap(aRefVec); isolationPFGammaCandsRefVectorFixed_ = true; } return isolationPFGammaCandsTransientRefVector_; } else return pfSpecific().selectedIsolationPFGammaCands_; }
float pat::Tau::isolationPFGammaCandsEtSum | ( | ) | const [inline] |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 192 of file Tau.h.
References pat::tau::TauPFSpecific::isolationPFGammaCandsEtSum_, and pfSpecific().
{ return pfSpecific().isolationPFGammaCandsEtSum_; }
const reco::PFCandidateRefVector & Tau::isolationPFNeutrHadrCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 491 of file Tau.cc.
References embeddedIsolationPFNeutralHadrCands_, i, isolationPFNeutralHadrCands_, isolationPFNeutralHadrCandsRefVectorFixed_, isolationPFNeutralHadrCandsTransientRefVector_, pfSpecific(), edm::RefVector< C, T, F >::push_back(), pat::tau::TauPFSpecific::selectedIsolationPFNeutrHadrCands_, and edm::RefVector< C, T, F >::swap().
{ if (embeddedIsolationPFNeutralHadrCands_) { if (!isolationPFNeutralHadrCandsRefVectorFixed_) { reco::PFCandidateRefVector aRefVec; for (unsigned int i = 0; i < isolationPFNeutralHadrCands_.size(); i++) { aRefVec.push_back(reco::PFCandidateRef(&isolationPFNeutralHadrCands_, i) ); } isolationPFNeutralHadrCandsTransientRefVector_.swap(aRefVec); isolationPFNeutralHadrCandsRefVectorFixed_ = true; } return isolationPFNeutralHadrCandsTransientRefVector_; } else return pfSpecific().selectedIsolationPFNeutrHadrCands_; }
const reco::TrackRefVector & Tau::isolationTracks | ( | ) | const [virtual] |
override the reco::BaseTau::isolationTracks method, to access the internal storage of the isolation tracks
override the reco::BaseTau::isolationTracks method, to access the internal storage of the track
Reimplemented from reco::BaseTau.
Definition at line 114 of file Tau.cc.
References embeddedIsolationTracks_, i, isolationTracks_, isolationTracksTransientRefVector_, isolationTracksTransientRefVectorFixed_, edm::RefVector< C, T, F >::push_back(), and edm::RefVector< C, T, F >::swap().
Referenced by embedIsolationTracks().
{ if (embeddedIsolationTracks_) { if (!isolationTracksTransientRefVectorFixed_) { reco::TrackRefVector trackRefVec; for (unsigned int i = 0; i < isolationTracks_.size(); i++) { trackRefVec.push_back(reco::TrackRef(&isolationTracks_, i)); } isolationTracksTransientRefVector_.swap(trackRefVec); isolationTracksTransientRefVectorFixed_ = true; } return isolationTracksTransientRefVector_; } else { return reco::BaseTau::isolationTracks(); } }
float pat::Tau::isolationTracksPtSum | ( | ) | const [inline] |
Method copied from reco::CaloTau. Throws an exception if this pat::Tau was not made from a reco::CaloTau
Definition at line 135 of file Tau.h.
References caloSpecific(), and pat::tau::TauCaloSpecific::isolationTracksPtSum_.
{ return caloSpecific().isolationTracksPtSum_; }
bool pat::Tau::isPFTau | ( | ) | const [inline] |
Returns true if this pat::Tau was made from a reco::PFTau.
Definition at line 145 of file Tau.h.
References pfSpecific_.
Referenced by embedIsolationPFCands(), embedIsolationPFChargedHadrCands(), embedIsolationPFGammaCands(), embedIsolationPFNeutralHadrCands(), embedLeadPFCand(), embedLeadPFChargedHadrCand(), embedLeadPFNeutralCand(), embedSignalPFCands(), embedSignalPFChargedHadrCands(), embedSignalPFGammaCands(), embedSignalPFNeutralHadrCands(), etaetaMoment(), etaphiMoment(), pfSpecific(), phiphiMoment(), pat::PATTauProducer::produce(), and setDecayMode().
{ return !pfSpecific_.empty(); }
bool Tau::isTauIDAvailable | ( | const std::string & | name | ) | const |
const reco::PFCandidateRef Tau::leadPFCand | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 394 of file Tau.cc.
References embeddedLeadPFCand_, leadPFCand_, pat::tau::TauPFSpecific::leadPFCand_, and pfSpecific().
{ if(!embeddedLeadPFCand_) return pfSpecific().leadPFCand_; else return reco::PFCandidateRef(&leadPFCand_,0); }
const reco::PFCandidateRef Tau::leadPFChargedHadrCand | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau const reco::PFTauTagInfoRef & pfTauTagInfoRef() const { return pfSpecific().PFTauTagInfoRef_; } Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 380 of file Tau.cc.
References embeddedLeadPFChargedHadrCand_, pat::tau::TauPFSpecific::leadPFChargedHadrCand_, leadPFChargedHadrCand_, and pfSpecific().
{ if(!embeddedLeadPFChargedHadrCand_) return pfSpecific().leadPFChargedHadrCand_; else return reco::PFCandidateRef(&leadPFChargedHadrCand_,0); }
float pat::Tau::leadPFChargedHadrCandsignedSipt | ( | ) | const [inline] |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 156 of file Tau.h.
References pat::tau::TauPFSpecific::leadPFChargedHadrCandsignedSipt_, and pfSpecific().
{ return pfSpecific().leadPFChargedHadrCandsignedSipt_; }
const reco::PFCandidateRef Tau::leadPFNeutralCand | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 387 of file Tau.cc.
References embeddedLeadPFNeutralCand_, pat::tau::TauPFSpecific::leadPFNeutralCand_, leadPFNeutralCand_, and pfSpecific().
{ if(!embeddedLeadPFNeutralCand_) return pfSpecific().leadPFNeutralCand_; else return reco::PFCandidateRef(&leadPFNeutralCand_,0); }
reco::TrackRef Tau::leadTrack | ( | ) | const [virtual] |
override the reco::BaseTau::leadTrack method, to access the internal storage of the leading track
override the reco::BaseTau::track method, to access the internal storage of the track
Reimplemented from reco::BaseTau.
Definition at line 132 of file Tau.cc.
References embeddedLeadTrack_, and leadTrack_.
{ if (embeddedLeadTrack_) { return reco::TrackRef(&leadTrack_, 0); } else { return reco::BaseTau::leadTrack(); } }
float pat::Tau::leadTrackHCAL3x3hitsEtSum | ( | ) | const [inline] |
Method copied from reco::CaloTau. Throws an exception if this pat::Tau was not made from a reco::CaloTau
Definition at line 123 of file Tau.h.
References caloSpecific(), and pat::tau::TauCaloSpecific::leadTrackHCAL3x3hitsEtSum_.
{ return caloSpecific().leadTrackHCAL3x3hitsEtSum_; }
float pat::Tau::leadTrackHCAL3x3hottesthitDEta | ( | ) | const [inline] |
Method copied from reco::CaloTau. Throws an exception if this pat::Tau was not made from a reco::CaloTau
Definition at line 126 of file Tau.h.
References caloSpecific(), and pat::tau::TauCaloSpecific::leadTrackHCAL3x3hottesthitDEta_.
{ return caloSpecific().leadTrackHCAL3x3hottesthitDEta_; }
float pat::Tau::leadTracksignedSipt | ( | ) | const [inline] |
Method copied from reco::CaloTau. Throws an exception if this pat::Tau was not made from a reco::CaloTau
Definition at line 120 of file Tau.h.
References caloSpecific(), and pat::tau::TauCaloSpecific::leadTracksignedSipt_.
{ return caloSpecific().leadTracksignedSipt_; }
float pat::Tau::maximumHCALhitEt | ( | ) | const [inline] |
Method copied from reco::CaloTau. Throws an exception if this pat::Tau was not made from a reco::CaloTau
Definition at line 141 of file Tau.h.
References caloSpecific(), and pat::tau::TauCaloSpecific::maximumHCALhitEt_.
{ return caloSpecific().maximumHCALhitEt_; }
float pat::Tau::maximumHCALPFClusterEt | ( | ) | const [inline] |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 195 of file Tau.h.
References pat::tau::TauPFSpecific::maximumHCALPFClusterEt_, and pfSpecific().
{ return pfSpecific().maximumHCALPFClusterEt_; }
bool pat::Tau::muonDecision | ( | ) | const [inline] |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 231 of file Tau.h.
References pat::tau::TauPFSpecific::muonDecision_, and pfSpecific().
{ return pfSpecific().muonDecision_; }
const pat::tau::TauPFSpecific & Tau::pfSpecific | ( | ) | const |
return PFTau info or throw exception 'not PFTau'
Definition at line 226 of file Tau.cc.
References Exception, isPFTau(), and pfSpecific_.
Referenced by bremsRecoveryEOverPLead(), caloComp(), decayMode(), ecalStripSumEOverPLead(), electronPreIDDecision(), electronPreIDOutput(), electronPreIDTrack(), emFraction(), etaetaMoment(), etaphiMoment(), hcal3x3OverPLead(), hcalMaxOverPLead(), hcalTotOverPLead(), isolationPFCands(), isolationPFChargedHadrCands(), isolationPFChargedHadrCandsPtSum(), isolationPFGammaCands(), isolationPFGammaCandsEtSum(), isolationPFNeutrHadrCands(), leadPFCand(), leadPFChargedHadrCand(), leadPFChargedHadrCandsignedSipt(), leadPFNeutralCand(), maximumHCALPFClusterEt(), muonDecision(), phiphiMoment(), segComp(), signalPFCands(), signalPFChargedHadrCands(), signalPFGammaCands(), and signalPFNeutrHadrCands().
{ if (!isPFTau()) throw cms::Exception("Type Error") << "Requesting a PFTau-specific information from a pat::Tau which wasn't made from a PFTau.\n"; return pfSpecific_[0]; }
float Tau::phiphiMoment | ( | ) | const |
Definition at line 243 of file Tau.cc.
References caloSpecific(), Exception, isCaloTau(), isPFTau(), pfSpecific(), pat::tau::TauPFSpecific::phiphiMoment_, and pat::tau::TauCaloSpecific::phiphiMoment_.
{ if ( isCaloTau() ) return caloSpecific().phiphiMoment_; if ( isPFTau() ) return pfSpecific().phiphiMoment_; throw cms::Exception("Type Error") << "Requesting a CaloTau/PFTau-specific information from a pat::Tau which wasn't made from either a CaloTau or a PFTau.\n"; }
float pat::Tau::segComp | ( | ) | const [inline] |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 228 of file Tau.h.
References pfSpecific(), and pat::tau::TauPFSpecific::segComp_.
{ return pfSpecific().segComp_; }
void Tau::setDecayMode | ( | int | decayMode | ) |
set decay mode
Definition at line 257 of file Tau.cc.
References decayMode(), Exception, isPFTau(), and pfSpecific_.
Referenced by pat::PATTauProducer::produce().
{ if (!isPFTau()) throw cms::Exception("Type Error") << "Requesting a PFTau-specific information from a pat::Tau which wasn't made from a PFTau.\n"; pfSpecific_[0].decayMode_ = decayMode; }
void Tau::setGenJet | ( | const reco::GenJetRef & | ref | ) |
void pat::Tau::setTauIDs | ( | const std::vector< IdPair > & | ids | ) | [inline] |
Store multiple tau ID values, discarding existing ones The first one in the list becomes the 'default' tau id
Definition at line 258 of file Tau.h.
References tauIDs_.
Referenced by pat::PATTauProducer::produce().
{ tauIDs_ = ids; }
const reco::PFCandidateRefVector & Tau::signalPFCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 401 of file Tau.cc.
References embeddedSignalPFCands_, i, pfSpecific(), edm::RefVector< C, T, F >::push_back(), pat::tau::TauPFSpecific::selectedSignalPFCands_, signalPFCands_, signalPFCandsRefVectorFixed_, signalPFCandsTransientRefVector_, and edm::RefVector< C, T, F >::swap().
{ if (embeddedSignalPFCands_) { if (!signalPFCandsRefVectorFixed_) { reco::PFCandidateRefVector aRefVec; for (unsigned int i = 0; i < signalPFCands_.size(); i++) { aRefVec.push_back(reco::PFCandidateRef(&signalPFCands_, i) ); } signalPFCandsTransientRefVector_.swap(aRefVec); signalPFCandsRefVectorFixed_ = true; } return signalPFCandsTransientRefVector_; } else return pfSpecific().selectedSignalPFCands_; }
const reco::PFCandidateRefVector & Tau::signalPFChargedHadrCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 416 of file Tau.cc.
References embeddedSignalPFChargedHadrCands_, i, pfSpecific(), edm::RefVector< C, T, F >::push_back(), pat::tau::TauPFSpecific::selectedSignalPFChargedHadrCands_, signalPFChargedHadrCands_, signalPFChargedHadrCandsRefVectorFixed_, signalPFChargedHadrCandsTransientRefVector_, and edm::RefVector< C, T, F >::swap().
{ if (embeddedSignalPFChargedHadrCands_) { if (!signalPFChargedHadrCandsRefVectorFixed_) { reco::PFCandidateRefVector aRefVec; for (unsigned int i = 0; i < signalPFChargedHadrCands_.size(); i++) { aRefVec.push_back(reco::PFCandidateRef(&signalPFChargedHadrCands_, i) ); } signalPFChargedHadrCandsTransientRefVector_.swap(aRefVec); signalPFChargedHadrCandsRefVectorFixed_ = true; } return signalPFChargedHadrCandsTransientRefVector_; } else return pfSpecific().selectedSignalPFChargedHadrCands_; }
const reco::PFCandidateRefVector & Tau::signalPFGammaCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 446 of file Tau.cc.
References embeddedSignalPFGammaCands_, i, pfSpecific(), edm::RefVector< C, T, F >::push_back(), pat::tau::TauPFSpecific::selectedSignalPFGammaCands_, signalPFGammaCands_, signalPFGammaCandsRefVectorFixed_, signalPFGammaCandsTransientRefVector_, and edm::RefVector< C, T, F >::swap().
{ if (embeddedSignalPFGammaCands_) { if (!signalPFGammaCandsRefVectorFixed_) { reco::PFCandidateRefVector aRefVec; for (unsigned int i = 0; i < signalPFGammaCands_.size(); i++) { aRefVec.push_back(reco::PFCandidateRef(&signalPFGammaCands_, i) ); } signalPFGammaCandsTransientRefVector_.swap(aRefVec); signalPFGammaCandsRefVectorFixed_ = true; } return signalPFGammaCandsTransientRefVector_; } else return pfSpecific().selectedSignalPFGammaCands_; }
const reco::PFCandidateRefVector & Tau::signalPFNeutrHadrCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 431 of file Tau.cc.
References embeddedSignalPFNeutralHadrCands_, i, pfSpecific(), edm::RefVector< C, T, F >::push_back(), pat::tau::TauPFSpecific::selectedSignalPFNeutrHadrCands_, signalPFNeutralHadrCands_, signalPFNeutralHadrCandsRefVectorFixed_, signalPFNeutralHadrCandsTransientRefVector_, and edm::RefVector< C, T, F >::swap().
{ if (embeddedSignalPFNeutralHadrCands_) { if (!signalPFNeutralHadrCandsRefVectorFixed_) { reco::PFCandidateRefVector aRefVec; for (unsigned int i = 0; i < signalPFNeutralHadrCands_.size(); i++) { aRefVec.push_back(reco::PFCandidateRef(&signalPFNeutralHadrCands_, i) ); } signalPFNeutralHadrCandsTransientRefVector_.swap(aRefVec); signalPFNeutralHadrCandsRefVectorFixed_ = true; } return signalPFNeutralHadrCandsTransientRefVector_; } else return pfSpecific().selectedSignalPFNeutrHadrCands_; }
const reco::TrackRefVector & Tau::signalTracks | ( | ) | const [virtual] |
override the reco::BaseTau::signalTracks method, to access the internal storage of the signal tracks
override the reco::BaseTau::track method, to access the internal storage of the track
Reimplemented from reco::BaseTau.
Definition at line 142 of file Tau.cc.
References embeddedSignalTracks_, i, edm::RefVector< C, T, F >::push_back(), signalTracks_, signalTracksTransientRefVector_, signalTracksTransientRefVectorFixed_, and edm::RefVector< C, T, F >::swap().
Referenced by embedSignalTracks().
{ if (embeddedSignalTracks_) { reco::TrackRefVector trackRefVec; if (!signalTracksTransientRefVectorFixed_) { for (unsigned int i = 0; i < signalTracks_.size(); i++) { trackRefVec.push_back(reco::TrackRef(&signalTracks_, i)); } signalTracksTransientRefVector_.swap(trackRefVec); signalTracksTransientRefVectorFixed_ = true; } return signalTracksTransientRefVector_; } else { return reco::BaseTau::signalTracks(); } }
float pat::Tau::signalTracksInvariantMass | ( | ) | const [inline] |
Method copied from reco::CaloTau. Throws an exception if this pat::Tau was not made from a reco::CaloTau
Definition at line 129 of file Tau.h.
References caloSpecific(), and pat::tau::TauCaloSpecific::signalTracksInvariantMass_.
{ return caloSpecific().signalTracksInvariantMass_; }
float Tau::tauID | ( | const std::string & | name | ) | const |
Returns a specific tau ID associated to the pat::Tau given its name For cut-based IDs, the value is 1.0 for good, 0.0 for bad. The names are defined within the configuration parameterset "tauIDSources" in PhysicsTools/PatAlgos/python/producersLayer1/tauProducer_cfi.py . Note: an exception is thrown if the specified ID is not available
Definition at line 204 of file Tau.cc.
References tauIDs_.
{ for (std::vector<IdPair>::const_iterator it = tauIDs_.begin(), ed = tauIDs_.end(); it != ed; ++it) { if (it->first == name) return it->second; } cms::Exception ex("Key not found"); ex << "pat::Tau: the ID " << name << " can't be found in this pat::Tau.\n"; ex << "The available IDs are: "; for (std::vector<IdPair>::const_iterator it = tauIDs_.begin(), ed = tauIDs_.end(); it != ed; ++it) { ex << "'" << it->first << "' "; } ex << ".\n"; throw ex; }
const std::vector<IdPair>& pat::Tau::tauIDs | ( | ) | const [inline] |
float pat::Tau::TracksInvariantMass | ( | ) | const [inline] |
Method copied from reco::CaloTau. Throws an exception if this pat::Tau was not made from a reco::CaloTau
Definition at line 132 of file Tau.h.
References caloSpecific(), and pat::tau::TauCaloSpecific::TracksInvariantMass_.
{ return caloSpecific().TracksInvariantMass_; }
std::vector<pat::tau::TauCaloSpecific> pat::Tau::caloSpecific_ [protected] |
holder for CaloTau info, or empty vector if PFTau
Definition at line 320 of file Tau.h.
Referenced by caloSpecific(), isCaloTau(), and Tau().
bool pat::Tau::embeddedIsolationPFCands_ [protected] |
Definition at line 298 of file Tau.h.
Referenced by embedIsolationPFCands(), and isolationPFCands().
bool pat::Tau::embeddedIsolationPFChargedHadrCands_ [protected] |
Definition at line 302 of file Tau.h.
Referenced by embedIsolationPFChargedHadrCands(), and isolationPFChargedHadrCands().
bool pat::Tau::embeddedIsolationPFGammaCands_ [protected] |
Definition at line 310 of file Tau.h.
Referenced by embedIsolationPFGammaCands(), and isolationPFGammaCands().
bool pat::Tau::embeddedIsolationPFNeutralHadrCands_ [protected] |
Definition at line 306 of file Tau.h.
Referenced by embedIsolationPFNeutralHadrCands(), and isolationPFNeutrHadrCands().
bool pat::Tau::embeddedIsolationTracks_ [protected] |
Definition at line 263 of file Tau.h.
Referenced by embedIsolationTracks(), and isolationTracks().
bool pat::Tau::embeddedLeadPFCand_ [protected] |
Definition at line 275 of file Tau.h.
Referenced by embedLeadPFCand(), and leadPFCand().
bool pat::Tau::embeddedLeadPFChargedHadrCand_ [protected] |
Definition at line 277 of file Tau.h.
Referenced by embedLeadPFChargedHadrCand(), and leadPFChargedHadrCand().
bool pat::Tau::embeddedLeadPFNeutralCand_ [protected] |
Definition at line 279 of file Tau.h.
Referenced by embedLeadPFNeutralCand(), and leadPFNeutralCand().
bool pat::Tau::embeddedLeadTrack_ [protected] |
Definition at line 267 of file Tau.h.
Referenced by embedLeadTrack(), and leadTrack().
bool pat::Tau::embeddedSignalPFCands_ [protected] |
Definition at line 282 of file Tau.h.
Referenced by embedSignalPFCands(), and signalPFCands().
bool pat::Tau::embeddedSignalPFChargedHadrCands_ [protected] |
Definition at line 286 of file Tau.h.
Referenced by embedSignalPFChargedHadrCands(), and signalPFChargedHadrCands().
bool pat::Tau::embeddedSignalPFGammaCands_ [protected] |
Definition at line 294 of file Tau.h.
Referenced by embedSignalPFGammaCands(), and signalPFGammaCands().
bool pat::Tau::embeddedSignalPFNeutralHadrCands_ [protected] |
Definition at line 290 of file Tau.h.
Referenced by embedSignalPFNeutralHadrCands(), and signalPFNeutrHadrCands().
bool pat::Tau::embeddedSignalTracks_ [protected] |
Definition at line 269 of file Tau.h.
Referenced by embedSignalTracks(), and signalTracks().
std::vector<reco::GenJet> pat::Tau::genJet_ [protected] |
Definition at line 315 of file Tau.h.
Referenced by genJet(), and setGenJet().
std::vector<reco::PFCandidate> pat::Tau::isolationPFCands_ [protected] |
Definition at line 297 of file Tau.h.
Referenced by embedIsolationPFCands(), and isolationPFCands().
edm::BoolCache pat::Tau::isolationPFCandsRefVectorFixed_ [mutable, protected] |
Definition at line 300 of file Tau.h.
Referenced by isolationPFCands().
reco::PFCandidateRefVector pat::Tau::isolationPFCandsTransientRefVector_ [mutable, protected] |
Definition at line 299 of file Tau.h.
Referenced by isolationPFCands().
std::vector<reco::PFCandidate> pat::Tau::isolationPFChargedHadrCands_ [protected] |
Definition at line 301 of file Tau.h.
Referenced by embedIsolationPFChargedHadrCands(), and isolationPFChargedHadrCands().
edm::BoolCache pat::Tau::isolationPFChargedHadrCandsRefVectorFixed_ [mutable, protected] |
Definition at line 304 of file Tau.h.
Referenced by isolationPFChargedHadrCands().
reco::PFCandidateRefVector pat::Tau::isolationPFChargedHadrCandsTransientRefVector_ [mutable, protected] |
Definition at line 303 of file Tau.h.
Referenced by isolationPFChargedHadrCands().
std::vector<reco::PFCandidate> pat::Tau::isolationPFGammaCands_ [protected] |
Definition at line 309 of file Tau.h.
Referenced by embedIsolationPFGammaCands(), and isolationPFGammaCands().
edm::BoolCache pat::Tau::isolationPFGammaCandsRefVectorFixed_ [mutable, protected] |
Definition at line 312 of file Tau.h.
Referenced by isolationPFGammaCands().
reco::PFCandidateRefVector pat::Tau::isolationPFGammaCandsTransientRefVector_ [mutable, protected] |
Definition at line 311 of file Tau.h.
Referenced by isolationPFGammaCands().
std::vector<reco::PFCandidate> pat::Tau::isolationPFNeutralHadrCands_ [protected] |
Definition at line 305 of file Tau.h.
Referenced by embedIsolationPFNeutralHadrCands(), and isolationPFNeutrHadrCands().
edm::BoolCache pat::Tau::isolationPFNeutralHadrCandsRefVectorFixed_ [mutable, protected] |
Definition at line 308 of file Tau.h.
Referenced by isolationPFNeutrHadrCands().
reco::PFCandidateRefVector pat::Tau::isolationPFNeutralHadrCandsTransientRefVector_ [mutable, protected] |
Definition at line 307 of file Tau.h.
Referenced by isolationPFNeutrHadrCands().
std::vector<reco::Track> pat::Tau::isolationTracks_ [protected] |
Reimplemented from reco::BaseTau.
Definition at line 264 of file Tau.h.
Referenced by embedIsolationTracks(), and isolationTracks().
reco::TrackRefVector pat::Tau::isolationTracksTransientRefVector_ [mutable, protected] |
Definition at line 265 of file Tau.h.
Referenced by isolationTracks().
edm::BoolCache pat::Tau::isolationTracksTransientRefVectorFixed_ [mutable, protected] |
Definition at line 266 of file Tau.h.
Referenced by isolationTracks().
std::vector<reco::PFCandidate> pat::Tau::leadPFCand_ [protected] |
Definition at line 274 of file Tau.h.
Referenced by embedLeadPFCand(), and leadPFCand().
std::vector<reco::PFCandidate> pat::Tau::leadPFChargedHadrCand_ [protected] |
Definition at line 276 of file Tau.h.
Referenced by embedLeadPFChargedHadrCand(), and leadPFChargedHadrCand().
std::vector<reco::PFCandidate> pat::Tau::leadPFNeutralCand_ [protected] |
Definition at line 278 of file Tau.h.
Referenced by embedLeadPFNeutralCand(), and leadPFNeutralCand().
std::vector<reco::Track> pat::Tau::leadTrack_ [protected] |
Reimplemented from reco::BaseTau.
Definition at line 268 of file Tau.h.
Referenced by embedLeadTrack(), and leadTrack().
std::vector<pat::tau::TauPFSpecific> pat::Tau::pfSpecific_ [protected] |
holder for PFTau info, or empty vector if CaloTau
Definition at line 323 of file Tau.h.
Referenced by embedIsolationPFCands(), embedIsolationPFChargedHadrCands(), embedIsolationPFGammaCands(), embedIsolationPFNeutralHadrCands(), embedLeadPFCand(), embedLeadPFChargedHadrCand(), embedLeadPFNeutralCand(), embedSignalPFCands(), embedSignalPFChargedHadrCands(), embedSignalPFGammaCands(), embedSignalPFNeutralHadrCands(), isPFTau(), pfSpecific(), setDecayMode(), and Tau().
std::vector<reco::PFCandidate> pat::Tau::signalPFCands_ [protected] |
Definition at line 281 of file Tau.h.
Referenced by embedSignalPFCands(), and signalPFCands().
edm::BoolCache pat::Tau::signalPFCandsRefVectorFixed_ [mutable, protected] |
Definition at line 284 of file Tau.h.
Referenced by signalPFCands().
reco::PFCandidateRefVector pat::Tau::signalPFCandsTransientRefVector_ [mutable, protected] |
Definition at line 283 of file Tau.h.
Referenced by signalPFCands().
std::vector<reco::PFCandidate> pat::Tau::signalPFChargedHadrCands_ [protected] |
Definition at line 285 of file Tau.h.
Referenced by embedSignalPFChargedHadrCands(), and signalPFChargedHadrCands().
edm::BoolCache pat::Tau::signalPFChargedHadrCandsRefVectorFixed_ [mutable, protected] |
Definition at line 288 of file Tau.h.
Referenced by signalPFChargedHadrCands().
reco::PFCandidateRefVector pat::Tau::signalPFChargedHadrCandsTransientRefVector_ [mutable, protected] |
Definition at line 287 of file Tau.h.
Referenced by signalPFChargedHadrCands().
std::vector<reco::PFCandidate> pat::Tau::signalPFGammaCands_ [protected] |
Definition at line 293 of file Tau.h.
Referenced by embedSignalPFGammaCands(), and signalPFGammaCands().
edm::BoolCache pat::Tau::signalPFGammaCandsRefVectorFixed_ [mutable, protected] |
Definition at line 296 of file Tau.h.
Referenced by signalPFGammaCands().
reco::PFCandidateRefVector pat::Tau::signalPFGammaCandsTransientRefVector_ [mutable, protected] |
Definition at line 295 of file Tau.h.
Referenced by signalPFGammaCands().
std::vector<reco::PFCandidate> pat::Tau::signalPFNeutralHadrCands_ [protected] |
Definition at line 289 of file Tau.h.
Referenced by embedSignalPFNeutralHadrCands(), and signalPFNeutrHadrCands().
edm::BoolCache pat::Tau::signalPFNeutralHadrCandsRefVectorFixed_ [mutable, protected] |
Definition at line 292 of file Tau.h.
Referenced by signalPFNeutrHadrCands().
reco::PFCandidateRefVector pat::Tau::signalPFNeutralHadrCandsTransientRefVector_ [mutable, protected] |
Definition at line 291 of file Tau.h.
Referenced by signalPFNeutrHadrCands().
std::vector<reco::Track> pat::Tau::signalTracks_ [protected] |
Reimplemented from reco::BaseTau.
Definition at line 270 of file Tau.h.
Referenced by embedSignalTracks(), and signalTracks().
reco::TrackRefVector pat::Tau::signalTracksTransientRefVector_ [mutable, protected] |
Definition at line 271 of file Tau.h.
Referenced by signalTracks().
edm::BoolCache pat::Tau::signalTracksTransientRefVectorFixed_ [mutable, protected] |
Definition at line 272 of file Tau.h.
Referenced by signalTracks().
std::vector<IdPair> pat::Tau::tauIDs_ [protected] |
Definition at line 317 of file Tau.h.
Referenced by isTauIDAvailable(), setTauIDs(), tauID(), and tauIDs().