5 #ifndef DataFormats_PatCandidates_Tau_h
6 #define DataFormats_PatCandidates_Tau_h
58 typedef std::pair<std::string,float>
IdPair;
264 float tauID(
const std::string &
name)
const;
409 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 reco::PFCandidateRef leadPFChargedHadrCand() const
const std::vector< IdPair > & tauIDs() const
const LorentzVector & correctedP4(const std::string &level, const std::string &set="") const
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::PFCandidateRefVector signalPFCandsTransientRefVector_
reco::CaloTauTagInfoRef CaloTauTagInfoRef_
float bremsRecoveryEOverPLead_
float electronPreIDOutput_
std::pair< std::string, float > IdPair
bool embeddedSignalPFChargedHadrCands_
float isolationTracksPtSum() const
std::vector< reco::PFCandidate > leadPFNeutralCand_
reco::TrackRef electronPreIDTrack_
const reco::PFCandidateRefVector & isolationPFCands() const
reco::PFCandidateRefVector signalPFGammaCandsTransientRefVector_
std::vector< reco::PFCandidate > signalPFNeutralHadrCands_
const pat::tau::TauCaloSpecific & caloSpecific() const
return CaloTau info or throw exception 'not CaloTau'
std::vector< reco::PFCandidate > signalPFCands_
bool embeddedIsolationPFChargedHadrCands_
bool jecSetAvailable(const std::string &set) const
reco::TrackRefVector signalTracksTransientRefVector_
bool embeddedIsolationPFCands_
float isolationTracksPtSum_
float hcal3x3OverPLead() const
reco::PFCandidateRefVector signalPFChargedHadrCandsTransientRefVector_
reco::PFCandidateRefVector isolationPFCandsTransientRefVector_
const reco::PFCandidateRefVector & signalPFChargedHadrCands() const
bool jecSetAvailable(const unsigned int &set) const
void embedLeadPFChargedHadrCand()
method to store the leading charged hadron candidate internally
bool signalPFCandsRefVectorFixed_
const reco::PFCandidateRefVector & signalPFNeutrHadrCands() const
reco::CaloTauTagInfoRef caloTauTagInfoRef() const
bool signalPFNeutralHadrCandsRefVectorFixed_
std::vector< reco::PFCandidate > isolationPFGammaCands_
std::vector< reco::PFCandidate > isolationPFNeutralHadrCands_
float TracksInvariantMass() 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)
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
const pat::tau::TauPFSpecific & pfSpecific() const
return PFTau info or throw exception 'not PFTau'
edm::RefVector< TauCollection > TauRefVector
float maximumHCALPFClusterEt() const
float phiphiMoment() const
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
const reco::PFCandidateRefVector & signalPFCands() const
Tau correctedTauJet(const std::string &level, const std::string &set="") const
reco::PFCandidateRefVector isolationPFNeutralHadrCandsTransientRefVector_
unsigned int currentJECLevel_
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
float ecalStripSumEOverPLead_
std::ostream & operator<<(std::ostream &, BeamSpot beam)
std::vector< reco::Track > signalTracks_
std::vector< IdPair > tauIDs_
float signalTracksInvariantMass() const
reco::PFCandidateRefVector isolationPFGammaCandsTransientRefVector_
bool embeddedIsolationPFGammaCands_
std::vector< reco::PFCandidate > signalPFChargedHadrCands_
const reco::PFCandidateRefVector & isolationPFNeutrHadrCands() const
bool signalPFChargedHadrCandsRefVectorFixed_
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_
bool isolationTracksTransientRefVectorFixed_
Jets made from MC generator particles.
bool embeddedSignalTracks_
reco::PFCandidateRefVector isolationPFChargedHadrCandsTransientRefVector_
float isolationPFGammaCandsEtSum_
const reco::PFCandidateRefVector & isolationPFChargedHadrCands() const
float maximumHCALPFClusterEt_
float TracksInvariantMass_
bool isolationPFGammaCandsRefVectorFixed_
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
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
reco::PFCandidateRefVector signalPFNeutralHadrCandsTransientRefVector_
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 reco::PFJetRef & pfJetRef() const
float bremsRecoveryEOverPLead() const
std::vector< pat::TauJetCorrFactors > jec_
std::vector< reco::PFCandidate > signalPFGammaCands_
const reco::PFCandidateRefVector & signalPFGammaCands() const
float leadPFChargedHadrCandsignedSipt() const
std::vector< reco::Track > leadTrack_
void embedSignalPFNeutralHadrCands()
method to store the signal neutral hadrons candidates internally
std::vector< reco::PFCandidate > isolationPFChargedHadrCands_
math::XYZTLorentzVector LorentzVector
Lorentz vector.
const reco::PFCandidateRef leadPFNeutralCand() const
float jecFactor(const std::string &level, const std::string &set="") const
bool isolationPFChargedHadrCandsRefVectorFixed_
bool jecSetsAvailable() const
void setDecayMode(int)
set decay mode
float etaphiMoment() const
bool isolationPFCandsRefVectorFixed_
const reco::PFCandidateRef leadPFCand() 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_
float tauID(const char *name) const
bool isolationPFNeutralHadrCandsRefVectorFixed_
const std::vector< std::string > availableJECLevels(const int &set=0) const
float leadTrackHCAL3x3hitsEtSum_
const reco::PFCandidateRefVector & isolationPFGammaCands() 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
void embedIsolationTracks()
method to store the isolation tracks internally
reco::TrackRefVector isolationTracksTransientRefVector_
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
bool signalPFGammaCandsRefVectorFixed_
virtual const LorentzVector & p4() const
four-momentum Lorentz vector
void embedLeadPFCand()
method to store the leading candidate internally
std::vector< pat::tau::TauPFSpecific > pfSpecific_
holder for PFTau info, or empty vector if CaloTau
bool signalTracksTransientRefVectorFixed_
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
void set(const std::string &name, int value)
set the flag, with a run-time name