Analysis-level tau class. More...
#include "DataFormats/PatCandidates/interface/Tau.h"
Public Types | |
typedef std::pair< std::string, float > | IdPair |
Public Types inherited from pat::PATObject< reco::BaseTau > | |
typedef reco::BaseTau | base_type |
Public Types inherited from reco::RecoCandidate | |
enum | TrackType { noTrackType, recoTrackType, gsfTrackType } |
track type More... | |
Public Types inherited from reco::LeafCandidate | |
typedef int | Charge |
electric charge type More... | |
typedef CandidateCollection | daughters |
collection of daughter candidates More... | |
typedef unsigned int | index |
typedef math::XYZTLorentzVector | LorentzVector |
Lorentz vector. More... | |
typedef math::XYZPoint | Point |
point in the space More... | |
typedef math::PtEtaPhiMLorentzVector | PolarLorentzVector |
Lorentz vector. More... | |
typedef math::XYZVector | Vector |
point in the space More... | |
Public Types inherited from reco::Candidate | |
enum | { dimension = 3 } |
enum | { size = dimension * (dimension + 1)/2 } |
matix size More... | |
typedef int | Charge |
electric charge type More... | |
typedef candidate::const_iterator | const_iterator |
typedef math::Error< dimension >::type | CovarianceMatrix |
covariance error matrix (3x3) More... | |
typedef unsigned int | index |
index type More... | |
typedef candidate::iterator | iterator |
typedef math::XYZTLorentzVector | LorentzVector |
Lorentz vector. More... | |
typedef math::XYZPoint | Point |
point in the space More... | |
typedef math::PtEtaPhiMLorentzVector | PolarLorentzVector |
Lorentz vector. More... | |
typedef size_t | size_type |
typedef math::XYZVector | Vector |
point in the space More... | |
Public Member Functions | |
const std::vector< std::string > | availableJECLevels (const int &set=0) const |
const std::vector< std::string > | availableJECLevels (const std::string &set) const |
const std::vector< std::string > | availableJECSets () const |
float | bremsRecoveryEOverPLead () const |
float | caloComp () const |
const pat::tau::TauCaloSpecific & | caloSpecific () const |
return CaloTau info or throw exception 'not CaloTau' More... | |
reco::CaloTauTagInfoRef | caloTauTagInfoRef () const |
Tau * | clone () const override |
required reimplementation of the Candidate's clone method More... | |
const LorentzVector & | correctedP4 (const std::string &level, const std::string &set="") const |
const LorentzVector & | correctedP4 (const unsigned int &level, const unsigned int &set=0) const |
Tau | correctedTauJet (const std::string &level, const std::string &set="") const |
Tau | correctedTauJet (const unsigned int &level, const unsigned int &set=0) const |
std::string | currentJECLevel () const |
return the name of the current step of jet energy corrections More... | |
std::string | currentJECSet () const |
returns the label of the current set of jet energy corrections More... | |
int | decayMode () const |
reconstructed tau decay mode (specific to PFTau) More... | |
float | dxy () const |
float | dxy_error () const |
const pat::tau::TauPFEssential::Point & | dxy_PCA () const |
float | dxy_Sig () const |
float | ecalEnergy () const |
float | ecalEnergyLeadChargedHadrCand () const |
float | ecalStripSumEOverPLead () const |
bool | electronPreIDDecision () const |
float | electronPreIDOutput () const |
const reco::TrackRef & | electronPreIDTrack () const |
void | embedIsolationPFCands () |
method to store the isolation candidates internally More... | |
void | embedIsolationPFChargedHadrCands () |
method to store the isolation charged hadrons candidates internally More... | |
void | embedIsolationPFGammaCands () |
method to store the isolation gamma candidates internally More... | |
void | embedIsolationPFNeutralHadrCands () |
method to store the isolation neutral hadrons candidates internally More... | |
void | embedIsolationTracks () |
method to store the isolation tracks internally More... | |
void | embedLeadPFCand () |
void | embedLeadPFChargedHadrCand () |
method to store the leading charged hadron candidate internally More... | |
void | embedLeadPFNeutralCand () |
method to store the leading neutral candidate internally More... | |
void | embedLeadTrack () |
method to store the leading track internally More... | |
void | embedSignalPFCands () |
method to store the signal candidates internally More... | |
void | embedSignalPFChargedHadrCands () |
method to store the signal charged hadrons candidates internally More... | |
void | embedSignalPFGammaCands () |
method to store the signal gamma candidates internally More... | |
void | embedSignalPFNeutralHadrCands () |
method to store the signal neutral hadrons candidates internally More... | |
void | embedSignalTracks () |
method to store the signal tracks internally More... | |
float | emFraction () const |
float | emFraction_MVA () const |
return emFraction_MVA More... | |
float | etaAtEcalEntrance () const |
return etaAtEcalEntrance More... | |
float | etaAtEcalEntranceLeadChargedCand () const |
return etaAtEcalEntrance from LeadChargedCand More... | |
float | etaetaMoment () const |
float | etaphiMoment () const |
bool | ExistIsolationCands () const |
bool | ExistSignalCands () const |
const pat::tau::TauPFEssential::Vector & | flightLength () const |
pat::tau::TauPFEssential::CovMatrix | flightLengthCov () const |
float | flightLengthSig () const |
const reco::GenJet * | genJet () const |
return matched GenJet, built from the visible particles of a generated tau More... | |
bool | hasSecondaryVertex () const |
float | hcal3x3OverPLead () const |
float | hcalEnergy () const |
return sum of hcal energies from signal candidates More... | |
float | hcalEnergyLeadChargedHadrCand () const |
return hcal energy from LeadChargedHadrCand More... | |
float | hcalMaxOverPLead () const |
float | hcalTotOverPLead () const |
float | ip3d () const |
float | ip3d_error () const |
float | ip3d_Sig () const |
bool | isCaloTau () const |
Returns true if this pat::Tau was made from a reco::CaloTau. More... | |
reco::CandidatePtrVector | isolationCands () const |
reco::CandidatePtrVector | isolationChargedHadrCands () const |
float | isolationECALhitsEtSum () const |
reco::CandidatePtrVector | isolationGammaCands () const |
reco::CandidatePtrVector | isolationNeutrHadrCands () const |
const std::vector< reco::PFCandidatePtr > & | isolationPFCands () const |
const std::vector< reco::PFCandidatePtr > & | isolationPFChargedHadrCands () const |
float | isolationPFChargedHadrCandsPtSum () const |
const std::vector< reco::PFCandidatePtr > & | isolationPFGammaCands () const |
float | isolationPFGammaCandsEtSum () const |
const std::vector< reco::PFCandidatePtr > & | isolationPFNeutrHadrCands () const |
const std::vector< reco::RecoTauPiZero > & | isolationPiZeroCandidates () const |
const std::vector< reco::PFRecoTauChargedHadron > & | isolationTauChargedHadronCandidates () const |
const reco::TrackRefVector & | isolationTracks () const override |
override the reco::BaseTau::isolationTracks method, to access the internal storage of the isolation tracks More... | |
float | isolationTracksPtSum () const |
bool | isPFTau () const |
Returns true if this pat::Tau was made from a reco::PFTau. More... | |
bool | isTauIDAvailable (const std::string &name) const |
Returns true if a specific ID is available in this pat::Tau. More... | |
float | jecFactor (const std::string &level, const std::string &set="") const |
float | jecFactor (const unsigned int &level, const unsigned int &set=0) const |
bool | jecSetAvailable (const std::string &set) const |
bool | jecSetAvailable (const unsigned int &set) const |
bool | jecSetsAvailable () const |
const reco::CandidatePtr | leadCand () const |
return the PFCandidate if available (reference or embedded), or the PackedPFCandidate on miniAOD More... | |
const reco::CandidatePtr | leadChargedHadrCand () const |
float | leadingTrackNormChi2 () const |
return normalized chi2 of leading track More... | |
const reco::CandidatePtr | leadNeutralCand () const |
return the PFCandidate if available (reference or embedded), or the PackedPFCandidate on miniAOD More... | |
const reco::PFCandidatePtr | leadPFCand () const |
const reco::PFCandidatePtr | leadPFChargedHadrCand () const |
float | leadPFChargedHadrCandsignedSipt () const |
const reco::PFCandidatePtr | leadPFNeutralCand () const |
reco::PFRecoTauChargedHadronRef | leadTauChargedHadronCandidate () const |
reco::TrackRef | leadTrack () const override |
override the reco::BaseTau::leadTrack method, to access the internal storage of the leading track More... | |
float | leadTrackHCAL3x3hitsEtSum () const |
float | leadTrackHCAL3x3hottesthitDEta () const |
float | leadTracksignedSipt () const |
float | maximumHCALhitEt () const |
float | maximumHCALPFClusterEt () const |
bool | muonDecision () const |
size_t | numberOfSourceCandidatePtrs () const override |
reco::Candidate::LorentzVector | p4Jet () const |
const pat::tau::TauPFEssential & | pfEssential () const |
const reco::JetBaseRef & | pfJetRef () const |
const pat::tau::TauPFSpecific & | pfSpecific () const |
return PFTau info or throw exception 'not PFTau' More... | |
float | phiAtEcalEntrance () const |
return phiAtEcalEntrance More... | |
float | phiphiMoment () const |
const reco::VertexRef & | primaryVertex () const |
const pat::tau::TauPFEssential::CovMatrix & | primaryVertexCov () const |
const pat::tau::TauPFEssential::Point & | primaryVertexPos () const |
float | ptLeadChargedCand () const |
return pt from LeadChargedCand More... | |
const reco::VertexRef & | secondaryVertex () const |
const pat::tau::TauPFEssential::CovMatrix & | secondaryVertexCov () const |
const pat::tau::TauPFEssential::Point & | secondaryVertexPos () const |
float | segComp () const |
void | setDecayMode (int) |
set decay mode More... | |
void | setGenJet (const reco::GenJetRef &ref) |
set the matched GenJet More... | |
void | setIsolationChargedHadrCands (const reco::CandidatePtrVector &ptrs) |
void | setIsolationGammaCands (const reco::CandidatePtrVector &ptrs) |
void | setIsolationNeutralHadrCands (const reco::CandidatePtrVector &ptrs) |
void | setSignalChargedHadrCands (const reco::CandidatePtrVector &ptrs) |
setters for the PtrVectors (for miniAOD) More... | |
void | setSignalGammaCands (const reco::CandidatePtrVector &ptrs) |
void | setSignalNeutralHadrCands (const reco::CandidatePtrVector &ptrs) |
void | setTauIDs (const std::vector< IdPair > &ids) |
reco::CandidatePtrVector | signalCands () const |
reco::CandidatePtrVector | signalChargedHadrCands () const |
reco::CandidatePtrVector | signalGammaCands () const |
reco::CandidatePtrVector | signalNeutrHadrCands () const |
const std::vector< reco::PFCandidatePtr > & | signalPFCands () const |
const std::vector< reco::PFCandidatePtr > & | signalPFChargedHadrCands () const |
const std::vector< reco::PFCandidatePtr > & | signalPFGammaCands () const |
const std::vector< reco::PFCandidatePtr > & | signalPFNeutrHadrCands () const |
const std::vector< reco::RecoTauPiZero > & | signalPiZeroCandidates () const |
const std::vector< reco::PFRecoTauChargedHadron > & | signalTauChargedHadronCandidates () const |
const reco::TrackRefVector & | signalTracks () const override |
override the reco::BaseTau::signalTracks method, to access the internal storage of the signal tracks More... | |
float | signalTracksInvariantMass () const |
reco::CandidatePtr | sourceCandidatePtr (size_type i) const override |
get the source candidate pointer with index i More... | |
Tau () | |
default constructor More... | |
Tau (const reco::BaseTau &aTau) | |
constructor from a reco tau More... | |
Tau (const edm::RefToBase< reco::BaseTau > &aTauRef) | |
constructor from a RefToBase to a reco tau (to be superseded by Ptr counterpart) More... | |
Tau (const edm::Ptr< reco::BaseTau > &aTauRef) | |
constructor from a Ptr to a reco tau More... | |
float | tauID (const std::string &name) const |
float | tauID (const char *name) const |
const std::vector< IdPair > & | tauIDs () const |
float | TracksInvariantMass () const |
~Tau () override | |
destructor More... | |
Public Member Functions inherited from pat::Lepton< reco::BaseTau > | |
float | caloIso () const |
float | chargedHadronIso () const |
Lepton< reco::BaseTau > * | clone () const override |
float | ecalIso () const |
const IsoDeposit * | ecalIsoDeposit () const |
void | ecalIsoDeposit (const IsoDeposit &dep) |
const reco::GenParticle * | genLepton () const |
float | hcalIso () const |
const IsoDeposit * | hcalIsoDeposit () const |
void | hcalIsoDeposit (const IsoDeposit &dep) |
const IsoDeposit * | isoDeposit (IsolationKeys key) const |
Returns the IsoDeposit associated with some key, or a null pointer if it is not available. More... | |
Lepton () | |
default constructor More... | |
Lepton (const reco::BaseTau &aLepton) | |
constructor from LeptonType More... | |
Lepton (const edm::RefToBase< reco::BaseTau > &aLeptonRef) | |
constructor from ref to LeptonType More... | |
Lepton (const edm::Ptr< reco::BaseTau > &aLeptonRef) | |
constructor from ref to LeptonType More... | |
const PFIsolation & | miniPFIsolation () const |
float | neutralHadronIso () const |
float | particleIso () const |
float | photonIso () const |
float | puChargedHadronIso () const |
void | setEcalIso (float caloIso) |
Sets ecal isolation variable. More... | |
void | setGenLepton (const reco::GenParticleRef &gl, bool embed=false) |
void | setHcalIso (float caloIso) |
Sets hcal isolation variable. More... | |
void | setIsoDeposit (IsolationKeys key, const IsoDeposit &dep) |
Sets the IsoDeposit associated with some key; if it is already existent, it is overwritten. More... | |
void | setIsolation (IsolationKeys key, float value) |
void | setMiniPFIsolation (PFIsolation const &iso) |
void | setTrackIso (float trackIso) |
Sets tracker isolation variable. More... | |
void | setUserIso (float value, uint8_t index=0) |
Sets user isolation variable index. More... | |
float | trackIso () const |
const IsoDeposit * | trackIsoDeposit () const |
void | trackIsoDeposit (const IsoDeposit &dep) |
float | userIso (uint8_t index=0) const |
const IsoDeposit * | userIsoDeposit (uint8_t index=0) const |
void | userIsoDeposit (const IsoDeposit &dep, uint8_t index=0) |
float | userIsolation (IsolationKeys key) const |
float | userIsolation (const std::string &key) const |
~Lepton () override | |
destructor More... | |
Public Member Functions inherited from pat::PATObject< reco::BaseTau > | |
void | addGenParticleRef (const reco::GenParticleRef &ref) |
void | addTriggerObjectMatch (const TriggerObjectStandAlone &trigObj) |
add a trigger match More... | |
void | addUserCand (const std::string &label, const reco::CandidatePtr &data, const bool overwrite=false) |
Set user-defined int. More... | |
void | addUserData (const std::string &label, const T &data, bool transientOnly=false, bool overwrite=false) |
void | addUserDataFromPtr (const std::string &label, const edm::Ptr< pat::UserData > &data, bool overwrite=false) |
void | addUserFloat (const std::string &label, float data, const bool overwrite=false) |
Set user-defined float. More... | |
void | addUserInt (const std::string &label, int32_t data, const bool overwrite=false) |
Set user-defined int. More... | |
std::vector< std::pair< std::string, pat::LookupTableRecord > > | efficiencies () const |
Returns the efficiencies as <name,value> pairs (by value) More... | |
const pat::LookupTableRecord & | efficiency (const std::string &name) const |
Returns an efficiency given its name. More... | |
const std::vector< std::string > & | efficiencyNames () const |
Returns the list of the names of the stored efficiencies. More... | |
const std::vector< pat::LookupTableRecord > & | efficiencyValues () const |
Returns the list of the values of the stored efficiencies (the ordering is the same as in efficiencyNames()) More... | |
void | embedGenParticle () |
const reco::GenParticle * | genParticle (size_t idx=0) const |
reco::GenParticleRef | genParticleById (int pdgId, int status, uint8_t autoCharge=0) const |
reco::GenParticleRef | genParticleRef (size_t idx=0) const |
std::vector< reco::GenParticleRef > | genParticleRefs () const |
size_t | genParticlesSize () const |
Number of generator level particles stored as ref or embedded. More... | |
const pat::CandKinResolution & | getKinResolution (const std::string &label="") const |
bool | hasKinResolution (const std::string &label="") const |
Check if the kinematic resolutions are stored into this object (possibly specifying a label for them) More... | |
bool | hasOverlaps (const std::string &label) const |
Returns true if there was at least one overlap for this test label. More... | |
bool | hasUserCand (const std::string &key) const |
Return true if there is a user-defined int with a given name. More... | |
bool | hasUserData (const std::string &key) const |
Check if user data with a specific type is present. More... | |
bool | hasUserFloat (const std::string &key) const |
Return true if there is a user-defined float with a given name. More... | |
bool | hasUserFloat (const char *key) const |
a CINT-friendly interface More... | |
bool | hasUserInt (const std::string &key) const |
Return true if there is a user-defined int with a given name. More... | |
const reco::Candidate * | originalObject () const |
access to the original object; returns zero for null Ref and throws for unavailable collection More... | |
const edm::Ptr< reco::Candidate > & | originalObjectRef () const |
reference to original object. Returns a null reference if not available More... | |
const std::vector< std::string > & | overlapLabels () const |
Returns the labels of the overlap tests that found at least one overlap. More... | |
const reco::CandidatePtrVector & | overlaps (const std::string &label) const |
PATObject () | |
default constructor More... | |
PATObject (const reco::BaseTau &obj) | |
constructor from a base object (leaves invalid reference to original object!) More... | |
PATObject (const edm::RefToBase< reco::BaseTau > &ref) | |
constructor from reference More... | |
PATObject (const edm::Ptr< reco::BaseTau > &ref) | |
constructor from reference More... | |
double | resolE (const std::string &label="") const |
Resolution on energy, possibly with a label to specify which resolution to use. More... | |
double | resolEt (const std::string &label="") const |
Resolution on et, possibly with a label to specify which resolution to use. More... | |
double | resolEta (const std::string &label="") const |
Resolution on eta, possibly with a label to specify which resolution to use. More... | |
double | resolM (const std::string &label="") const |
double | resolP (const std::string &label="") const |
Resolution on p, possibly with a label to specify which resolution to use. More... | |
double | resolPhi (const std::string &label="") const |
Resolution on phi, possibly with a label to specify which resolution to use. More... | |
double | resolPInv (const std::string &label="") const |
Resolution on 1/p, possibly with a label to specify which resolution to use. More... | |
double | resolPt (const std::string &label="") const |
Resolution on pt, possibly with a label to specify which resolution to use. More... | |
double | resolPx (const std::string &label="") const |
Resolution on px, possibly with a label to specify which resolution to use. More... | |
double | resolPy (const std::string &label="") const |
Resolution on py, possibly with a label to specify which resolution to use. More... | |
double | resolPz (const std::string &label="") const |
Resolution on pz, possibly with a label to specify which resolution to use. More... | |
double | resolTheta (const std::string &label="") const |
Resolution on theta, possibly with a label to specify which resolution to use. More... | |
void | setEfficiency (const std::string &name, const pat::LookupTableRecord &value) |
void | setGenParticle (const reco::GenParticle &particle) |
Set the generator level particle from a particle not in the Event (embedding it, of course) More... | |
void | setGenParticleRef (const reco::GenParticleRef &ref, bool embed=false) |
Set the generator level particle reference. More... | |
void | setKinResolution (const pat::CandKinResolution &resol, const std::string &label="") |
Add a kinematic resolution to this object (possibly with a label) More... | |
void | setOverlaps (const std::string &label, const reco::CandidatePtrVector &overlaps) |
const TriggerObjectStandAlone * | triggerObjectMatch (const size_t idx=0) const |
get one matched trigger object by index More... | |
const TriggerObjectStandAlone * | triggerObjectMatchByAlgorithm (const std::string &nameAlgorithm, const bool algoCondAccepted=true, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByAlgorithm (const char *nameAlgorithm, const bool algoCondAccepted=true, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByAlgorithm (const std::string &nameAlgorithm, const unsigned algoCondAccepted, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByAlgorithm (const char *nameAlgorithm, const unsigned algoCondAccepted, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByCollection (const std::string &coll, const size_t idx=0) const |
get one matched trigger object from a certain collection by index More... | |
const TriggerObjectStandAlone * | triggerObjectMatchByCollection (const char *coll, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByCondition (const std::string &nameCondition, const size_t idx=0) const |
get one matched L1 object used in a succeeding object combination of a certain L1 condition by index More... | |
const TriggerObjectStandAlone * | triggerObjectMatchByCondition (const char *nameCondition, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByFilter (const std::string &labelFilter, const size_t idx=0) const |
get one matched HLT object used in a certain HLT filter by index More... | |
const TriggerObjectStandAlone * | triggerObjectMatchByFilter (const char *labelFilter, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByFilterID (const unsigned triggerObjectType, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByPath (const std::string &namePath, const bool pathLastFilterAccepted=false, const bool pathL3FilterAccepted=true, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByPath (const char *namePath, const bool pathLastFilterAccepted=false, const bool pathL3FilterAccepted=true, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByPath (const std::string &namePath, const unsigned pathLastFilterAccepted, const unsigned pathL3FilterAccepted=1, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByPath (const char *namePath, const unsigned pathLastFilterAccepted, const unsigned pathL3FilterAccepted=1, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByType (const trigger::TriggerObjectType triggerObjectType, const size_t idx=0) const |
get one matched trigger object of a certain type by index More... | |
const TriggerObjectStandAlone * | triggerObjectMatchByType (const unsigned triggerObjectType, const size_t idx=0) const |
const TriggerObjectStandAloneCollection & | triggerObjectMatches () const |
get all matched trigger objects More... | |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByAlgorithm (const std::string &nameAlgorithm, const bool algoCondAccepted=true) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByAlgorithm (const char *nameAlgorithm, const bool algoCondAccepted=true) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByAlgorithm (const std::string &nameAlgorithm, const unsigned algoCondAccepted) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByAlgorithm (const char *nameAlgorithm, const unsigned algoCondAccepted) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByCollection (const std::string &coll) const |
get all matched trigger objects from a certain collection More... | |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByCollection (const char *coll) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByCondition (const std::string &nameCondition) const |
get all matched L1 objects used in a succeeding object combination of a certain L1 condition More... | |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByCondition (const char *nameCondition) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByFilter (const std::string &labelFilter) const |
get all matched HLT objects used in a certain HLT filter More... | |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByFilter (const char *labelFilter) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByFilterID (const unsigned triggerObjectType) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByPath (const std::string &namePath, const bool pathLastFilterAccepted=false, const bool pathL3FilterAccepted=true) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByPath (const char *namePath, const bool pathLastFilterAccepted=false, const bool pathL3FilterAccepted=true) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByPath (const std::string &namePath, const unsigned pathLastFilterAccepted, const unsigned pathL3FilterAccepted=1) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByPath (const char *namePath, const unsigned pathLastFilterAccepted, const unsigned pathL3FilterAccepted=1) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByType (const trigger::TriggerObjectType triggerObjectType) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByType (const unsigned triggerObjectType) const |
void | unpackTriggerObjectPathNames (const edm::TriggerNames &names) |
unpack path names of matched trigger objects (if they were packed before embedding, which is not normally the case) More... | |
reco::CandidatePtr | userCand (const std::string &key) const |
const std::vector< std::string > & | userCandNames () const |
Get list of user-defined cand names. More... | |
const T * | userData (const std::string &key) const |
Returns user-defined data. Returns NULL if the data is not present, or not of type T. More... | |
const void * | userDataBare (const std::string &key) const |
const std::vector< std::string > & | userDataNames () const |
Get list of user data object names. More... | |
const std::string & | userDataObjectType (const std::string &key) const |
Get human-readable type of user data object, for debugging. More... | |
float | userFloat (const std::string &key) const |
float | userFloat (const char *key) const |
a CINT-friendly interface More... | |
const std::vector< std::string > & | userFloatNames () const |
Get list of user-defined float names. More... | |
std::vector< float > | userFloatRange (const std::string &key) const |
return a range of values corresponding to key More... | |
int32_t | userInt (const std::string &key) const |
const std::vector< std::string > & | userIntNames () const |
Get list of user-defined int names. More... | |
std::vector< int > | userIntRange (const std::string &key) const |
returns a range of values corresponding to key More... | |
~PATObject () override | |
destructor More... | |
Public Member Functions inherited from reco::BaseTau | |
math::XYZTLorentzVector | alternatLorentzVect () const |
BaseTau () | |
BaseTau (Charge q, const LorentzVector &, const Point &=Point(0, 0, 0)) | |
void | setalternatLorentzVect (const math::XYZTLorentzVector &) |
void | setisolationTracks (const TrackRefVector &) |
void | setleadTrack (const TrackRef &) |
void | setsignalTracks (const TrackRefVector &) |
~BaseTau () override | |
Public Member Functions inherited from reco::RecoCandidate | |
const Track * | bestTrack () const override |
best track pointer More... | |
virtual TrackBaseRef | bestTrackRef () const |
best track RefToBase More... | |
virtual TrackType | bestTrackType () const |
track type More... | |
virtual CaloTowerRef | caloTower () const |
reference to a CaloTower More... | |
virtual reco::TrackRef | combinedMuon () const |
reference to a stand-alone muon Track More... | |
float | dxyError () const override |
uncertainty on dxy More... | |
float | dzError () const override |
uncertainty on dz More... | |
virtual reco::GsfTrackRef | gsfTrack () const |
reference to a GsfTrack More... | |
virtual size_t | numberOfTracks () const |
number of multiple Tracks More... | |
RecoCandidate () | |
default constructor More... | |
template<typename P4 > | |
RecoCandidate (Charge q, const P4 &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0) | |
constructor from values More... | |
virtual reco::TrackRef | standAloneMuon () const |
reference to a stand-alone muon Track More... | |
virtual reco::SuperClusterRef | superCluster () const |
reference to a SuperCluster More... | |
virtual reco::TrackRef | track () const |
reference to a Track More... | |
virtual reco::TrackRef | track (size_t) const |
reference to one of multiple Tracks More... | |
~RecoCandidate () override | |
destructor More... | |
Public Member Functions inherited from reco::LeafCandidate | |
Vector | boostToCM () const final |
int | charge () const final |
electric charge More... | |
void | construct (int qx3, float pt, float eta, float phi, float mass, const Point &vtx, int pdgId, int status) |
const Candidate * | daughter (size_type) const override |
return daughter at a given position (throws an exception) More... | |
Candidate * | daughter (size_type) override |
return daughter at a given position (throws an exception) More... | |
Candidate * | daughter (const std::string &s) override |
return daughter with a specified role name More... | |
const Candidate * | daughter (const std::string &s) const override |
return daughter with a specified role name More... | |
double | energy () const final |
energy More... | |
double | et () const final |
transverse energy More... | |
double | et2 () const final |
transverse energy squared (use this for cut!) More... | |
double | eta () const final |
momentum pseudorapidity More... | |
void | fillVertexCovariance (CovarianceMatrix &v) const override |
fill SMatrix More... | |
template<typename T > | |
T | get () const |
get a component More... | |
template<typename T , typename Tag > | |
T | get () const |
get a component More... | |
template<typename T > | |
T | get (size_type i) const |
get a component More... | |
template<typename T , typename Tag > | |
T | get (size_type i) const |
get a component More... | |
bool | hasMasterClone () const override |
bool | hasMasterClonePtr () const override |
bool | isCaloMuon () const override |
bool | isConvertedPhoton () const override |
bool | isElectron () const override |
bool | isGlobalMuon () const override |
bool | isJet () const override |
bool | isMuon () const override |
bool | isPhoton () const override |
bool | isStandAloneMuon () const override |
bool | isTrackerMuon () const override |
LeafCandidate () | |
LeafCandidate (const Candidate &c) | |
template<typename... Args> | |
LeafCandidate (Args &&...args) | |
LeafCandidate (LeafCandidate &rh) | |
LeafCandidate (LeafCandidate &&)=default | |
LeafCandidate (LeafCandidate const &)=default | |
bool | longLived () const final |
is long lived? More... | |
double | mass () const final |
mass More... | |
bool | massConstraint () const final |
do mass constraint? More... | |
double | massSqr () const final |
mass squared More... | |
const CandidateBaseRef & | masterClone () const override |
const CandidatePtr & | masterClonePtr () const override |
template<typename Ref > | |
Ref | masterRef () const |
cast master clone reference to a concrete type More... | |
Vector | momentum () const final |
spatial momentum vector More... | |
const Candidate * | mother (size_type) const override |
return mother at a given position (throws an exception) More... | |
double | mt () const final |
transverse mass More... | |
double | mtSqr () const final |
transverse mass squared More... | |
template<typename T > | |
size_type | numberOf () const |
number of components More... | |
template<typename T , typename Tag > | |
size_type | numberOf () const |
number of components More... | |
size_t | numberOfDaughters () const override |
number of daughters More... | |
size_t | numberOfMothers () const override |
number of mothers More... | |
LeafCandidate & | operator= (LeafCandidate &&)=default |
LeafCandidate & | operator= (LeafCandidate const &)=default |
double | p () const final |
magnitude of momentum vector More... | |
const LorentzVector & | p4 () const final |
four-momentum Lorentz vector More... | |
int | pdgId () const final |
PDG identifier. More... | |
double | phi () const final |
momentum azimuthal angle More... | |
const PolarLorentzVector & | polarP4 () const final |
four-momentum Lorentz vector More... | |
double | pt () const final |
transverse momentum More... | |
double | px () const final |
x coordinate of momentum vector More... | |
double | py () const final |
y coordinate of momentum vector More... | |
double | pz () const final |
z coordinate of momentum vector More... | |
double | rapidity () const final |
rapidity More... | |
void | setCharge (Charge q) final |
set electric charge More... | |
void | setLongLived () final |
void | setMass (double m) final |
set particle mass More... | |
void | setMassConstraint () final |
void | setP4 (const LorentzVector &p4) final |
set 4-momentum More... | |
void | setP4 (const PolarLorentzVector &p4) final |
set 4-momentum More... | |
void | setPdgId (int pdgId) final |
void | setPz (double pz) final |
void | setStatus (int status) final |
set status word More... | |
void | setThreeCharge (Charge qx3) final |
set electric charge More... | |
void | setVertex (const Point &vertex) override |
set vertex More... | |
int | status () const final |
status word More... | |
double | theta () const final |
momentum polar angle More... | |
int | threeCharge () const final |
electric charge More... | |
const Point & | vertex () const override |
vertex position (overwritten by PF...) More... | |
double | vertexChi2 () const override |
chi-squares More... | |
double | vertexCovariance (int i, int j) const override |
(i, j)-th element of error matrix, i, j = 0, ... 2 More... | |
CovarianceMatrix | vertexCovariance () const final |
return SMatrix More... | |
double | vertexNdof () const override |
double | vertexNormalizedChi2 () const override |
chi-squared divided by n.d.o.f. More... | |
double | vx () const override |
x coordinate of vertex position More... | |
double | vy () const override |
y coordinate of vertex position More... | |
double | vz () const override |
z coordinate of vertex position More... | |
double | y () const final |
rapidity More... | |
~LeafCandidate () override | |
destructor More... | |
Public Member Functions inherited from reco::Candidate | |
const_iterator | begin () const |
first daughter const_iterator More... | |
iterator | begin () |
first daughter iterator More... | |
Candidate () | |
default constructor More... | |
const_iterator | end () const |
last daughter const_iterator More... | |
iterator | end () |
last daughter iterator More... | |
template<typename T > | |
T | get () const |
get a component More... | |
template<typename T , typename Tag > | |
T | get () const |
get a component More... | |
template<typename T > | |
T | get (size_type i) const |
get a component More... | |
template<typename T , typename Tag > | |
T | get (size_type i) const |
get a component More... | |
template<typename Ref > | |
Ref | masterRef () const |
cast master clone reference to a concrete type More... | |
template<typename T > | |
size_type | numberOf () const |
number of components More... | |
template<typename T , typename Tag > | |
size_type | numberOf () const |
number of components More... | |
virtual void | setSourceCandidatePtr (const CandidatePtr &ptr) |
Set the ptr to the source Candidate. More... | |
virtual | ~Candidate () |
destructor More... | |
Protected Member Functions | |
void | addJECFactors (const TauJetCorrFactors &jec) |
add more sets of energy correction factors More... | |
void | currentJECLevel (const unsigned int &level) |
update the current JEC level; used by correctedJet More... | |
void | currentJECSet (const unsigned int &set) |
update the current JEC set; used by correctedJet More... | |
void | initializeJEC (unsigned int level, const unsigned int set=0) |
initialize the jet to a given JEC level during creation starting from Uncorrected More... | |
int | jecSet (const std::string &label) const |
Protected Member Functions inherited from pat::PATObject< reco::BaseTau > | |
void | addUserDataObject_ (const std::string &label, std::unique_ptr< pat::UserData > value, bool overwrite=false) |
Protected Member Functions inherited from reco::RecoCandidate | |
template<typename R > | |
bool | checkOverlap (const R &r1, const R &r2) const |
check if two components overlap More... | |
Private Member Functions | |
void | initFromBaseTau (const reco::BaseTau &aTau) |
helper to avoid code duplication in constructors More... | |
Friends | |
class | PATTauProducer |
class | PATTauSlimmer |
std::ostream & | reco::operator<< (std::ostream &out, const Tau &obj) |
pipe operator (introduced to use pat::Tau with PFTopProjectors) More... | |
Additional Inherited Members | |
Protected Types inherited from pat::Lepton< reco::BaseTau > | |
typedef std::vector< std::pair< IsolationKeys, pat::IsoDeposit > > | IsoDepositPairs |
Protected Attributes inherited from pat::Lepton< reco::BaseTau > | |
IsoDepositPairs | isoDeposits_ |
std::vector< float > | isolations_ |
PFIsolation | miniPFIsolation_ |
Protected Attributes inherited from pat::PATObject< reco::BaseTau > | |
std::vector< std::string > | efficiencyNames_ |
vector of the efficiencies (names) More... | |
std::vector< pat::LookupTableRecord > | efficiencyValues_ |
vector of the efficiencies (values) More... | |
std::vector< reco::GenParticle > | genParticleEmbedded_ |
vector to hold an embedded generator level particle More... | |
std::vector< reco::GenParticleRef > | genParticleRef_ |
Reference to a generator level particle. More... | |
std::vector< std::string > | kinResolutionLabels_ |
std::vector< pat::CandKinResolution > | kinResolutions_ |
Kinematic resolutions. More... | |
std::vector< reco::CandidatePtrVector > | overlapItems_ |
Overlapping items (sorted by distance) More... | |
std::vector< std::string > | overlapLabels_ |
Overlapping test labels (only if there are any overlaps) More... | |
edm::Ptr< reco::Candidate > | refToOrig_ |
TriggerObjectStandAloneCollection | triggerObjectMatchesEmbedded_ |
vector of trigger matches More... | |
std::vector< std::string > | userCandLabels_ |
std::vector< reco::CandidatePtr > | userCands_ |
std::vector< std::string > | userDataLabels_ |
User data object. More... | |
pat::UserDataCollection | userDataObjects_ |
std::vector< std::string > | userFloatLabels_ |
std::vector< float > | userFloats_ |
std::vector< std::string > | userIntLabels_ |
std::vector< int32_t > | userInts_ |
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 variables.
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 |
pat::Tau::Tau | ( | ) |
default constructor
pat::Tau::Tau | ( | const reco::BaseTau & | aTau | ) |
constructor from a reco tau
pat::Tau::Tau | ( | const edm::RefToBase< reco::BaseTau > & | aTauRef | ) |
constructor from a RefToBase to a reco tau (to be superseded by Ptr counterpart)
pat::Tau::Tau | ( | const edm::Ptr< reco::BaseTau > & | aTauRef | ) |
constructor from a Ptr to a reco tau
|
override |
destructor
|
inlineprotected |
add more sets of energy correction factors
Definition at line 450 of file Tau.h.
Referenced by pat::PATTauProducer::produce().
const std::vector<std::string> pat::Tau::availableJECLevels | ( | const int & | set = 0 | ) | const |
|
inline |
Definition at line 396 of file Tau.h.
References availableJECLevels().
Referenced by availableJECLevels().
const std::vector<std::string> pat::Tau::availableJECSets | ( | ) | const |
-— methods for jet corrections -— returns the labels of all available sets of jet energy corrections
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 242 of file Tau.h.
References pat::tau::TauPFSpecific::bremsRecoveryEOverPLead_.
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 254 of file Tau.h.
References pat::tau::TauPFSpecific::caloComp_.
const pat::tau::TauCaloSpecific& pat::Tau::caloSpecific | ( | ) | const |
return CaloTau info or throw exception 'not CaloTau'
|
inline |
Method copied from reco::CaloTau. Throws an exception if this pat::Tau was not made from a reco::CaloTau
Definition at line 130 of file Tau.h.
References pat::tau::TauCaloSpecific::CaloTauTagInfoRef_.
|
inlineoverridevirtual |
required reimplementation of the Candidate's clone method
Reimplemented from reco::LeafCandidate.
Definition at line 78 of file Tau.h.
References tauProducer_cfi::embedIsolationPFCands, tauProducer_cfi::embedIsolationPFChargedHadrCands, tauProducer_cfi::embedIsolationPFGammaCands, tauProducer_cfi::embedIsolationPFNeutralHadrCands, tauProducer_cfi::embedIsolationTracks, tauProducer_cfi::embedLeadPFCand, tauProducer_cfi::embedLeadPFChargedHadrCand, tauProducer_cfi::embedLeadPFNeutralCand, tauProducer_cfi::embedLeadTrack, tauProducer_cfi::embedSignalPFCands, tauProducer_cfi::embedSignalPFChargedHadrCands, tauProducer_cfi::embedSignalPFGammaCands, tauProducer_cfi::embedSignalPFNeutralHadrCands, tauProducer_cfi::embedSignalTracks, and TauDiscriminatorTools::leadTrack.
|
inline |
p4 of the jet corrected up to the given level for the set of jet energy correction factors, which is currently in use
Definition at line 428 of file Tau.h.
References reco::LeafCandidate::p4().
|
inline |
p4 of the jet corrected up to the given level for the set of jet energy correction factors, which is currently in use
Definition at line 433 of file Tau.h.
References reco::LeafCandidate::p4().
Tau pat::Tau::correctedTauJet | ( | const std::string & | level, |
const std::string & | set = "" |
||
) | const |
copy of the jet corrected up to the given level for the set of jet energy correction factors, which is currently in use
Tau pat::Tau::correctedTauJet | ( | const unsigned int & | level, |
const unsigned int & | set = 0 |
||
) | const |
copy of the jet corrected up to the given level for the set of jet energy correction factors, which is currently in use
|
inline |
return the name of the current step of jet energy corrections
Definition at line 411 of file Tau.h.
References hcalDigis_cfi::level, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by convertToPFCandidatePtr().
|
inlineprotected |
update the current JEC level; used by correctedJet
Definition at line 448 of file Tau.h.
References hcalDigis_cfi::level.
|
inline |
returns the label of the current set of jet energy corrections
Definition at line 407 of file Tau.h.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by convertToPFCandidatePtr().
|
inlineprotected |
|
inline |
reconstructed tau decay mode (specific to PFTau)
Definition at line 366 of file Tau.h.
References pat::tau::TauPFEssential::decayMode_, dataset::name, AlCaHLTBitMon_QueryRunRegistry::string, and TopDecayID::tauID.
Referenced by Tau.Tau::__str__(), DeepTauId::createInputsV1(), DeepTauId::createTauBlockInputs(), reco::tau::fillIsoMVARun2Inputs(), and deep_tau::TauWPThreshold::operator()().
|
inline |
Definition at line 315 of file Tau.h.
References pat::tau::TauPFEssential::dxy_.
Referenced by DeepTauId::createInputsV1(), DeepTauId::createTauBlockInputs(), Electron.Electron::cutBasedId(), ntupleDataFormat.Track::dxyPull(), and reco::tau::fillIsoMVARun2Inputs().
|
inline |
Definition at line 316 of file Tau.h.
References pat::tau::TauPFEssential::dxy_error_.
Referenced by DeepTauId::createTauBlockInputs().
|
inline |
-— Tau lifetime information -— Filled from PFTauTIPAssociation. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 314 of file Tau.h.
References pat::tau::TauPFEssential::dxy_PCA_.
Referenced by DeepTauId::createTauBlockInputs().
float pat::Tau::dxy_Sig | ( | ) | const |
Referenced by DeepTauId::createInputsV1(), and reco::tau::fillIsoMVARun2Inputs().
|
inline |
-— Information for MVA isolation -— Needed to recompute MVA isolation on MiniAOD return sum of ecal energies from signal candidates
Definition at line 335 of file Tau.h.
References pat::tau::TauPFEssential::ecalEnergy_.
Referenced by reco::tau::eratio().
|
inline |
-— Information for anti-electron training -— Needed to recompute on MiniAOD return ecal energy from LeadChargedHadrCand
Definition at line 344 of file Tau.h.
References pat::tau::TauPFEssential::ecalEnergyLeadChargedHadrCand_.
Referenced by DeepTauId::createInputsV1(), and AntiElectronIDMVA6::MVAValue().
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 239 of file Tau.h.
References pat::tau::TauPFSpecific::ecalStripSumEOverPLead_.
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 251 of file Tau.h.
References pat::tau::TauPFSpecific::electronPreIDDecision_.
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 248 of file Tau.h.
References pat::tau::TauPFSpecific::electronPreIDOutput_.
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 245 of file Tau.h.
References pat::tau::TauPFSpecific::electronPreIDTrack_.
void pat::Tau::embedIsolationPFCands | ( | ) |
method to store the isolation candidates internally
Referenced by pat::PATTauProducer::produce().
void pat::Tau::embedIsolationPFChargedHadrCands | ( | ) |
method to store the isolation charged hadrons candidates internally
Referenced by pat::PATTauProducer::produce().
void pat::Tau::embedIsolationPFGammaCands | ( | ) |
method to store the isolation gamma candidates internally
Referenced by pat::PATTauProducer::produce().
void pat::Tau::embedIsolationPFNeutralHadrCands | ( | ) |
method to store the isolation neutral hadrons candidates internally
Referenced by pat::PATTauProducer::produce().
void pat::Tau::embedIsolationTracks | ( | ) |
method to store the isolation tracks internally
Referenced by pat::PATTauProducer::produce().
void pat::Tau::embedLeadPFCand | ( | ) |
Referenced by pat::PATTauProducer::produce().
void pat::Tau::embedLeadPFChargedHadrCand | ( | ) |
method to store the leading charged hadron candidate internally
Referenced by pat::PATTauProducer::produce().
void pat::Tau::embedLeadPFNeutralCand | ( | ) |
method to store the leading neutral candidate internally
Referenced by pat::PATTauProducer::produce().
void pat::Tau::embedLeadTrack | ( | ) |
method to store the leading track internally
Referenced by pat::PATTauProducer::produce().
void pat::Tau::embedSignalPFCands | ( | ) |
method to store the signal candidates internally
Referenced by pat::PATTauProducer::produce().
void pat::Tau::embedSignalPFChargedHadrCands | ( | ) |
method to store the signal charged hadrons candidates internally
Referenced by pat::PATTauProducer::produce().
void pat::Tau::embedSignalPFGammaCands | ( | ) |
method to store the signal gamma candidates internally
Referenced by pat::PATTauProducer::produce().
void pat::Tau::embedSignalPFNeutralHadrCands | ( | ) |
method to store the signal neutral hadrons candidates internally
Referenced by pat::PATTauProducer::produce().
void pat::Tau::embedSignalTracks | ( | ) |
method to store the signal tracks internally
Referenced by pat::PATTauProducer::produce().
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 227 of file Tau.h.
References pat::tau::TauPFSpecific::emFraction_.
|
inline |
return emFraction_MVA
Definition at line 356 of file Tau.h.
References pat::tau::TauPFEssential::emFraction_.
Referenced by DeepTauId::createInputsV1(), DeepTauId::createTauBlockInputs(), and AntiElectronIDMVA6::MVAValue().
|
inline |
return etaAtEcalEntrance
Definition at line 350 of file Tau.h.
References pat::tau::TauPFEssential::etaAtEcalEntrance_.
Referenced by AntiElectronIDMVA6::MVAValue().
|
inline |
return etaAtEcalEntrance from LeadChargedCand
Definition at line 352 of file Tau.h.
References pat::tau::TauPFEssential::etaAtEcalEntranceLeadChargedCand_.
Referenced by DeepTauId::createInputsV1(), DeepTauId::createTauBlockInputs(), and AntiElectronIDMVA6::MVAValue().
float pat::Tau::etaetaMoment | ( | ) | const |
float pat::Tau::etaphiMoment | ( | ) | const |
bool pat::Tau::ExistIsolationCands | ( | ) | const |
bool pat::Tau::ExistSignalCands | ( | ) | const |
return the PFCandidates if available (reference or embedded), or the PackedPFCandidate on miniAOD note that the vector is returned by value.
|
inline |
Definition at line 322 of file Tau.h.
References pat::tau::TauPFEssential::flightLength_.
Referenced by DeepTauId::calculateGottfriedJacksonAngleDifference(), DeepTauId::createEgammaBlockInputs(), DeepTauId::createHadronsBlockInputs(), DeepTauId::createInputsV1(), DeepTauId::createMuonBlockInputs(), DeepTauId::createTauBlockInputs(), and reco::tau::fillIsoMVARun2Inputs().
pat::tau::TauPFEssential::CovMatrix pat::Tau::flightLengthCov | ( | ) | const |
|
inline |
Definition at line 323 of file Tau.h.
References pat::tau::TauPFEssential::flightLengthSig_.
Referenced by DeepTauId::createInputsV1(), and reco::tau::fillIsoMVARun2Inputs().
const reco::GenJet* pat::Tau::genJet | ( | ) | const |
return matched GenJet, built from the visible particles of a generated tau
|
inline |
Definition at line 321 of file Tau.h.
References pat::tau::TauPFEssential::hasSV_.
Referenced by DeepTauId::calculateGottfriedJacksonAngleDifference(), DeepTauId::createInputsV1(), and reco::tau::fillIsoMVARun2Inputs().
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 236 of file Tau.h.
References pat::tau::TauPFSpecific::hcal3x3OverPLead_.
|
inline |
return sum of hcal energies from signal candidates
Definition at line 337 of file Tau.h.
References pat::tau::TauPFEssential::hcalEnergy_.
Referenced by reco::tau::eratio().
|
inline |
return hcal energy from LeadChargedHadrCand
Definition at line 346 of file Tau.h.
References pat::tau::TauPFEssential::hcalEnergyLeadChargedHadrCand_.
Referenced by DeepTauId::createInputsV1(), and AntiElectronIDMVA6::MVAValue().
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 233 of file Tau.h.
References pat::tau::TauPFSpecific::hcalMaxOverPLead_.
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 230 of file Tau.h.
References pat::tau::TauPFSpecific::hcalTotOverPLead_.
|
private |
helper to avoid code duplication in constructors
|
protected |
initialize the jet to a given JEC level during creation starting from Uncorrected
Referenced by pat::PATTauProducer::produce().
|
inline |
Definition at line 328 of file Tau.h.
References pat::tau::TauPFEssential::ip3d_.
Referenced by DeepTauId::createInputsV1(), DeepTauId::createTauBlockInputs(), and reco::tau::fillIsoMVARun2Inputs().
|
inline |
Definition at line 329 of file Tau.h.
References pat::tau::TauPFEssential::ip3d_error_.
Referenced by DeepTauId::createTauBlockInputs().
float pat::Tau::ip3d_Sig | ( | ) | const |
Referenced by DeepTauId::createInputsV1(), and reco::tau::fillIsoMVARun2Inputs().
|
inline |
Returns true if this pat::Tau was made from a reco::CaloTau.
Definition at line 125 of file Tau.h.
reco::CandidatePtrVector pat::Tau::isolationCands | ( | ) | const |
return the PFCandidates if available (reference or embedded), or the PackedPFCandidate on miniAOD note that the vector is returned by value.
reco::CandidatePtrVector pat::Tau::isolationChargedHadrCands | ( | ) | const |
return the PFCandidates if available (reference or embedded), or the PackedPFCandidate on miniAOD note that the vector is returned by value.
|
inline |
Method copied from reco::CaloTau. Throws an exception if this pat::Tau was not made from a reco::CaloTau
Definition at line 151 of file Tau.h.
References pat::tau::TauCaloSpecific::isolationECALhitsEtSum_.
reco::CandidatePtrVector pat::Tau::isolationGammaCands | ( | ) | const |
return the PFCandidates if available (reference or embedded), or the PackedPFCandidate on miniAOD note that the vector is returned by value.
Referenced by reco::tau::n_photons_total().
reco::CandidatePtrVector pat::Tau::isolationNeutrHadrCands | ( | ) | const |
return the PFCandidates if available (reference or embedded), or the PackedPFCandidate on miniAOD note that the vector is returned by value.
const std::vector<reco::PFCandidatePtr>& pat::Tau::isolationPFCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
const std::vector<reco::PFCandidatePtr>& pat::Tau::isolationPFChargedHadrCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Referenced by pat::PATTauSlimmer::produce().
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 218 of file Tau.h.
References pat::tau::TauPFSpecific::isolationPFChargedHadrCandsPtSum_.
const std::vector<reco::PFCandidatePtr>& pat::Tau::isolationPFGammaCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Referenced by pat::PATTauSlimmer::produce().
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 221 of file Tau.h.
References pat::tau::TauPFSpecific::isolationPFGammaCandsEtSum_.
const std::vector<reco::PFCandidatePtr>& pat::Tau::isolationPFNeutrHadrCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Referenced by pat::PATTauSlimmer::produce().
const std::vector<reco::RecoTauPiZero>& pat::Tau::isolationPiZeroCandidates | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
const std::vector<reco::PFRecoTauChargedHadron>& pat::Tau::isolationTauChargedHadronCandidates | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
|
overridevirtual |
override the reco::BaseTau::isolationTracks method, to access the internal storage of the isolation tracks
Reimplemented from reco::BaseTau.
|
inline |
Method copied from reco::CaloTau. Throws an exception if this pat::Tau was not made from a reco::CaloTau
Definition at line 148 of file Tau.h.
References pat::tau::TauCaloSpecific::isolationTracksPtSum_.
|
inline |
Returns true if this pat::Tau was made from a reco::PFTau.
Definition at line 158 of file Tau.h.
Referenced by pat::PATTauProducer::produce().
bool pat::Tau::isTauIDAvailable | ( | const std::string & | name | ) | const |
Returns true if a specific ID is available in this pat::Tau.
Referenced by DPFIsolation::getPredictions().
float pat::Tau::jecFactor | ( | const std::string & | level, |
const std::string & | set = "" |
||
) | const |
correction factor to the given level for a specific set of correction factors, starting from the current level
Referenced by Jet.Jet::rawFactor(), and Jet.Jet::setRawFactor().
float pat::Tau::jecFactor | ( | const unsigned int & | level, |
const unsigned int & | set = 0 |
||
) | const |
correction factor to the given level for a specific set of correction factors, starting from the current level
Referenced by Jet.Jet::rawFactor(), and Jet.Jet::setRawFactor().
|
protected |
index of the set of jec factors with given label; returns -1 if no set of jec factors exists with the given label
|
inline |
|
inline |
|
inline |
const reco::CandidatePtr pat::Tau::leadCand | ( | ) | const |
return the PFCandidate if available (reference or embedded), or the PackedPFCandidate on miniAOD
const reco::CandidatePtr pat::Tau::leadChargedHadrCand | ( | ) | const |
--— Methods returning associated PFCandidates that work on PAT+AOD, PAT+embedding and miniAOD --— return the PFCandidate if available (reference or embedded), or the PackedPFCandidate on miniAOD
Referenced by DeepTauId::createHadronsBlockInputs(), DeepTauId::createInputsV1(), DeepTauId::createTauBlockInputs(), Tau.Tau::dxy_approx(), Tau.Tau::dz(), AntiElectronIDMVA6::MVAValue(), AntiElectronDeadECAL::operator()(), and DeepTauId::processSignalPFComponents().
|
inline |
return normalized chi2 of leading track
Definition at line 339 of file Tau.h.
References pat::tau::TauPFEssential::leadingTrackNormChi2_.
Referenced by DeepTauId::createInputsV1(), DeepTauId::createTauBlockInputs(), and reco::tau::fillIsoMVARun2Inputs().
const reco::CandidatePtr pat::Tau::leadNeutralCand | ( | ) | const |
return the PFCandidate if available (reference or embedded), or the PackedPFCandidate on miniAOD
const reco::PFCandidatePtr pat::Tau::leadPFCand | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
const reco::PFCandidatePtr pat::Tau::leadPFChargedHadrCand | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Referenced by DeepTauId::createInputsV1().
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 173 of file Tau.h.
References pat::tau::TauPFSpecific::leadPFChargedHadrCandsignedSipt_.
const reco::PFCandidatePtr pat::Tau::leadPFNeutralCand | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
reco::PFRecoTauChargedHadronRef pat::Tau::leadTauChargedHadronCandidate | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
|
overridevirtual |
override the reco::BaseTau::leadTrack method, to access the internal storage of the leading track
Reimplemented from reco::BaseTau.
|
inline |
Method copied from reco::CaloTau. Throws an exception if this pat::Tau was not made from a reco::CaloTau
Definition at line 136 of file Tau.h.
References pat::tau::TauCaloSpecific::leadTrackHCAL3x3hitsEtSum_.
|
inline |
Method copied from reco::CaloTau. Throws an exception if this pat::Tau was not made from a reco::CaloTau
Definition at line 139 of file Tau.h.
References pat::tau::TauCaloSpecific::leadTrackHCAL3x3hottesthitDEta_.
|
inline |
Method copied from reco::CaloTau. Throws an exception if this pat::Tau was not made from a reco::CaloTau
Definition at line 133 of file Tau.h.
References pat::tau::TauCaloSpecific::leadTracksignedSipt_.
|
inline |
Method copied from reco::CaloTau. Throws an exception if this pat::Tau was not made from a reco::CaloTau
Definition at line 154 of file Tau.h.
References pat::tau::TauCaloSpecific::maximumHCALhitEt_.
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 224 of file Tau.h.
References pat::tau::TauPFSpecific::maximumHCALPFClusterEt_.
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 260 of file Tau.h.
References reco::tau::leadCand(), and pat::tau::TauPFSpecific::muonDecision_.
|
overridevirtual |
--— Top Projection business ----— get the number of non-null PFCandidates
Reimplemented from reco::LeafCandidate.
reco::Candidate::LorentzVector pat::Tau::p4Jet | ( | ) | const |
Methods copied from reco::Jet. (accessible from reco::CaloTau/reco::PFTau via reco::CaloTauTagInfo/reco::PFTauTagInfo)
const pat::tau::TauPFEssential& pat::Tau::pfEssential | ( | ) | const |
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 164 of file Tau.h.
References pat::tau::TauPFSpecific::pfJetRef_.
Referenced by PFMEtSignInterfaceBase::compResolution().
const pat::tau::TauPFSpecific& pat::Tau::pfSpecific | ( | ) | const |
return PFTau info or throw exception 'not PFTau'
|
inline |
return phiAtEcalEntrance
Definition at line 348 of file Tau.h.
References pat::tau::TauPFEssential::phiAtEcalEntrance_.
Referenced by AntiElectronIDMVA6::MVAValue().
float pat::Tau::phiphiMoment | ( | ) | const |
|
inline |
Definition at line 318 of file Tau.h.
References pat::tau::TauPFEssential::pv_.
|
inline |
Definition at line 320 of file Tau.h.
References pat::tau::TauPFEssential::pvCov_.
|
inline |
Definition at line 319 of file Tau.h.
References pat::tau::TauPFEssential::pvPos_.
|
inline |
return pt from LeadChargedCand
Definition at line 354 of file Tau.h.
References pat::tau::TauPFEssential::ptLeadChargedCand_.
Referenced by DeepTauId::createInputsV1(), and AntiElectronIDMVA6::MVAValue().
|
inline |
Definition at line 325 of file Tau.h.
References pat::tau::TauPFEssential::sv_.
|
inline |
Definition at line 327 of file Tau.h.
References pat::tau::TauPFEssential::svCov_.
|
inline |
Definition at line 326 of file Tau.h.
References pat::tau::TauPFEssential::svPos_.
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 257 of file Tau.h.
References pat::tau::TauPFSpecific::segComp_.
void pat::Tau::setDecayMode | ( | int | ) |
set decay mode
Referenced by pat::PATTauProducer::produce().
void pat::Tau::setGenJet | ( | const reco::GenJetRef & | ref | ) |
set the matched GenJet
Referenced by pat::PATTauProducer::produce().
|
inline |
Definition at line 300 of file Tau.h.
Referenced by pat::PATTauSlimmer::produce().
|
inline |
Definition at line 302 of file Tau.h.
References mps_fire::i.
Referenced by pat::PATTauSlimmer::produce().
|
inline |
Definition at line 301 of file Tau.h.
Referenced by pat::PATTauSlimmer::produce().
|
inline |
setters for the PtrVectors (for miniAOD)
Definition at line 297 of file Tau.h.
Referenced by pat::PATTauSlimmer::produce().
|
inline |
|
inline |
Definition at line 298 of file Tau.h.
Referenced by pat::PATTauSlimmer::produce().
|
inline |
Store multiple tau ID values, discarding existing ones The first one in the list becomes the 'default' tau id
Definition at line 385 of file Tau.h.
References haddnano::obj, reco::operator<<(), and MillePedeFileConverter_cfg::out.
Referenced by PATTauIDEmbedder::produce(), and pat::PATTauProducer::produce().
reco::CandidatePtrVector pat::Tau::signalCands | ( | ) | const |
reco::CandidatePtrVector pat::Tau::signalChargedHadrCands | ( | ) | const |
return the PFCandidates if available (reference or embedded), or the PackedPFCandidate on miniAOD note that the vector is returned by value.
Referenced by AntiElectronIDMVA6::MVAValue().
reco::CandidatePtrVector pat::Tau::signalGammaCands | ( | ) | const |
return the PFCandidates if available (reference or embedded), or the PackedPFCandidate on miniAOD note that the vector is returned by value.
Referenced by AntiElectronIDMVA6::MVAValue(), and reco::tau::n_photons_total().
reco::CandidatePtrVector pat::Tau::signalNeutrHadrCands | ( | ) | const |
return the PFCandidates if available (reference or embedded), or the PackedPFCandidate on miniAOD note that the vector is returned by value.
const std::vector<reco::PFCandidatePtr>& pat::Tau::signalPFCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
const std::vector<reco::PFCandidatePtr>& pat::Tau::signalPFChargedHadrCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Referenced by pat::PATTauSlimmer::produce().
const std::vector<reco::PFCandidatePtr>& pat::Tau::signalPFGammaCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Referenced by pat::PATTauSlimmer::produce().
const std::vector<reco::PFCandidatePtr>& pat::Tau::signalPFNeutrHadrCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Referenced by pat::PATTauSlimmer::produce().
const std::vector<reco::RecoTauPiZero>& pat::Tau::signalPiZeroCandidates | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
const std::vector<reco::PFRecoTauChargedHadron>& pat::Tau::signalTauChargedHadronCandidates | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
|
overridevirtual |
override the reco::BaseTau::signalTracks method, to access the internal storage of the signal tracks
Reimplemented from reco::BaseTau.
|
inline |
Method copied from reco::CaloTau. Throws an exception if this pat::Tau was not made from a reco::CaloTau
Definition at line 142 of file Tau.h.
References pat::tau::TauCaloSpecific::signalTracksInvariantMass_.
|
overridevirtual |
get the source candidate pointer with index i
Reimplemented from reco::LeafCandidate.
float pat::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
Referenced by DeepTauId::createInputsV1(), DeepTauId::createTauBlockInputs(), reco::tau::fillIsoMVARun2Inputs(), and DPFIsolation::getPredictions().
|
inline |
Definition at line 377 of file Tau.h.
References AlCaHLTBitMon_QueryRunRegistry::string, and tauID().
Referenced by tauID().
|
inline |
|
inline |
Method copied from reco::CaloTau. Throws an exception if this pat::Tau was not made from a reco::CaloTau
Definition at line 145 of file Tau.h.
References pat::tau::TauCaloSpecific::TracksInvariantMass_.
|
friend |
make friends with PATTauProducer so that it can set the initial jet energy scale unequal to raw calling the private initializeJEC function, which should be non accessible to any other user
|
friend |
|
friend |
pipe operator (introduced to use pat::Tau with PFTopProjectors)
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 536 of file Tau.h.
Referenced by pat::PATTauProducer::produce().
|
private |
holder for PFTau info, or empty vector if CaloTau
Definition at line 508 of file Tau.h.
Referenced by pat::PATTauSlimmer::produce().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |