4 #ifndef DataFormats_PatCandidates_Tau_h
5 #define DataFormats_PatCandidates_Tau_h
61 typedef std::pair<std::string, float>
IdPair;
178 const std::vector<reco::PFCandidatePtr>&
signalPFCands()
const;
337 float jecFactor(
const unsigned int&
level,
const unsigned int& set = 0)
const;
432 std::vector<pat::TauJetCorrFactors>
jec_;
float leadTracksignedSipt_
bool electronPreIDDecision_
const std::vector< reco::RecoTauPiZero > & signalPiZeroCandidates() const
bool embeddedLeadPFNeutralCand_
virtual Tau * clone() const
required reimplementation of the Candidate's clone method
const std::vector< IdPair > & tauIDs() const
const LorentzVector & correctedP4(const std::string &level, const std::string &set="") const
edm::AtomicPtrCache< reco::TrackRefVector > signalTracksTransientRefVector_
float hcalTotOverPLead() const
void currentJECLevel(const unsigned int &level)
update the current JEC level; used by correctedJet
const LorentzVector & correctedP4(const unsigned int &level, const unsigned int &set=0) const
reco::CaloTauTagInfoRef CaloTauTagInfoRef_
float bremsRecoveryEOverPLead_
reco::PFTauTransverseImpactParameter::Point svPos_
float electronPreIDOutput_
reco::PFTauTransverseImpactParameter::CovMatrix flightLengthCov() const
virtual const LorentzVector & p4() const GCC11_FINAL
four-momentum Lorentz vector
bool embeddedSignalPFChargedHadrCands_
float isolationTracksPtSum() const
std::vector< reco::PFCandidate > leadPFNeutralCand_
reco::TrackRef electronPreIDTrack_
edm::AtomicPtrCache< std::vector< reco::PFCandidatePtr > > isolationPFChargedHadrCandsTransientPtrs_
std::vector< reco::PFCandidate > signalPFNeutralHadrCands_
const pat::tau::TauCaloSpecific & caloSpecific() const
return CaloTau info or throw exception 'not CaloTau'
std::vector< reco::PFCandidate > signalPFCands_
edm::AtomicPtrCache< std::vector< reco::PFCandidatePtr > > signalPFNeutralHadrCandsTransientPtrs_
bool embeddedIsolationPFChargedHadrCands_
bool jecSetAvailable(const std::string &set) const
bool embeddedIsolationPFCands_
float isolationTracksPtSum_
float hcal3x3OverPLead() const
bool jecSetAvailable(const unsigned int &set) const
void embedLeadPFChargedHadrCand()
method to store the leading charged hadron candidate internally
reco::PFTauTransverseImpactParameter::Point pvPos_
reco::CaloTauTagInfoRef caloTauTagInfoRef() const
std::vector< reco::PFCandidate > isolationPFGammaCands_
std::vector< reco::PFCandidate > isolationPFNeutralHadrCands_
edm::AtomicPtrCache< std::vector< reco::PFCandidatePtr > > isolationPFGammaCandsTransientPtrs_
float TracksInvariantMass() const
const reco::PFCandidatePtr leadPFCand() const
void embedSignalPFGammaCands()
method to store the signal gamma candidates internally
std::vector< Tau > TauCollection
std::vector< reco::GenJet > genJet_
void embedIsolationPFCands()
method to store the isolation candidates internally
void embedIsolationPFGammaCands()
method to store the isolation gamma candidates internally
const reco::GenJet * genJet() const
return matched GenJet, built from the visible particles of a generated tau
const reco::TrackRef & electronPreIDTrack() const
float leadTrackHCAL3x3hottesthitDEta() const
const reco::Candidate::LorentzVector & p4Jet() const
edm::Ref< TauCollection > TauRef
const std::vector< std::string > availableJECLevels(const std::string &set) const
const std::vector< std::string > availableJECSets() const
all available label-names of all sets of jet energy corrections
void setTauIDs(const std::vector< IdPair > &ids)
edm::AtomicPtrCache< std::vector< reco::PFCandidatePtr > > signalPFCandsTransientPtrs_
reco::TrackRef leadTrack() const
override the reco::BaseTau::leadTrack method, to access the internal storage of the leading track ...
bool embeddedIsolationPFNeutralHadrCands_
void embedSignalTracks()
method to store the signal tracks internally
float leadPFChargedHadrCandsignedSipt_
float isolationPFGammaCandsEtSum() const
edm::AtomicPtrCache< std::vector< reco::PFCandidatePtr > > signalPFGammaCandsTransientPtrs_
const std::vector< reco::PFCandidatePtr > & isolationPFChargedHadrCands() const
const pat::tau::TauPFSpecific & pfSpecific() const
return PFTau info or throw exception 'not PFTau'
edm::RefVector< TauCollection > TauRefVector
float maximumHCALPFClusterEt() const
const reco::PFTauTransverseImpactParameter::Vector & flightLength() const
float phiphiMoment() const
std::pair< std::string, float > IdPair
std::vector< reco::PFCandidate > leadPFCand_
bool embeddedSignalPFGammaCands_
float etaetaMoment() const
int jecSet(const std::string &label) const
return true if this jet carries the jet correction factors of a different set, for systematic studies...
void initializeJEC(unsigned int level, const unsigned int set=0)
initialize the jet to a given JEC level during creation starting from Uncorrected ...
float leadTrackHCAL3x3hottesthitDEta_
float maximumHCALhitEt() const
Tau correctedTauJet(const std::string &level, const std::string &set="") const
unsigned int currentJECLevel_
edm::AtomicPtrCache< reco::TrackRefVector > isolationTracksTransientRefVector_
void embedSignalPFChargedHadrCands()
method to store the signal charged hadrons candidates internally
float hcalMaxOverPLead() const
float isolationECALhitsEtSum_
void currentJECSet(const unsigned int &set)
update the current JEC set; used by correctedJet
float isolationPFChargedHadrCandsPtSum() const
void embedSignalPFCands()
method to store the signal candidates internally
const reco::PFTauTransverseImpactParameter::Point & dxy_PCA() const
float ecalStripSumEOverPLead_
std::ostream & operator<<(std::ostream &, BeamSpot beam)
std::vector< reco::Track > signalTracks_
std::vector< IdPair > tauIDs_
float signalTracksInvariantMass() const
const std::vector< reco::PFRecoTauChargedHadron > & isolationTauChargedHadronCandidates() const
edm::AtomicPtrCache< std::vector< reco::PFCandidatePtr > > signalPFChargedHadrCandsTransientPtrs_
bool embeddedIsolationPFGammaCands_
const reco::VertexRef & primaryVertex() const
std::vector< reco::PFCandidate > signalPFChargedHadrCands_
const reco::PFTauTransverseImpactParameter::CovMatrix & secondaryVertexCov() const
void embedLeadTrack()
method to store the leading track internally
Analysis-level lepton class.
const std::vector< reco::RecoTauPiZero > & isolationPiZeroCandidates() const
float isolationECALhitsEtSum() const
float signalTracksInvariantMass_
const std::vector< reco::PFCandidatePtr > & isolationPFNeutrHadrCands() const
const reco::PFTauTransverseImpactParameter::CovMatrix & primaryVertexCov() const
Jets made from MC generator particles.
bool embeddedSignalTracks_
float isolationPFGammaCandsEtSum_
reco::PFTauTransverseImpactParameter::CovMatrix svCov_
const reco::VertexRef & secondaryVertex() const
float maximumHCALPFClusterEt_
bool hasSecondaryVertex() const
float TracksInvariantMass_
reco::PFTauTransverseImpactParameter::Vector flightLength_
std::string currentJECLevel() const
return the name of the current step of jet energy corrections
Analysis-level tau class.
bool embeddedLeadPFChargedHadrCand_
void embedIsolationPFNeutralHadrCands()
method to store the isolation neutral hadrons candidates internally
const std::vector< reco::PFCandidatePtr > & signalPFChargedHadrCands() const
bool embeddedSignalPFNeutralHadrCands_
std::vector< reco::PFCandidate > isolationPFCands_
std::vector< reco::Track > isolationTracks_
bool isTauIDAvailable(const std::string &name) const
Returns true if a specific ID is available in this pat::Tau.
float isolationPFChargedHadrCandsPtSum_
void embedLeadPFNeutralCand()
method to store the leading neutral candidate internally
std::vector< pat::tau::TauCaloSpecific > caloSpecific_
holder for CaloTau info, or empty vector if PFTau
float ecalStripSumEOverPLead() const
bool isCaloTau() const
Returns true if this pat::Tau was made from a reco::CaloTau.
float leadTrackHCAL3x3hitsEtSum() const
int decayMode() const
reconstructed tau decay mode (specific to PFTau)
const std::vector< reco::PFCandidatePtr > & isolationPFGammaCands() const
const reco::PFJetRef & pfJetRef() const
float bremsRecoveryEOverPLead() const
const std::vector< reco::PFRecoTauChargedHadron > & signalTauChargedHadronCandidates() const
std::vector< pat::TauJetCorrFactors > jec_
const reco::PFTauTransverseImpactParameter::Point & primaryVertexPos() const
edm::AtomicPtrCache< std::vector< reco::PFCandidatePtr > > isolationPFNeutralHadrCandsTransientPtrs_
std::vector< reco::PFCandidate > signalPFGammaCands_
float leadPFChargedHadrCandsignedSipt() const
std::vector< reco::Track > leadTrack_
void embedSignalPFNeutralHadrCands()
method to store the signal neutral hadrons candidates internally
reco::PFTauTransverseImpactParameter::Point dxy_PCA_
std::vector< reco::PFCandidate > isolationPFChargedHadrCands_
math::XYZTLorentzVector LorentzVector
Lorentz vector.
float jecFactor(const std::string &level, const std::string &set="") const
bool jecSetsAvailable() const
void setDecayMode(int)
set decay mode
float etaphiMoment() const
reco::PFRecoTauChargedHadronRef leadTauChargedHadronCandidate() const
void embedIsolationPFChargedHadrCands()
method to store the isolation charged hadrons candidates internally
void addJECFactors(const TauJetCorrFactors &jec)
add more sets of energy correction factors
bool embeddedSignalPFCands_
const reco::PFCandidatePtr leadPFChargedHadrCand() const
math::Error< dimension >::type CovMatrix
const std::vector< reco::PFCandidatePtr > & signalPFCands() const
float tauID(const char *name) const
const reco::PFTauTransverseImpactParameter::Point & secondaryVertexPos() const
const std::vector< std::string > availableJECLevels(const int &set=0) const
const std::vector< reco::PFCandidatePtr > & signalPFGammaCands() const
float leadTrackHCAL3x3hitsEtSum_
const std::vector< reco::PFCandidatePtr > & signalPFNeutrHadrCands() const
bool isPFTau() const
Returns true if this pat::Tau was made from a reco::PFTau.
float tauID(const std::string &name) const
void setGenJet(const reco::GenJetRef &ref)
set the matched GenJet
bool embeddedIsolationTracks_
float leadTracksignedSipt() const
const reco::PFCandidatePtr leadPFNeutralCand() const
void embedIsolationTracks()
method to store the isolation tracks internally
double flightLengthSig() const
reco::PFTauTransverseImpactParameter::CovMatrix pvCov_
edm::AtomicPtrCache< std::vector< reco::PFCandidatePtr > > isolationPFCandsTransientPtrs_
const reco::TrackRefVector & signalTracks() const
override the reco::BaseTau::signalTracks method, to access the internal storage of the signal tracks ...
std::vector< reco::PFCandidate > leadPFChargedHadrCand_
std::string currentJECSet() const
returns the label of the current set of jet energy corrections
void embedLeadPFCand()
method to store the leading candidate internally
const std::vector< reco::PFCandidatePtr > & isolationPFCands() const
std::vector< pat::tau::TauPFSpecific > pfSpecific_
holder for PFTau info, or empty vector if CaloTau
float electronPreIDOutput() const
const reco::TrackRefVector & isolationTracks() const
override the reco::BaseTau::isolationTracks method, to access the internal storage of the isolation t...
unsigned int currentJECSet_
bool electronPreIDDecision() const
bool muonDecision() const