4 #ifndef DataFormats_PatCandidates_Tau_h
5 #define DataFormats_PatCandidates_Tau_h
64 typedef std::pair<std::string, float>
IdPair;
182 const std::vector<reco::PFCandidatePtr>&
signalPFCands()
const;
390 float jecFactor(
const unsigned int&
level,
const unsigned int& set = 0)
const;
487 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::CandidatePtrVector isolationGammaCandPtrs_
reco::CaloTauTagInfoRef CaloTauTagInfoRef_
float bremsRecoveryEOverPLead_
float electronPreIDOutput_
reco::PFTauTransverseImpactParameter::CovMatrix flightLengthCov() const
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_
reco::CandidatePtrVector signalNeutrHadrCands() const
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::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_
reco::CandidatePtrVector signalCands() const
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_
reco::PFTauTransverseImpactParameter::Point pvPos_
void embedSignalTracks()
method to store the signal tracks internally
float leadPFChargedHadrCandsignedSipt_
float isolationPFGammaCandsEtSum() const
edm::AtomicPtrCache< std::vector< reco::PFCandidatePtr > > signalPFGammaCandsTransientPtrs_
const reco::CandidatePtr leadCand() const
return the PFCandidate if available (reference or embedded), or the PackedPFCandidate on miniAOD ...
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
reco::CandidatePtrVector signalGammaCands() const
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 ...
reco::CandidatePtr sourceCandidatePtr(size_type i) const
get the source candidate pointer with index i
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
const reco::CandidatePtr leadChargedHadrCand() const
void setIsolationGammaCands(const reco::CandidatePtrVector &ptrs)
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
reco::CandidatePtrVector isolationChargedHadrCandPtrs_
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_
reco::PFTauTransverseImpactParameter::Point svPos_
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_
bool ExistIsolationCands() const
void setIsolationNeutralHadrCands(const reco::CandidatePtrVector &ptrs)
reco::PFTauTransverseImpactParameter::Vector flightLength_
const reco::PFTauTransverseImpactParameter::CovMatrix & secondaryVertexCov() const
void embedLeadTrack()
method to store the leading track internally
Analysis-level lepton class.
reco::CandidatePtrVector isolationChargedHadrCands() const
void setIsolationChargedHadrCands(const reco::CandidatePtrVector &ptrs)
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
reco::CandidatePtrVector isolationNeutralHadrCandPtrs_
Jets made from MC generator particles.
bool embeddedSignalTracks_
float isolationPFGammaCandsEtSum_
const reco::VertexRef & secondaryVertex() const
void setSignalChargedHadrCands(const reco::CandidatePtrVector &ptrs)
setters for the PtrVectors (for miniAOD)
float maximumHCALPFClusterEt_
bool hasSecondaryVertex() const
float TracksInvariantMass_
std::vector< pat::tau::TauPFEssential > pfEssential_
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.
reco::PFTauTransverseImpactParameter::CovMatrix svCov_
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
void setSignalGammaCands(const reco::CandidatePtrVector &ptrs)
float ecalStripSumEOverPLead() const
bool isCaloTau() const
Returns true if this pat::Tau was made from a reco::CaloTau.
const pat::tau::TauPFEssential & pfEssential() const
float leadTrackHCAL3x3hitsEtSum() const
bool ExistSignalCands() const
check that there is at least one non-zero collection of candidate ptrs
reco::CandidatePtrVector signalGammaCandPtrs_
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::CandidatePtrVector signalChargedHadrCands() const
std::vector< reco::PFCandidate > isolationPFChargedHadrCands_
size_t numberOfSourceCandidatePtrs() const
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
reco::CandidatePtrVector signalNeutralHadrCandPtrs_
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_
reco::CandidatePtrVector isolationCands() const
const std::vector< reco::PFCandidatePtr > & signalPFNeutrHadrCands() const
bool isPFTau() const
Returns true if this pat::Tau was made from a reco::PFTau.
reco::PFTauTransverseImpactParameter::CovMatrix pvCov_
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
reco::CandidatePtrVector isolationGammaCands() const
void embedIsolationTracks()
method to store the isolation tracks internally
double flightLengthSig() const
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
virtual const LorentzVector & p4() const
four-momentum Lorentz vector
reco::CandidatePtrVector isolationNeutrHadrCands() const
void embedLeadPFCand()
method to store the leading candidate internally
const reco::CandidatePtr leadNeutralCand() const
return the PFCandidate if available (reference or embedded), or the PackedPFCandidate on miniAOD ...
const std::vector< reco::PFCandidatePtr > & isolationPFCands() const
std::vector< pat::tau::TauPFSpecific > pfSpecific_
holder for PFTau info, or empty vector if CaloTau
reco::PFTauTransverseImpactParameter::Point dxy_PCA_
float electronPreIDOutput() const
const reco::TrackRefVector & isolationTracks() const
override the reco::BaseTau::isolationTracks method, to access the internal storage of the isolation t...
reco::CandidatePtrVector signalChargedHadrCandPtrs_
unsigned int currentJECSet_
bool electronPreIDDecision() const
void setSignalNeutralHadrCands(const reco::CandidatePtrVector &ptrs)
bool muonDecision() const