CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Tau.h
Go to the documentation of this file.
1 #ifndef DataFormats_PatCandidates_Tau_h
2 #define DataFormats_PatCandidates_Tau_h
3 
26 
30 
32 
33 // Define typedefs for convenience
34 namespace pat {
35  class Tau;
36  typedef std::vector<Tau> TauCollection;
40 } // namespace pat
41 
42 namespace reco {
44  std::ostream& operator<<(std::ostream& out, const pat::Tau& obj);
45  // bool sortByPt(const CandidatePtrVector::const_iterator &lhs, const CandidatePtrVector::const_iterator &rhs) { return (*lhs)->pt() < (*rhs)->pt(); }
46 } // namespace reco
47 
48 // Class definition
49 namespace pat {
50 
51  class PATTauSlimmer;
52 
53  class Tau : public Lepton<reco::BaseTau> {
57  friend class PATTauProducer;
58 
59  public:
60  typedef std::pair<std::string, float> IdPair;
61 
63  Tau();
65  Tau(const reco::BaseTau& aTau);
67  Tau(const edm::RefToBase<reco::BaseTau>& aTauRef);
69  Tau(const edm::Ptr<reco::BaseTau>& aTauRef);
71  ~Tau() override;
72 
74  Tau* clone() const override { return new Tau(*this); }
75 
76  // ---- methods for content embedding ----
78  const reco::TrackRefVector& isolationTracks() const override;
80  reco::TrackRef leadTrack() const override;
82  const reco::TrackRefVector& signalTracks() const override;
84  void embedIsolationTracks();
86  void embedLeadTrack();
88  void embedSignalTracks();
91  void embedLeadPFCand();
97  void embedSignalPFCands();
105  void embedIsolationPFCands();
112 
113  // ---- matched GenJet methods ----
115  const reco::GenJet* genJet() const;
117  void setGenJet(const reco::GenJetRef& ref);
118 
119  // ---- PFTau accessors (getters only) ----
121  bool isPFTau() const { return !pfSpecific_.empty(); }
123  const pat::tau::TauPFSpecific& pfSpecific() const;
124  const pat::tau::TauPFEssential& pfEssential() const;
127  const reco::JetBaseRef& pfJetRef() const { return pfSpecific().pfJetRef_; }
142  const reco::PFCandidatePtr leadPFCand() const;
145  const std::vector<reco::PFCandidatePtr>& signalPFCands() const;
148  const std::vector<reco::PFCandidatePtr>& signalPFChargedHadrCands() const;
151  const std::vector<reco::PFCandidatePtr>& signalPFNeutrHadrCands() const;
154  const std::vector<reco::PFCandidatePtr>& signalPFGammaCands() const;
157  const std::vector<reco::PFRecoTauChargedHadron>& signalTauChargedHadronCandidates() const;
160  const std::vector<reco::RecoTauPiZero>& signalPiZeroCandidates() const;
163  const std::vector<reco::PFCandidatePtr>& isolationPFCands() const;
166  const std::vector<reco::PFCandidatePtr>& isolationPFChargedHadrCands() const;
169  const std::vector<reco::PFCandidatePtr>& isolationPFNeutrHadrCands() const;
172  const std::vector<reco::PFCandidatePtr>& isolationPFGammaCands() const;
175  const std::vector<reco::PFRecoTauChargedHadron>& isolationTauChargedHadronCandidates() const;
178  const std::vector<reco::RecoTauPiZero>& isolationPiZeroCandidates() const;
190  float emFraction() const { return pfSpecific().emFraction_; }
193  float hcalTotOverPLead() const { return pfSpecific().hcalTotOverPLead_; }
196  float hcalMaxOverPLead() const { return pfSpecific().hcalMaxOverPLead_; }
199  float hcal3x3OverPLead() const { return pfSpecific().hcal3x3OverPLead_; }
217  float caloComp() const { return pfSpecific().caloComp_; }
220  float segComp() const { return pfSpecific().segComp_; }
223  bool muonDecision() const { return pfSpecific().muonDecision_; }
224 
229  const reco::CandidatePtr leadNeutralCand() const;
231  const reco::CandidatePtr leadCand() const;
234  bool ExistSignalCands() const;
235  bool ExistIsolationCands() const;
258 
266 
269  size_t numberOfSourceCandidatePtrs() const override;
272 
277  float dxy() const { return pfEssential().dxy_; }
278  float dxy_error() const { return pfEssential().dxy_error_; }
279  float dxy_Sig() const;
280  const reco::VertexRef& primaryVertex() const { return pfEssential().pv_; }
283  bool hasSecondaryVertex() const { return pfEssential().hasSV_; }
285  float flightLengthSig() const { return pfEssential().flightLengthSig_; }
287  const reco::VertexRef& secondaryVertex() const { return pfEssential().sv_; }
290  float ip3d() const { return pfEssential().ip3d_; }
291  float ip3d_error() const { return pfEssential().ip3d_error_; }
292  float ip3d_Sig() const;
293 
297  float ecalEnergy() const { return pfEssential().ecalEnergy_; }
299  float hcalEnergy() const { return pfEssential().hcalEnergy_; }
302 
318  float emFraction_MVA() const { return pfEssential().emFraction_; }
319 
323  float etaetaMoment() const;
324  float phiphiMoment() const;
325  float etaphiMoment() const;
326 
328  int decayMode() const { return pfEssential().decayMode_; }
330  void setDecayMode(int);
331 
332  // ---- methods for tau ID ----
338  float tauID(const std::string& name) const;
339  float tauID(const char* name) const { return tauID(std::string(name)); }
341  bool isTauIDAvailable(const std::string& name) const;
344  const std::vector<IdPair>& tauIDs() const { return tauIDs_; }
347  void setTauIDs(const std::vector<IdPair>& ids) { tauIDs_ = ids; }
348 
350  friend std::ostream& reco::operator<<(std::ostream& out, const Tau& obj);
351 
354  const std::vector<std::string> availableJECSets() const;
355  // returns the available JEC Levels for a given jecSet
356  const std::vector<std::string> availableJECLevels(const int& set = 0) const;
357  // returns the available JEC Levels for a given jecSet
358  const std::vector<std::string> availableJECLevels(const std::string& set) const {
359  return availableJECLevels(jecSet(set));
360  };
363  bool jecSetsAvailable() const { return !jec_.empty(); }
366  bool jecSetAvailable(const std::string& set) const { return (jecSet(set) >= 0); };
369  bool jecSetAvailable(const unsigned int& set) const { return (set < jec_.size()); };
372  return currentJECSet_ < jec_.size() ? jec_.at(currentJECSet_).jecSet() : std::string("ERROR");
373  }
376  return currentJECSet_ < jec_.size() ? jec_.at(currentJECSet_).jecLevel(currentJECLevel_) : std::string("ERROR");
377  }
380  float jecFactor(const std::string& level, const std::string& set = "") const;
383  float jecFactor(const unsigned int& level, const unsigned int& set = 0) const;
386  Tau correctedTauJet(const std::string& level, const std::string& set = "") const;
389  Tau correctedTauJet(const unsigned int& level, const unsigned int& set = 0) const;
392  const LorentzVector& correctedP4(const std::string& level, const std::string& set = "") const {
393  return correctedTauJet(level, set).p4();
394  }
397  const LorentzVector& correctedP4(const unsigned int& level, const unsigned int& set = 0) const {
398  return correctedTauJet(level, set).p4();
399  }
400 
401  friend class PATTauSlimmer;
402 
403  protected:
406  int jecSet(const std::string& label) const;
408  void currentJECSet(const unsigned int& set) { currentJECSet_ = set; };
410  void currentJECLevel(const unsigned int& level) { currentJECLevel_ = level; };
412  void addJECFactors(const TauJetCorrFactors& jec) { jec_.push_back(jec); };
414  void initializeJEC(unsigned int level, const unsigned int set = 0);
415 
416  private:
418  void initFromBaseTau(const reco::BaseTau& aTau);
419  // ---- for content embedding ----
421  std::vector<reco::Track> isolationTracks_;
424  std::vector<reco::Track> leadTrack_;
426  std::vector<reco::Track> signalTracks_;
428  // specific for PFTau
429  std::vector<reco::PFCandidate> leadPFCand_;
431  std::vector<reco::PFCandidate> leadPFChargedHadrCand_;
433  std::vector<reco::PFCandidate> leadPFNeutralCand_;
435 
436  std::vector<reco::PFCandidate> signalPFCands_;
439  std::vector<reco::PFCandidate> signalPFChargedHadrCands_;
442  std::vector<reco::PFCandidate> signalPFNeutralHadrCands_;
445  std::vector<reco::PFCandidate> signalPFGammaCands_;
448  std::vector<reco::PFCandidate> isolationPFCands_;
451  std::vector<reco::PFCandidate> isolationPFChargedHadrCands_;
454  std::vector<reco::PFCandidate> isolationPFNeutralHadrCands_;
457  std::vector<reco::PFCandidate> isolationPFGammaCands_;
460 
461  // ---- matched GenJet holder ----
462  std::vector<reco::GenJet> genJet_;
463 
464  // ---- tau ID's holder ----
465  std::vector<IdPair> tauIDs_;
466 
467  // ---- PFTau specific variables ----
469  std::vector<pat::tau::TauPFSpecific> pfSpecific_;
470 
471  // ---- energy scale correction factors ----
472  // energy scale correction factors; the string carries a potential label if
473  // more then one set of correction factors is embedded. The label corresponds
474  // to the label of the jetCorrFactors module that has been embedded.
475  std::vector<pat::TauJetCorrFactors> jec_;
476  // currently applied set of jet energy correction factors (i.e. the index in
477  // jetEnergyCorrections_)
478  unsigned int currentJECSet_;
479  // currently applied jet energy correction level
480  unsigned int currentJECLevel_;
481 
482  // ---- references to packed pf candidates -----
486 
490 
491  // -- essential info to keep
492 
493  std::vector<pat::tau::TauPFEssential> pfEssential_;
494  };
495 } // namespace pat
496 
497 #endif
bool embeddedLeadPFNeutralCand_
Definition: Tau.h:434
const reco::JetBaseRef & pfJetRef() const
Definition: Tau.h:127
reco::CandidatePtr sourceCandidatePtr(size_type i) const override
get the source candidate pointer with index i
const std::vector< IdPair > & tauIDs() const
Definition: Tau.h:344
const LorentzVector & correctedP4(const std::string &level, const std::string &set="") const
Definition: Tau.h:392
edm::AtomicPtrCache< reco::TrackRefVector > signalTracksTransientRefVector_
Definition: Tau.h:427
const std::vector< reco::PFCandidatePtr > & isolationPFCands() const
const std::vector< std::string > availableJECSets() const
float hcalTotOverPLead() const
Definition: Tau.h:193
void currentJECLevel(const unsigned int &level)
update the current JEC level; used by correctedJet
Definition: Tau.h:410
const LorentzVector & correctedP4(const unsigned int &level, const unsigned int &set=0) const
Definition: Tau.h:397
reco::CandidatePtrVector isolationGammaCandPtrs_
Definition: Tau.h:489
edm::RefProd< TauCollection > TauRefProd
Definition: Tau.h:38
pat::tau::TauPFEssential::CovMatrix flightLengthCov() const
const reco::CandidatePtr leadCand() const
return the PFCandidate if available (reference or embedded), or the PackedPFCandidate on miniAOD ...
reco::CandidatePtrVector isolationChargedHadrCands() const
void embedIsolationPFCands()
method to store the isolation candidates internally
float caloComp() const
Definition: Tau.h:217
size_t size_type
Definition: Candidate.h:29
bool embeddedSignalPFChargedHadrCands_
Definition: Tau.h:440
std::vector< reco::PFCandidate > leadPFNeutralCand_
Definition: Tau.h:433
void embedIsolationPFGammaCands()
method to store the isolation gamma candidates internally
float hcalEnergyLeadChargedHadrCand() const
return hcal energy from LeadChargedHadrCand
Definition: Tau.h:308
reco::TrackRef electronPreIDTrack_
Definition: TauPFSpecific.h:55
edm::AtomicPtrCache< std::vector< reco::PFCandidatePtr > > isolationPFChargedHadrCandsTransientPtrs_
Definition: Tau.h:453
float dxy() const
Definition: Tau.h:277
std::vector< reco::PFCandidate > signalPFNeutralHadrCands_
Definition: Tau.h:442
std::vector< reco::PFCandidate > signalPFCands_
Definition: Tau.h:436
edm::AtomicPtrCache< std::vector< reco::PFCandidatePtr > > signalPFNeutralHadrCandsTransientPtrs_
Definition: Tau.h:444
bool embeddedIsolationPFChargedHadrCands_
Definition: Tau.h:452
bool jecSetAvailable(const std::string &set) const
Definition: Tau.h:366
bool embeddedIsolationPFCands_
Definition: Tau.h:449
const std::vector< reco::PFCandidatePtr > & isolationPFChargedHadrCands() const
float hcal3x3OverPLead() const
Definition: Tau.h:199
bool jecSetAvailable(const unsigned int &set) const
Definition: Tau.h:369
Slimmer of PAT Taus.
const pat::tau::TauPFEssential & pfEssential() const
Tau * clone() const override
required reimplementation of the Candidate&#39;s clone method
Definition: Tau.h:74
const reco::PFCandidatePtr leadPFChargedHadrCand() const
void embedLeadTrack()
method to store the leading track internally
const pat::tau::TauPFEssential::Point & secondaryVertexPos() const
Definition: Tau.h:288
void embedSignalPFChargedHadrCands()
method to store the signal charged hadrons candidates internally
std::vector< reco::PFCandidate > isolationPFGammaCands_
Definition: Tau.h:457
std::vector< reco::PFCandidate > isolationPFNeutralHadrCands_
Definition: Tau.h:454
edm::AtomicPtrCache< std::vector< reco::PFCandidatePtr > > isolationPFGammaCandsTransientPtrs_
Definition: Tau.h:459
std::vector< Tau > TauCollection
Definition: Tau.h:35
const reco::CandidatePtr leadNeutralCand() const
return the PFCandidate if available (reference or embedded), or the PackedPFCandidate on miniAOD ...
const std::vector< reco::PFRecoTauChargedHadron > & signalTauChargedHadronCandidates() const
std::vector< reco::GenJet > genJet_
Definition: Tau.h:462
void setDecayMode(int)
set decay mode
const reco::TrackRef & electronPreIDTrack() const
Definition: Tau.h:208
edm::Ref< TauCollection > TauRef
Definition: Tau.h:37
const std::vector< std::string > availableJECLevels(const std::string &set) const
Definition: Tau.h:358
float ip3d_Sig() const
void setTauIDs(const std::vector< IdPair > &ids)
Definition: Tau.h:347
edm::AtomicPtrCache< std::vector< reco::PFCandidatePtr > > signalPFCandsTransientPtrs_
Definition: Tau.h:438
float tauID(const std::string &name) const
bool embeddedIsolationPFNeutralHadrCands_
Definition: Tau.h:455
reco::CandidatePtrVector signalCands() const
float leadPFChargedHadrCandsignedSipt_
Definition: TauPFSpecific.h:30
bool embeddedLeadTrack_
Definition: Tau.h:423
float isolationPFGammaCandsEtSum() const
Definition: Tau.h:184
edm::AtomicPtrCache< std::vector< reco::PFCandidatePtr > > signalPFGammaCandsTransientPtrs_
Definition: Tau.h:447
float hcalEnergy() const
return sum of hcal energies from signal candidates
Definition: Tau.h:299
int jecSet(const std::string &label) const
float phiphiMoment() const
edm::RefVector< TauCollection > TauRefVector
Definition: Tau.h:39
float maximumHCALPFClusterEt() const
Definition: Tau.h:187
float ecalEnergy() const
Definition: Tau.h:297
std::pair< std::string, float > IdPair
Definition: Tau.h:60
std::vector< reco::PFCandidate > leadPFCand_
Definition: Tau.h:429
reco::CandidatePtrVector signalGammaCands() const
const pat::tau::TauPFEssential::CovMatrix & primaryVertexCov() const
Definition: Tau.h:282
const std::vector< reco::PFRecoTauChargedHadron > & isolationTauChargedHadronCandidates() const
bool embeddedSignalPFGammaCands_
Definition: Tau.h:446
reco::CandidatePtrVector isolationNeutrHadrCands() const
unsigned int currentJECLevel_
Definition: Tau.h:480
float ip3d_error() const
Definition: Tau.h:291
edm::AtomicPtrCache< reco::TrackRefVector > isolationTracksTransientRefVector_
Definition: Tau.h:422
const std::vector< reco::PFCandidatePtr > & signalPFCands() const
char const * label
reco::PFRecoTauChargedHadronRef leadTauChargedHadronCandidate() const
float hcalMaxOverPLead() const
Definition: Tau.h:196
void setIsolationGammaCands(const reco::CandidatePtrVector &ptrs)
Definition: Tau.h:265
void embedSignalPFCands()
method to store the signal candidates internally
void initFromBaseTau(const reco::BaseTau &aTau)
helper to avoid code duplication in constructors
void currentJECSet(const unsigned int &set)
update the current JEC set; used by correctedJet
Definition: Tau.h:408
float isolationPFChargedHadrCandsPtSum() const
Definition: Tau.h:181
reco::CandidatePtrVector isolationChargedHadrCandPtrs_
Definition: Tau.h:487
std::ostream & operator<<(std::ostream &, BeamSpot beam)
Definition: BeamSpot.cc:66
std::vector< reco::Track > signalTracks_
Definition: Tau.h:426
std::vector< IdPair > tauIDs_
Definition: Tau.h:465
edm::AtomicPtrCache< std::vector< reco::PFCandidatePtr > > signalPFChargedHadrCandsTransientPtrs_
Definition: Tau.h:441
bool embeddedIsolationPFGammaCands_
Definition: Tau.h:458
math::XYZVectorF Vector
const reco::VertexRef & primaryVertex() const
Definition: Tau.h:280
float etaetaMoment() const
std::vector< reco::PFCandidate > signalPFChargedHadrCands_
Definition: Tau.h:439
float ip3d() const
Definition: Tau.h:290
Tau()
default constructor
void setIsolationNeutralHadrCands(const reco::CandidatePtrVector &ptrs)
Definition: Tau.h:264
const pat::tau::TauPFEssential::Vector & flightLength() const
Definition: Tau.h:284
const reco::TrackRefVector & isolationTracks() const override
override the reco::BaseTau::isolationTracks method, to access the internal storage of the isolation t...
Analysis-level lepton class.
Definition: Lepton.h:29
void setIsolationChargedHadrCands(const reco::CandidatePtrVector &ptrs)
Definition: Tau.h:263
float ecalEnergyLeadChargedHadrCand() const
Definition: Tau.h:306
Tau correctedTauJet(const std::string &level, const std::string &set="") const
float jecFactor(const std::string &level, const std::string &set="") const
reco::CandidatePtrVector isolationNeutralHadrCandPtrs_
Definition: Tau.h:488
Jets made from MC generator particles.
Definition: GenJet.h:23
bool embeddedSignalTracks_
Definition: Tau.h:425
const reco::VertexRef & secondaryVertex() const
Definition: Tau.h:287
void setSignalChargedHadrCands(const reco::CandidatePtrVector &ptrs)
setters for the PtrVectors (for miniAOD)
Definition: Tau.h:260
bool embeddedLeadPFCand_
Definition: Tau.h:430
bool hasSecondaryVertex() const
Definition: Tau.h:283
reco::JetBaseRef pfJetRef_
Definition: TauPFSpecific.h:28
reco::CandidatePtrVector signalNeutrHadrCands() const
float phiAtEcalEntrance() const
return phiAtEcalEntrance
Definition: Tau.h:310
const reco::CandidatePtr leadChargedHadrCand() const
std::vector< pat::tau::TauPFEssential > pfEssential_
Definition: Tau.h:493
void embedIsolationPFNeutralHadrCands()
method to store the isolation neutral hadrons candidates internally
const std::vector< reco::RecoTauPiZero > & signalPiZeroCandidates() const
void embedLeadPFChargedHadrCand()
method to store the leading charged hadron candidate internally
~Tau() override
destructor
std::string currentJECLevel() const
return the name of the current step of jet energy corrections
Definition: Tau.h:375
const reco::PFCandidatePtr leadPFCand() const
Analysis-level tau class.
Definition: Tau.h:53
const pat::tau::TauPFEssential::CovMatrix & secondaryVertexCov() const
Definition: Tau.h:289
bool embeddedLeadPFChargedHadrCand_
Definition: Tau.h:432
void embedIsolationPFChargedHadrCands()
method to store the isolation charged hadrons candidates internally
bool embeddedSignalPFNeutralHadrCands_
Definition: Tau.h:443
std::vector< reco::PFCandidate > isolationPFCands_
Definition: Tau.h:448
std::vector< reco::Track > isolationTracks_
Definition: Tau.h:421
void setGenJet(const reco::GenJetRef &ref)
set the matched GenJet
float ptLeadChargedCand() const
return pt from LeadChargedCand
Definition: Tau.h:316
bool isTauIDAvailable(const std::string &name) const
Returns true if a specific ID is available in this pat::Tau.
const std::vector< reco::PFCandidatePtr > & signalPFChargedHadrCands() const
float isolationPFChargedHadrCandsPtSum_
Definition: TauPFSpecific.h:45
void embedLeadPFNeutralCand()
method to store the leading neutral candidate internally
const pat::tau::TauPFEssential::Point & dxy_PCA() const
Definition: Tau.h:276
float emFraction() const
Definition: Tau.h:190
void setSignalGammaCands(const reco::CandidatePtrVector &ptrs)
Definition: Tau.h:262
float ecalStripSumEOverPLead() const
Definition: Tau.h:202
const std::vector< reco::PFCandidatePtr > & signalPFNeutrHadrCands() const
const std::vector< reco::PFCandidatePtr > & isolationPFGammaCands() const
reco::CandidatePtrVector signalGammaCandPtrs_
Definition: Tau.h:485
int decayMode() const
reconstructed tau decay mode (specific to PFTau)
Definition: Tau.h:328
float bremsRecoveryEOverPLead() const
Definition: Tau.h:205
std::vector< pat::TauJetCorrFactors > jec_
Definition: Tau.h:475
float etaphiMoment() const
edm::AtomicPtrCache< std::vector< reco::PFCandidatePtr > > isolationPFNeutralHadrCandsTransientPtrs_
Definition: Tau.h:456
std::vector< reco::PFCandidate > signalPFGammaCands_
Definition: Tau.h:445
float leadPFChargedHadrCandsignedSipt() const
Definition: Tau.h:136
std::vector< reco::Track > leadTrack_
Definition: Tau.h:424
std::vector< reco::PFCandidate > isolationPFChargedHadrCands_
Definition: Tau.h:451
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
size_t numberOfSourceCandidatePtrs() const override
bool jecSetsAvailable() const
Definition: Tau.h:363
float emFraction_MVA() const
return emFraction_MVA
Definition: Tau.h:318
void initializeJEC(unsigned int level, const unsigned int set=0)
initialize the jet to a given JEC level during creation starting from Uncorrected ...
const pat::tau::TauPFSpecific & pfSpecific() const
return PFTau info or throw exception &#39;not PFTau&#39;
void embedSignalPFNeutralHadrCands()
method to store the signal neutral hadrons candidates internally
reco::CandidatePtrVector signalNeutralHadrCandPtrs_
Definition: Tau.h:484
const reco::GenJet * genJet() const
return matched GenJet, built from the visible particles of a generated tau
float flightLengthSig() const
Definition: Tau.h:285
void addJECFactors(const TauJetCorrFactors &jec)
add more sets of energy correction factors
Definition: Tau.h:412
bool embeddedSignalPFCands_
Definition: Tau.h:437
const reco::TrackRefVector & signalTracks() const override
override the reco::BaseTau::signalTracks method, to access the internal storage of the signal tracks ...
float dxy_Sig() const
float tauID(const char *name) const
Definition: Tau.h:339
float leadingTrackNormChi2() const
return normalized chi2 of leading track
Definition: Tau.h:301
float segComp() const
Definition: Tau.h:220
void embedSignalTracks()
method to store the signal tracks internally
reco::CandidatePtrVector isolationGammaCands() const
bool isPFTau() const
Returns true if this pat::Tau was made from a reco::PFTau.
Definition: Tau.h:121
const std::vector< std::string > availableJECLevels(const int &set=0) const
bool embeddedIsolationTracks_
Definition: Tau.h:420
reco::CandidatePtrVector signalChargedHadrCands() const
tuple level
Definition: testEve_cfg.py:47
void embedSignalPFGammaCands()
method to store the signal gamma candidates internally
const std::vector< reco::RecoTauPiZero > & isolationPiZeroCandidates() const
float etaAtEcalEntrance() const
return etaAtEcalEntrance
Definition: Tau.h:312
float etaAtEcalEntranceLeadChargedCand() const
return etaAtEcalEntrance from LeadChargedCand
Definition: Tau.h:314
edm::AtomicPtrCache< std::vector< reco::PFCandidatePtr > > isolationPFCandsTransientPtrs_
Definition: Tau.h:450
bool ExistIsolationCands() const
reco::TrackRef leadTrack() const override
override the reco::BaseTau::leadTrack method, to access the internal storage of the leading track ...
std::vector< reco::PFCandidate > leadPFChargedHadrCand_
Definition: Tau.h:431
std::string currentJECSet() const
returns the label of the current set of jet energy corrections
Definition: Tau.h:371
bool ExistSignalCands() const
const std::vector< reco::PFCandidatePtr > & signalPFGammaCands() const
reco::CandidatePtrVector isolationCands() const
void embedIsolationTracks()
method to store the isolation tracks internally
reco::Candidate::LorentzVector p4Jet() const
std::vector< pat::tau::TauPFSpecific > pfSpecific_
holder for PFTau info, or empty vector if CaloTau
Definition: Tau.h:469
const std::vector< reco::PFCandidatePtr > & isolationPFNeutrHadrCands() const
float electronPreIDOutput() const
Definition: Tau.h:211
reco::CandidatePtrVector signalChargedHadrCandPtrs_
Definition: Tau.h:483
unsigned int currentJECSet_
Definition: Tau.h:478
bool electronPreIDDecision() const
Definition: Tau.h:214
void setSignalNeutralHadrCands(const reco::CandidatePtrVector &ptrs)
Definition: Tau.h:261
bool muonDecision() const
Definition: Tau.h:223
Produces pat::Tau&#39;s.
const pat::tau::TauPFEssential::Point & primaryVertexPos() const
Definition: Tau.h:281
void embedLeadPFCand()
float dxy_error() const
Definition: Tau.h:278
math::ErrorF< 3 >::type CovMatrix
const reco::PFCandidatePtr leadPFNeutralCand() const