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 |
all available label-names of all sets of jet energy corrections More... | |
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 |
virtual Tau * | clone () const |
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 | 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 () |
method to store the leading candidate internally More... | |
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 | etaetaMoment () const |
float | etaphiMoment () const |
const reco::GenJet * | genJet () const |
return matched GenJet, built from the visible particles of a generated tau More... | |
float | hcal3x3OverPLead () const |
float | hcalMaxOverPLead () const |
float | hcalTotOverPLead () const |
bool | isCaloTau () const |
Returns true if this pat::Tau was made from a reco::CaloTau. More... | |
float | isolationECALhitsEtSum () const |
const reco::PFCandidateRefVector & | isolationPFCands () const |
const reco::PFCandidateRefVector & | isolationPFChargedHadrCands () const |
float | isolationPFChargedHadrCandsPtSum () const |
const reco::PFCandidateRefVector & | isolationPFGammaCands () const |
float | isolationPFGammaCandsEtSum () const |
const reco::PFCandidateRefVector & | isolationPFNeutrHadrCands () const |
const std::vector < reco::RecoTauPiZero > & | isolationPiZeroCandidates () const |
const reco::TrackRefVector & | isolationTracks () const |
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::PFCandidateRef | leadPFCand () const |
const reco::PFCandidateRef | leadPFChargedHadrCand () const |
float | leadPFChargedHadrCandsignedSipt () const |
const reco::PFCandidateRef | leadPFNeutralCand () const |
reco::TrackRef | leadTrack () const |
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 |
const reco::Candidate::LorentzVector & | p4Jet () const |
const reco::PFJetRef & | pfJetRef () const |
const pat::tau::TauPFSpecific & | pfSpecific () const |
return PFTau info or throw exception 'not PFTau' More... | |
float | phiphiMoment () const |
float | segComp () const |
void | setDecayMode (int) |
set decay mode More... | |
void | setGenJet (const reco::GenJetRef &ref) |
set the matched GenJet More... | |
void | setTauIDs (const std::vector< IdPair > &ids) |
const reco::PFCandidateRefVector & | signalPFCands () const |
const reco::PFCandidateRefVector & | signalPFChargedHadrCands () const |
const reco::PFCandidateRefVector & | signalPFGammaCands () const |
const reco::PFCandidateRefVector & | signalPFNeutrHadrCands () const |
const std::vector < reco::RecoTauPiZero > & | signalPiZeroCandidates () const |
const reco::TrackRefVector & | signalTracks () const |
override the reco::BaseTau::signalTracks method, to access the internal storage of the signal tracks More... | |
float | signalTracksInvariantMass () const |
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 |
virtual | ~Tau () |
destructor More... | |
Public Member Functions inherited from pat::Lepton< reco::BaseTau > | |
float | caloIso () const |
float | chargedHadronIso () const |
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 () | |
Lepton (const reco::BaseTau &aLepton) | |
Lepton (const edm::RefToBase< reco::BaseTau > &aLeptonRef) | |
Lepton (const edm::Ptr< reco::BaseTau > &aLeptonRef) | |
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 | 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 |
virtual | ~Lepton () |
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) |
Set user-defined int. More... | |
void | addUserData (const std::string &label, const T &data, bool transientOnly=false) |
void | addUserDataFromPtr (const std::string &label, const edm::Ptr< pat::UserData > &data) |
void | addUserFloat (const std::string &label, float data) |
Set user-defined float. More... | |
void | addUserInt (const std::string &label, int32_t data) |
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 |
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... | |
int32_t | userInt (const std::string &key) const |
const std::vector< std::string > & | userIntNames () const |
Get list of user-defined int names. More... | |
virtual | ~PATObject () |
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 (math::XYZTLorentzVector) |
void | setisolationTracks (const TrackRefVector &) |
void | setleadTrack (const TrackRef &) |
void | setsignalTracks (const TrackRefVector &) |
virtual | ~BaseTau () |
Public Member Functions inherited from reco::RecoCandidate | |
virtual const Track * | bestTrack () const |
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... | |
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... | |
virtual | ~RecoCandidate () |
destructor More... | |
Public Member Functions inherited from reco::LeafCandidate | |
virtual const_iterator | begin () const |
first daughter const_iterator More... | |
virtual iterator | begin () |
first daughter iterator More... | |
template<typename S > | |
daughter_iterator< S >::type | beginFilter (const S &s) const |
virtual Vector | boostToCM () const GCC11_FINAL |
virtual int | charge () const GCC11_FINAL |
electric charge More... | |
virtual const Candidate * | daughter (size_type) const |
return daughter at a given position (throws an exception) More... | |
virtual Candidate * | daughter (size_type) |
return daughter at a given position (throws an exception) More... | |
virtual Candidate * | daughter (const std::string &s) |
return daughter with a specified role name More... | |
virtual const Candidate * | daughter (const std::string &s) const |
return daughter with a specified role name More... | |
virtual const_iterator | end () const |
last daughter const_iterator More... | |
virtual iterator | end () |
last daughter iterator More... | |
template<typename S > | |
daughter_iterator< S >::type | endFilter (const S &s) const |
virtual double | energy () const GCC11_FINAL |
energy More... | |
virtual double | et () const GCC11_FINAL |
transverse energy More... | |
virtual float | eta () const GCC11_FINAL |
momentum pseudorapidity More... | |
virtual void | fillVertexCovariance (CovarianceMatrix &v) const |
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... | |
virtual bool | hasMasterClone () const |
virtual bool | hasMasterClonePtr () const |
virtual bool | isCaloMuon () const |
virtual bool | isConvertedPhoton () const |
virtual bool | isElectron () const |
virtual bool | isGlobalMuon () const |
virtual bool | isJet () const |
virtual bool | isMuon () const |
virtual bool | isPhoton () const |
virtual bool | isStandAloneMuon () const |
virtual bool | isTrackerMuon () const |
LeafCandidate () | |
default constructor More... | |
LeafCandidate (const Candidate &c) | |
template<typename P4 > | |
LeafCandidate (Charge q, const P4 &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true) | |
constructor from Any values More... | |
LeafCandidate (Charge q, const PtEtaPhiMass &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true) | |
constructor from values More... | |
LeafCandidate (Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true) | |
constructor from values More... | |
LeafCandidate (Charge q, const PolarLorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true) | |
constructor from values More... | |
virtual bool | longLived () const GCC11_FINAL |
is long lived? More... | |
virtual float | mass () const GCC11_FINAL |
mass More... | |
virtual bool | massConstraint () const GCC11_FINAL |
do mass constraint? More... | |
virtual float | massSqr () const GCC11_FINAL |
mass squared More... | |
virtual const CandidateBaseRef & | masterClone () const |
virtual const CandidatePtr & | masterClonePtr () const |
template<typename Ref > | |
Ref | masterRef () const |
cast master clone reference to a concrete type More... | |
virtual Vector | momentum () const GCC11_FINAL |
spatial momentum vector More... | |
virtual const Candidate * | mother (size_type) const |
return mother at a given position (throws an exception) More... | |
virtual double | mt () const GCC11_FINAL |
transverse mass More... | |
virtual double | mtSqr () const GCC11_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... | |
virtual size_t | numberOfDaughters () const |
number of daughters More... | |
virtual size_t | numberOfMothers () const |
number of mothers More... | |
virtual size_t | numberOfSourceCandidatePtrs () const |
virtual double | p () const GCC11_FINAL |
magnitude of momentum vector More... | |
virtual const LorentzVector & | p4 () const GCC11_FINAL |
four-momentum Lorentz vector More... | |
virtual int | pdgId () const GCC11_FINAL |
PDG identifier. More... | |
virtual float | phi () const GCC11_FINAL |
momentum azimuthal angle More... | |
virtual const PolarLorentzVector & | polarP4 () const GCC11_FINAL |
four-momentum Lorentz vector More... | |
virtual float | pt () const GCC11_FINAL |
transverse momentum More... | |
virtual double | px () const GCC11_FINAL |
x coordinate of momentum vector More... | |
virtual double | py () const GCC11_FINAL |
y coordinate of momentum vector More... | |
virtual double | pz () const GCC11_FINAL |
z coordinate of momentum vector More... | |
virtual double | rapidity () const GCC11_FINAL |
rapidity More... | |
virtual void | setCharge (Charge q) GCC11_FINAL |
set electric charge More... | |
virtual void | setLongLived () GCC11_FINAL |
set long lived flag More... | |
virtual void | setMass (double m) GCC11_FINAL |
set particle mass More... | |
virtual void | setMassConstraint () GCC11_FINAL |
set mass constraint flag More... | |
virtual void | setP4 (const LorentzVector &p4) GCC11_FINAL |
set 4-momentum More... | |
virtual void | setP4 (const PolarLorentzVector &p4) GCC11_FINAL |
set 4-momentum More... | |
virtual void | setPdgId (int pdgId) GCC11_FINAL |
virtual void | setPz (double pz) GCC11_FINAL |
virtual void | setStatus (int status) GCC11_FINAL |
set status word More... | |
virtual void | setThreeCharge (Charge qx3) GCC11_FINAL |
set electric charge More... | |
virtual void | setVertex (const Point &vertex) |
set vertex More... | |
virtual CandidatePtr | sourceCandidatePtr (size_type i) const |
virtual int | status () const GCC11_FINAL |
status word More... | |
virtual double | theta () const GCC11_FINAL |
momentum polar angle More... | |
virtual int | threeCharge () const GCC11_FINAL |
electric charge More... | |
virtual const Point & | vertex () const |
vertex position (overwritten by PF...) More... | |
virtual double | vertexChi2 () const |
chi-squares More... | |
virtual double | vertexCovariance (int i, int j) const |
(i, j)-th element of error matrix, i, j = 0, ... 2 More... | |
CovarianceMatrix | vertexCovariance () const GCC11_FINAL |
return SMatrix More... | |
virtual double | vertexNdof () const |
virtual double | vertexNormalizedChi2 () const |
chi-squared divided by n.d.o.f. More... | |
virtual double | vx () const |
x coordinate of vertex position More... | |
virtual double | vy () const |
y coordinate of vertex position More... | |
virtual double | vz () const |
z coordinate of vertex position More... | |
virtual double | y () const GCC11_FINAL |
rapidity More... | |
virtual | ~LeafCandidate () |
destructor More... | |
Public Member Functions inherited from reco::Candidate | |
template<typename S > | |
daughter_iterator< S >::type | beginFilter (const S &s) const |
Candidate () | |
default constructor More... | |
template<typename S > | |
daughter_iterator< S >::type | endFilter (const S &s) const |
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 |
return true if this jet carries the jet correction factors of a different set, for systematic studies More... | |
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... | |
Protected Member Functions inherited from reco::LeafCandidate | |
void | cacheCartesian () const |
set internal cache More... | |
void | cachePolar () const |
set internal cache More... | |
void | clearCache () const |
clear internal cache More... | |
Friends | |
class | PATTauProducer |
std::ostream & | reco::operator<< (std::ostream &out, const Tau &obj) |
pipe operator (introduced to use pat::Tau with PFTopProjectors) More... | |
Additional Inherited Members | |
Static Public Attributes inherited from reco::LeafCandidate | |
static const unsigned int | longLivedTag = 65536 |
long lived flag More... | |
static const unsigned int | massConstraintTag = 131072 |
do mass constraint flag More... | |
Protected Types inherited from pat::Lepton< reco::BaseTau > | |
typedef std::vector< std::pair < IsolationKeys, pat::IsoDeposit > > | IsoDepositPairs |
Analysis-level tau class.
pat::Tau implements the analysis-level tau class within the 'pat' namespace. It inherits from reco::BaseTau, copies all the information from the source reco::CaloTau or reco::PFTau, and adds some PAT-specific variable.
Please post comments and questions to the Physics Tools hypernews: https://hypernews.cern.ch/HyperNews/CMS/get/physTools.html
typedef std::pair<std::string,float> pat::Tau::IdPair |
Tau::Tau | ( | ) |
default constructor
Definition at line 13 of file Tau.cc.
Referenced by clone().
Tau::Tau | ( | const reco::BaseTau & | aTau | ) |
constructor from a reco tau
constructor from reco::BaseTau
Definition at line 43 of file Tau.cc.
References caloSpecific_, and pfSpecific_.
Tau::Tau | ( | const edm::RefToBase< reco::BaseTau > & | aTauRef | ) |
constructor from a RefToBase to a reco tau (to be superseded by Ptr counterpart)
constructor from ref to reco::BaseTau
Definition at line 77 of file Tau.cc.
References caloSpecific_, edm::RefToBase< T >::get(), and pfSpecific_.
Tau::Tau | ( | const edm::Ptr< reco::BaseTau > & | aTauRef | ) |
constructor from a Ptr to a reco tau
constructor from ref to reco::BaseTau
Definition at line 111 of file Tau.cc.
References caloSpecific_, edm::Ptr< T >::get(), and pfSpecific_.
|
inlineprotected |
add more sets of energy correction factors
Definition at line 335 of file Tau.h.
References jec_.
Referenced by pat::PATTauProducer::produce().
const std::vector< std::string > Tau::availableJECLevels | ( | const int & | set = 0 | ) | const |
|
inline |
Definition at line 284 of file Tau.h.
References availableJECLevels(), and jecSet().
Referenced by availableJECLevels().
const std::vector< std::string > Tau::availableJECSets | ( | ) | const |
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 226 of file Tau.h.
References pat::tau::TauPFSpecific::bremsRecoveryEOverPLead_, and pfSpecific().
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 238 of file Tau.h.
References pat::tau::TauPFSpecific::caloComp_, and pfSpecific().
const pat::tau::TauCaloSpecific & Tau::caloSpecific | ( | ) | const |
return CaloTau info or throw exception 'not CaloTau'
Definition at line 283 of file Tau.cc.
References caloSpecific_, edm::hlt::Exception, and isCaloTau().
Referenced by caloTauTagInfoRef(), etaetaMoment(), etaphiMoment(), isolationECALhitsEtSum(), isolationTracksPtSum(), leadTrackHCAL3x3hitsEtSum(), leadTrackHCAL3x3hottesthitDEta(), leadTracksignedSipt(), maximumHCALhitEt(), p4Jet(), phiphiMoment(), signalTracksInvariantMass(), and TracksInvariantMass().
|
inline |
Method copied from reco::CaloTau. Throws an exception if this pat::Tau was not made from a reco::CaloTau
Definition at line 124 of file Tau.h.
References caloSpecific(), and pat::tau::TauCaloSpecific::CaloTauTagInfoRef_.
|
inlinevirtual |
required reimplementation of the Candidate's clone method
Reimplemented from pat::Lepton< reco::BaseTau >.
Definition at line 72 of file Tau.h.
References Tau().
|
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 316 of file Tau.h.
References correctedTauJet(), and 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 321 of file Tau.h.
References correctedTauJet(), and reco::LeafCandidate::p4().
Tau 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
copy of the jet with correction factor to target step for the set of correction factors, which is currently in use
Definition at line 659 of file Tau.cc.
References edm::hlt::Exception, customizeTrackingMonitorSeedNumber::idx, and jec_.
Referenced by correctedP4(), and correctedTauJet().
Tau 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
copy of the jet with correction factor to target step for the set of correction factors, which is currently in use
Definition at line 678 of file Tau.cc.
References correctedTauJet(), currentJECLevel(), currentJECSet(), jecFactor(), reco::LeafCandidate::p4(), and reco::LeafCandidate::setP4().
|
inline |
return the name of the current step of jet energy corrections
Definition at line 299 of file Tau.h.
References currentJECLevel_, currentJECSet_, jec_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by correctedTauJet(), and initializeJEC().
|
inlineprotected |
update the current JEC level; used by correctedJet
Definition at line 333 of file Tau.h.
References currentJECLevel_, and testEve_cfg::level.
|
inline |
returns the label of the current set of jet energy corrections
Definition at line 295 of file Tau.h.
References currentJECSet_, jec_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by correctedTauJet(), and initializeJEC().
|
inlineprotected |
update the current JEC set; used by correctedJet
Definition at line 331 of file Tau.h.
References currentJECSet_.
|
inline |
reconstructed tau decay mode (specific to PFTau)
Definition at line 254 of file Tau.h.
References pat::tau::TauPFSpecific::decayMode_, and pfSpecific().
Referenced by setDecayMode().
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 223 of file Tau.h.
References pat::tau::TauPFSpecific::ecalStripSumEOverPLead_, and pfSpecific().
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 235 of file Tau.h.
References pat::tau::TauPFSpecific::electronPreIDDecision_, and pfSpecific().
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 232 of file Tau.h.
References pat::tau::TauPFSpecific::electronPreIDOutput_, and pfSpecific().
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 229 of file Tau.h.
References pat::tau::TauPFSpecific::electronPreIDTrack_, and pfSpecific().
void Tau::embedIsolationPFCands | ( | ) |
method to store the isolation candidates internally
Definition at line 397 of file Tau.cc.
References edm::RefVector< C, T, F >::at(), embeddedIsolationPFCands_, i, isolationPFCands_, isPFTau(), pfSpecific_, and edm::RefVector< C, T, F >::size().
Referenced by pat::PATTauProducer::produce().
void Tau::embedIsolationPFChargedHadrCands | ( | ) |
method to store the isolation charged hadrons candidates internally
Definition at line 408 of file Tau.cc.
References edm::RefVector< C, T, F >::at(), embeddedIsolationPFChargedHadrCands_, i, isolationPFChargedHadrCands_, isPFTau(), pfSpecific_, and edm::RefVector< C, T, F >::size().
Referenced by pat::PATTauProducer::produce().
void Tau::embedIsolationPFGammaCands | ( | ) |
method to store the isolation gamma candidates internally
Definition at line 428 of file Tau.cc.
References edm::RefVector< C, T, F >::at(), embeddedIsolationPFGammaCands_, i, isolationPFGammaCands_, isPFTau(), pfSpecific_, and edm::RefVector< C, T, F >::size().
Referenced by pat::PATTauProducer::produce().
void Tau::embedIsolationPFNeutralHadrCands | ( | ) |
method to store the isolation neutral hadrons candidates internally
Definition at line 418 of file Tau.cc.
References edm::RefVector< C, T, F >::at(), embeddedIsolationPFNeutralHadrCands_, i, isolationPFNeutralHadrCands_, isPFTau(), pfSpecific_, and edm::RefVector< C, T, F >::size().
Referenced by pat::PATTauProducer::produce().
void Tau::embedIsolationTracks | ( | ) |
method to store the isolation tracks internally
Definition at line 212 of file Tau.cc.
References edm::RefVector< C, T, F >::at(), embeddedIsolationTracks_, i, reco::BaseTau::isolationTracks(), isolationTracks_, and edm::RefVector< C, T, F >::size().
Referenced by pat::PATTauProducer::produce().
void Tau::embedLeadPFCand | ( | ) |
method to store the leading candidate internally
Definition at line 323 of file Tau.cc.
References embeddedLeadPFCand_, isPFTau(), leadPFCand_, and pfSpecific_.
Referenced by pat::PATTauProducer::produce().
void Tau::embedLeadPFChargedHadrCand | ( | ) |
method to store the leading charged hadron candidate internally
method to store the leading candidate internally
Definition at line 334 of file Tau.cc.
References embeddedLeadPFChargedHadrCand_, isPFTau(), leadPFChargedHadrCand_, and pfSpecific_.
Referenced by pat::PATTauProducer::produce().
void Tau::embedLeadPFNeutralCand | ( | ) |
method to store the leading neutral candidate internally
method to store the leading candidate internally
Definition at line 345 of file Tau.cc.
References embeddedLeadPFNeutralCand_, isPFTau(), leadPFNeutralCand_, and pfSpecific_.
Referenced by pat::PATTauProducer::produce().
void Tau::embedLeadTrack | ( | ) |
method to store the leading track internally
method to store the isolation tracks internally
Definition at line 223 of file Tau.cc.
References embeddedLeadTrack_, reco::BaseTau::leadTrack(), and leadTrack_.
Referenced by pat::PATTauProducer::produce().
void Tau::embedSignalPFCands | ( | ) |
method to store the signal candidates internally
Definition at line 356 of file Tau.cc.
References edm::RefVector< C, T, F >::at(), embeddedSignalPFCands_, i, isPFTau(), pfSpecific_, signalPFCands_, and edm::RefVector< C, T, F >::size().
Referenced by pat::PATTauProducer::produce().
void Tau::embedSignalPFChargedHadrCands | ( | ) |
method to store the signal charged hadrons candidates internally
Definition at line 366 of file Tau.cc.
References edm::RefVector< C, T, F >::at(), embeddedSignalPFChargedHadrCands_, i, isPFTau(), pfSpecific_, signalPFChargedHadrCands_, and edm::RefVector< C, T, F >::size().
Referenced by pat::PATTauProducer::produce().
void Tau::embedSignalPFGammaCands | ( | ) |
method to store the signal gamma candidates internally
Definition at line 386 of file Tau.cc.
References edm::RefVector< C, T, F >::at(), embeddedSignalPFGammaCands_, i, isPFTau(), pfSpecific_, signalPFGammaCands_, and edm::RefVector< C, T, F >::size().
Referenced by pat::PATTauProducer::produce().
void Tau::embedSignalPFNeutralHadrCands | ( | ) |
method to store the signal neutral hadrons candidates internally
Definition at line 376 of file Tau.cc.
References edm::RefVector< C, T, F >::at(), embeddedSignalPFNeutralHadrCands_, i, isPFTau(), pfSpecific_, signalPFNeutralHadrCands_, and edm::RefVector< C, T, F >::size().
Referenced by pat::PATTauProducer::produce().
void Tau::embedSignalTracks | ( | ) |
method to store the signal tracks internally
method to store the isolation tracks internally
Definition at line 233 of file Tau.cc.
References edm::RefVector< C, T, F >::at(), embeddedSignalTracks_, i, reco::BaseTau::signalTracks(), signalTracks_, and edm::RefVector< C, T, F >::size().
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 211 of file Tau.h.
References pat::tau::TauPFSpecific::emFraction_, and pfSpecific().
float Tau::etaetaMoment | ( | ) | const |
Definition at line 295 of file Tau.cc.
References caloSpecific(), pat::tau::TauCaloSpecific::etaetaMoment_, pat::tau::TauPFSpecific::etaetaMoment_, edm::hlt::Exception, isCaloTau(), isPFTau(), and pfSpecific().
float Tau::etaphiMoment | ( | ) | const |
Definition at line 309 of file Tau.cc.
References caloSpecific(), pat::tau::TauCaloSpecific::etaphiMoment_, pat::tau::TauPFSpecific::etaphiMoment_, edm::hlt::Exception, isCaloTau(), isPFTau(), and pfSpecific().
const reco::GenJet * Tau::genJet | ( | ) | const |
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 220 of file Tau.h.
References pat::tau::TauPFSpecific::hcal3x3OverPLead_, and pfSpecific().
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 217 of file Tau.h.
References pat::tau::TauPFSpecific::hcalMaxOverPLead_, and pfSpecific().
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 214 of file Tau.h.
References pat::tau::TauPFSpecific::hcalTotOverPLead_, and pfSpecific().
|
protected |
initialize the jet to a given JEC level during creation starting from Uncorrected
============= -Tau-jet Energy Correction methods ============ (copied from DataFormats/PatCandidates/src/Jet.cc)
Definition at line 592 of file Tau.cc.
References currentJECLevel(), currentJECSet(), jec_, reco::LeafCandidate::p4(), and reco::LeafCandidate::setP4().
Referenced by pat::PATTauProducer::produce().
|
inline |
Returns true if this pat::Tau was made from a reco::CaloTau.
Definition at line 119 of file Tau.h.
References caloSpecific_.
Referenced by caloSpecific(), etaetaMoment(), etaphiMoment(), p4Jet(), and phiphiMoment().
|
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 caloSpecific(), and pat::tau::TauCaloSpecific::isolationECALhitsEtSum_.
const reco::PFCandidateRefVector & Tau::isolationPFCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 524 of file Tau.cc.
References embeddedIsolationPFCands_, i, isolationPFCands_, isolationPFCandsRefVectorFixed_, isolationPFCandsTransientRefVector_, pfSpecific(), edm::RefVector< C, T, F >::push_back(), pat::tau::TauPFSpecific::selectedIsolationPFCands_, and edm::RefVector< C, T, F >::swap().
const reco::PFCandidateRefVector & Tau::isolationPFChargedHadrCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 539 of file Tau.cc.
References embeddedIsolationPFChargedHadrCands_, i, isolationPFChargedHadrCands_, isolationPFChargedHadrCandsRefVectorFixed_, isolationPFChargedHadrCandsTransientRefVector_, pfSpecific(), edm::RefVector< C, T, F >::push_back(), pat::tau::TauPFSpecific::selectedIsolationPFChargedHadrCands_, and edm::RefVector< C, T, F >::swap().
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 202 of file Tau.h.
References pat::tau::TauPFSpecific::isolationPFChargedHadrCandsPtSum_, and pfSpecific().
const reco::PFCandidateRefVector & Tau::isolationPFGammaCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 569 of file Tau.cc.
References embeddedIsolationPFGammaCands_, i, isolationPFGammaCands_, isolationPFGammaCandsRefVectorFixed_, isolationPFGammaCandsTransientRefVector_, pfSpecific(), edm::RefVector< C, T, F >::push_back(), pat::tau::TauPFSpecific::selectedIsolationPFGammaCands_, and edm::RefVector< C, T, F >::swap().
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 205 of file Tau.h.
References pat::tau::TauPFSpecific::isolationPFGammaCandsEtSum_, and pfSpecific().
const reco::PFCandidateRefVector & Tau::isolationPFNeutrHadrCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 554 of file Tau.cc.
References embeddedIsolationPFNeutralHadrCands_, i, isolationPFNeutralHadrCands_, isolationPFNeutralHadrCandsRefVectorFixed_, isolationPFNeutralHadrCandsTransientRefVector_, pfSpecific(), edm::RefVector< C, T, F >::push_back(), pat::tau::TauPFSpecific::selectedIsolationPFNeutrHadrCands_, and edm::RefVector< C, T, F >::swap().
const std::vector< reco::RecoTauPiZero > & Tau::isolationPiZeroCandidates | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 584 of file Tau.cc.
References pat::tau::TauPFSpecific::isolationPiZeroCandidates_, and pfSpecific().
|
virtual |
override the reco::BaseTau::isolationTracks method, to access the internal storage of the isolation tracks
override the reco::BaseTau::isolationTracks method, to access the internal storage of the track
Reimplemented from reco::BaseTau.
Definition at line 166 of file Tau.cc.
References embeddedIsolationTracks_, i, reco::BaseTau::isolationTracks(), isolationTracks_, isolationTracksTransientRefVector_, isolationTracksTransientRefVectorFixed_, edm::RefVector< C, T, F >::push_back(), and edm::RefVector< C, T, F >::swap().
|
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 caloSpecific(), and pat::tau::TauCaloSpecific::isolationTracksPtSum_.
|
inline |
Returns true if this pat::Tau was made from a reco::PFTau.
Definition at line 152 of file Tau.h.
References pfSpecific_.
Referenced by embedIsolationPFCands(), embedIsolationPFChargedHadrCands(), embedIsolationPFGammaCands(), embedIsolationPFNeutralHadrCands(), embedLeadPFCand(), embedLeadPFChargedHadrCand(), embedLeadPFNeutralCand(), embedSignalPFCands(), embedSignalPFChargedHadrCands(), embedSignalPFGammaCands(), embedSignalPFNeutralHadrCands(), etaetaMoment(), etaphiMoment(), p4Jet(), pfSpecific(), phiphiMoment(), pat::PATTauProducer::produce(), and setDecayMode().
bool Tau::isTauIDAvailable | ( | const std::string & | name | ) | const |
float 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
Definition at line 627 of file Tau.cc.
References edm::hlt::Exception, customizeTrackingMonitorSeedNumber::idx, and jec_.
Referenced by correctedTauJet().
float 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
Definition at line 645 of file Tau.cc.
References currentJECLevel_, currentJECSet_, edm::hlt::Exception, jec_, jecSetAvailable(), and jecSetsAvailable().
|
protected |
return true if this jet carries the jet correction factors of a different set, for systematic studies
index of the set of jec factors with given label; returns -1 if no set of jec factors exists with the given label
Definition at line 600 of file Tau.cc.
References jec_.
Referenced by availableJECLevels(), and jecSetAvailable().
|
inline |
returns true if the jet carries a set of jet energy correction factors with the given label
Definition at line 290 of file Tau.h.
References jecSet().
Referenced by jecFactor().
|
inline |
|
inline |
returns true if the jet carries jet energy correction information at all
Definition at line 287 of file Tau.h.
References jec_.
Referenced by jecFactor().
const reco::PFCandidateRef Tau::leadPFCand | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 453 of file Tau.cc.
References embeddedLeadPFCand_, pat::tau::TauPFSpecific::leadPFCand_, leadPFCand_, and pfSpecific().
const reco::PFCandidateRef Tau::leadPFChargedHadrCand | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 439 of file Tau.cc.
References embeddedLeadPFChargedHadrCand_, pat::tau::TauPFSpecific::leadPFChargedHadrCand_, leadPFChargedHadrCand_, and pfSpecific().
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 163 of file Tau.h.
References pat::tau::TauPFSpecific::leadPFChargedHadrCandsignedSipt_, and pfSpecific().
const reco::PFCandidateRef Tau::leadPFNeutralCand | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 446 of file Tau.cc.
References embeddedLeadPFNeutralCand_, pat::tau::TauPFSpecific::leadPFNeutralCand_, leadPFNeutralCand_, and pfSpecific().
|
virtual |
override the reco::BaseTau::leadTrack method, to access the internal storage of the leading track
override the reco::BaseTau::track method, to access the internal storage of the track
Reimplemented from reco::BaseTau.
Definition at line 184 of file Tau.cc.
References embeddedLeadTrack_, reco::BaseTau::leadTrack(), and leadTrack_.
|
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 caloSpecific(), and 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 133 of file Tau.h.
References caloSpecific(), and 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 127 of file Tau.h.
References caloSpecific(), and 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 148 of file Tau.h.
References caloSpecific(), and 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 208 of file Tau.h.
References pat::tau::TauPFSpecific::maximumHCALPFClusterEt_, and pfSpecific().
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 244 of file Tau.h.
References pat::tau::TauPFSpecific::muonDecision_, and pfSpecific().
const reco::Candidate::LorentzVector & Tau::p4Jet | ( | ) | const |
Methods copied from reco::Jet. (accessible from reco::CaloTau/reco::PFTau via reco::CaloTauTagInfo/reco::PFTauTagInfo)
Definition at line 288 of file Tau.cc.
References caloSpecific(), edm::hlt::Exception, isCaloTau(), isPFTau(), pat::tau::TauCaloSpecific::p4Jet_, pat::tau::TauPFSpecific::p4Jet_, and pfSpecific().
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 157 of file Tau.h.
References pat::tau::TauPFSpecific::pfJetRef_, and pfSpecific().
const pat::tau::TauPFSpecific & Tau::pfSpecific | ( | ) | const |
return PFTau info or throw exception 'not PFTau'
Definition at line 278 of file Tau.cc.
References edm::hlt::Exception, isPFTau(), and pfSpecific_.
Referenced by bremsRecoveryEOverPLead(), caloComp(), decayMode(), ecalStripSumEOverPLead(), electronPreIDDecision(), electronPreIDOutput(), electronPreIDTrack(), emFraction(), etaetaMoment(), etaphiMoment(), hcal3x3OverPLead(), hcalMaxOverPLead(), hcalTotOverPLead(), isolationPFCands(), isolationPFChargedHadrCands(), isolationPFChargedHadrCandsPtSum(), isolationPFGammaCands(), isolationPFGammaCandsEtSum(), isolationPFNeutrHadrCands(), isolationPiZeroCandidates(), leadPFCand(), leadPFChargedHadrCand(), leadPFChargedHadrCandsignedSipt(), leadPFNeutralCand(), maximumHCALPFClusterEt(), muonDecision(), p4Jet(), pfJetRef(), phiphiMoment(), segComp(), signalPFCands(), signalPFChargedHadrCands(), signalPFGammaCands(), signalPFNeutrHadrCands(), and signalPiZeroCandidates().
float Tau::phiphiMoment | ( | ) | const |
Definition at line 302 of file Tau.cc.
References caloSpecific(), edm::hlt::Exception, isCaloTau(), isPFTau(), pfSpecific(), pat::tau::TauCaloSpecific::phiphiMoment_, and pat::tau::TauPFSpecific::phiphiMoment_.
|
inline |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 241 of file Tau.h.
References pfSpecific(), and pat::tau::TauPFSpecific::segComp_.
void Tau::setDecayMode | ( | int | decayMode | ) |
set decay mode
Definition at line 316 of file Tau.cc.
References decayMode(), edm::hlt::Exception, isPFTau(), and pfSpecific_.
Referenced by pat::PATTauProducer::produce().
void Tau::setGenJet | ( | const reco::GenJetRef & | ref | ) |
set the matched GenJet
method to set the matched generated jet
Definition at line 244 of file Tau.cc.
References genJet_.
Referenced by pat::PATTauProducer::produce().
|
inline |
Store multiple tau ID values, discarding existing ones The first one in the list becomes the 'default' tau id
Definition at line 273 of file Tau.h.
References tauIDs_.
Referenced by pat::PATTauProducer::produce().
const reco::PFCandidateRefVector & Tau::signalPFCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 460 of file Tau.cc.
References embeddedSignalPFCands_, i, pfSpecific(), edm::RefVector< C, T, F >::push_back(), pat::tau::TauPFSpecific::selectedSignalPFCands_, signalPFCands_, signalPFCandsRefVectorFixed_, signalPFCandsTransientRefVector_, and edm::RefVector< C, T, F >::swap().
const reco::PFCandidateRefVector & Tau::signalPFChargedHadrCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 475 of file Tau.cc.
References embeddedSignalPFChargedHadrCands_, i, pfSpecific(), edm::RefVector< C, T, F >::push_back(), pat::tau::TauPFSpecific::selectedSignalPFChargedHadrCands_, signalPFChargedHadrCands_, signalPFChargedHadrCandsRefVectorFixed_, signalPFChargedHadrCandsTransientRefVector_, and edm::RefVector< C, T, F >::swap().
const reco::PFCandidateRefVector & Tau::signalPFGammaCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 505 of file Tau.cc.
References embeddedSignalPFGammaCands_, i, pfSpecific(), edm::RefVector< C, T, F >::push_back(), pat::tau::TauPFSpecific::selectedSignalPFGammaCands_, signalPFGammaCands_, signalPFGammaCandsRefVectorFixed_, signalPFGammaCandsTransientRefVector_, and edm::RefVector< C, T, F >::swap().
const reco::PFCandidateRefVector & Tau::signalPFNeutrHadrCands | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 490 of file Tau.cc.
References embeddedSignalPFNeutralHadrCands_, i, pfSpecific(), edm::RefVector< C, T, F >::push_back(), pat::tau::TauPFSpecific::selectedSignalPFNeutrHadrCands_, signalPFNeutralHadrCands_, signalPFNeutralHadrCandsRefVectorFixed_, signalPFNeutralHadrCandsTransientRefVector_, and edm::RefVector< C, T, F >::swap().
const std::vector< reco::RecoTauPiZero > & Tau::signalPiZeroCandidates | ( | ) | const |
Method copied from reco::PFTau. Throws an exception if this pat::Tau was not made from a reco::PFTau
Definition at line 520 of file Tau.cc.
References pfSpecific(), and pat::tau::TauPFSpecific::signalPiZeroCandidates_.
|
virtual |
override the reco::BaseTau::signalTracks method, to access the internal storage of the signal tracks
override the reco::BaseTau::track method, to access the internal storage of the track
Reimplemented from reco::BaseTau.
Definition at line 194 of file Tau.cc.
References embeddedSignalTracks_, i, edm::RefVector< C, T, F >::push_back(), reco::BaseTau::signalTracks(), signalTracks_, signalTracksTransientRefVector_, signalTracksTransientRefVectorFixed_, and edm::RefVector< C, T, F >::swap().
|
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 caloSpecific(), and pat::tau::TauCaloSpecific::signalTracksInvariantMass_.
float Tau::tauID | ( | const std::string & | name | ) | const |
Returns a specific tau ID associated to the pat::Tau given its name For cut-based IDs, the value is 1.0 for good, 0.0 for bad. The names are defined within the configuration parameterset "tauIDSources" in PhysicsTools/PatAlgos/python/producersLayer1/tauProducer_cfi.py . Note: an exception is thrown if the specified ID is not available
Definition at line 256 of file Tau.cc.
References tauIDs_.
|
inline |
Definition at line 265 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 139 of file Tau.h.
References caloSpecific(), and 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 |
pipe operator (introduced to use pat::Tau with PFTopProjectors)
|
protected |
holder for CaloTau info, or empty vector if PFTau
Definition at line 399 of file Tau.h.
Referenced by caloSpecific(), isCaloTau(), and Tau().
|
protected |
Definition at line 414 of file Tau.h.
Referenced by currentJECLevel(), and jecFactor().
|
protected |
Definition at line 412 of file Tau.h.
Referenced by currentJECLevel(), currentJECSet(), and jecFactor().
|
protected |
Definition at line 375 of file Tau.h.
Referenced by embedIsolationPFCands(), and isolationPFCands().
|
protected |
Definition at line 379 of file Tau.h.
Referenced by embedIsolationPFChargedHadrCands(), and isolationPFChargedHadrCands().
|
protected |
Definition at line 387 of file Tau.h.
Referenced by embedIsolationPFGammaCands(), and isolationPFGammaCands().
|
protected |
Definition at line 383 of file Tau.h.
Referenced by embedIsolationPFNeutralHadrCands(), and isolationPFNeutrHadrCands().
|
protected |
Definition at line 340 of file Tau.h.
Referenced by embedIsolationTracks(), and isolationTracks().
|
protected |
Definition at line 352 of file Tau.h.
Referenced by embedLeadPFCand(), and leadPFCand().
|
protected |
Definition at line 354 of file Tau.h.
Referenced by embedLeadPFChargedHadrCand(), and leadPFChargedHadrCand().
|
protected |
Definition at line 356 of file Tau.h.
Referenced by embedLeadPFNeutralCand(), and leadPFNeutralCand().
|
protected |
Definition at line 344 of file Tau.h.
Referenced by embedLeadTrack(), and leadTrack().
|
protected |
Definition at line 359 of file Tau.h.
Referenced by embedSignalPFCands(), and signalPFCands().
|
protected |
Definition at line 363 of file Tau.h.
Referenced by embedSignalPFChargedHadrCands(), and signalPFChargedHadrCands().
|
protected |
Definition at line 371 of file Tau.h.
Referenced by embedSignalPFGammaCands(), and signalPFGammaCands().
|
protected |
Definition at line 367 of file Tau.h.
Referenced by embedSignalPFNeutralHadrCands(), and signalPFNeutrHadrCands().
|
protected |
Definition at line 346 of file Tau.h.
Referenced by embedSignalTracks(), and signalTracks().
|
protected |
Definition at line 392 of file Tau.h.
Referenced by genJet(), and setGenJet().
|
protected |
Definition at line 374 of file Tau.h.
Referenced by embedIsolationPFCands(), and isolationPFCands().
|
mutableprotected |
Definition at line 377 of file Tau.h.
Referenced by isolationPFCands().
|
mutableprotected |
Definition at line 376 of file Tau.h.
Referenced by isolationPFCands().
|
protected |
Definition at line 378 of file Tau.h.
Referenced by embedIsolationPFChargedHadrCands(), and isolationPFChargedHadrCands().
|
mutableprotected |
Definition at line 381 of file Tau.h.
Referenced by isolationPFChargedHadrCands().
|
mutableprotected |
Definition at line 380 of file Tau.h.
Referenced by isolationPFChargedHadrCands().
|
protected |
Definition at line 386 of file Tau.h.
Referenced by embedIsolationPFGammaCands(), and isolationPFGammaCands().
|
mutableprotected |
Definition at line 389 of file Tau.h.
Referenced by isolationPFGammaCands().
|
mutableprotected |
Definition at line 388 of file Tau.h.
Referenced by isolationPFGammaCands().
|
protected |
Definition at line 382 of file Tau.h.
Referenced by embedIsolationPFNeutralHadrCands(), and isolationPFNeutrHadrCands().
|
mutableprotected |
Definition at line 385 of file Tau.h.
Referenced by isolationPFNeutrHadrCands().
|
mutableprotected |
Definition at line 384 of file Tau.h.
Referenced by isolationPFNeutrHadrCands().
|
protected |
Definition at line 341 of file Tau.h.
Referenced by embedIsolationTracks(), and isolationTracks().
|
mutableprotected |
Definition at line 342 of file Tau.h.
Referenced by isolationTracks().
|
mutableprotected |
Definition at line 343 of file Tau.h.
Referenced by isolationTracks().
|
protected |
Definition at line 409 of file Tau.h.
Referenced by addJECFactors(), availableJECLevels(), availableJECSets(), correctedTauJet(), currentJECLevel(), currentJECSet(), initializeJEC(), jecFactor(), jecSet(), jecSetAvailable(), and jecSetsAvailable().
|
protected |
Definition at line 351 of file Tau.h.
Referenced by embedLeadPFCand(), and leadPFCand().
|
protected |
Definition at line 353 of file Tau.h.
Referenced by embedLeadPFChargedHadrCand(), and leadPFChargedHadrCand().
|
protected |
Definition at line 355 of file Tau.h.
Referenced by embedLeadPFNeutralCand(), and leadPFNeutralCand().
|
protected |
Definition at line 345 of file Tau.h.
Referenced by embedLeadTrack(), and leadTrack().
|
protected |
holder for PFTau info, or empty vector if CaloTau
Definition at line 403 of file Tau.h.
Referenced by embedIsolationPFCands(), embedIsolationPFChargedHadrCands(), embedIsolationPFGammaCands(), embedIsolationPFNeutralHadrCands(), embedLeadPFCand(), embedLeadPFChargedHadrCand(), embedLeadPFNeutralCand(), embedSignalPFCands(), embedSignalPFChargedHadrCands(), embedSignalPFGammaCands(), embedSignalPFNeutralHadrCands(), isPFTau(), pfSpecific(), setDecayMode(), and Tau().
|
protected |
Definition at line 358 of file Tau.h.
Referenced by embedSignalPFCands(), and signalPFCands().
|
mutableprotected |
Definition at line 361 of file Tau.h.
Referenced by signalPFCands().
|
mutableprotected |
Definition at line 360 of file Tau.h.
Referenced by signalPFCands().
|
protected |
Definition at line 362 of file Tau.h.
Referenced by embedSignalPFChargedHadrCands(), and signalPFChargedHadrCands().
|
mutableprotected |
Definition at line 365 of file Tau.h.
Referenced by signalPFChargedHadrCands().
|
mutableprotected |
Definition at line 364 of file Tau.h.
Referenced by signalPFChargedHadrCands().
|
protected |
Definition at line 370 of file Tau.h.
Referenced by embedSignalPFGammaCands(), and signalPFGammaCands().
|
mutableprotected |
Definition at line 373 of file Tau.h.
Referenced by signalPFGammaCands().
|
mutableprotected |
Definition at line 372 of file Tau.h.
Referenced by signalPFGammaCands().
|
protected |
Definition at line 366 of file Tau.h.
Referenced by embedSignalPFNeutralHadrCands(), and signalPFNeutrHadrCands().
|
mutableprotected |
Definition at line 369 of file Tau.h.
Referenced by signalPFNeutrHadrCands().
|
mutableprotected |
Definition at line 368 of file Tau.h.
Referenced by signalPFNeutrHadrCands().
|
protected |
Definition at line 347 of file Tau.h.
Referenced by embedSignalTracks(), and signalTracks().
|
mutableprotected |
Definition at line 348 of file Tau.h.
Referenced by signalTracks().
|
mutableprotected |
Definition at line 349 of file Tau.h.
Referenced by signalTracks().
|
protected |
Definition at line 395 of file Tau.h.
Referenced by isTauIDAvailable(), setTauIDs(), tauID(), and tauIDs().