CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
pat::tau::TauPFSpecific Struct Reference

#include <TauPFSpecific.h>

Public Member Functions

 TauPFSpecific ()
 
 TauPFSpecific (const reco::PFTau &tau)
 

Public Attributes

float bendCorrMass_
 
float bremsRecoveryEOverPLead_
 
float caloComp_
 
float ecalStripSumEOverPLead_
 
bool electronPreIDDecision_
 
float electronPreIDOutput_
 
reco::TrackRef electronPreIDTrack_
 
float emFraction_
 
float etaetaMoment_
 
float etaphiMoment_
 
float hcal3x3OverPLead_
 
float hcalMaxOverPLead_
 
float hcalTotOverPLead_
 
float isolationPFChargedHadrCandsPtSum_
 
float isolationPFGammaCandsEtSum_
 
std::vector< reco::RecoTauPiZeroisolationPiZeroCandidates_
 
std::vector< reco::PFRecoTauChargedHadronisolationTauChargedHadronCandidates_
 
reco::PFCandidatePtr leadPFCand_
 
reco::CandidatePtr leadPFChargedHadrCand_
 
float leadPFChargedHadrCandsignedSipt_
 
reco::PFCandidatePtr leadPFNeutralCand_
 
float maximumHCALPFClusterEt_
 
bool muonDecision_
 
reco::JetBaseRef pfJetRef_
 
float phiphiMoment_
 
float segComp_
 
std::vector< reco::PFCandidatePtrselectedIsolationPFCands_
 
std::vector< reco::PFCandidatePtrselectedIsolationPFChargedHadrCands_
 
std::vector< reco::PFCandidatePtrselectedIsolationPFGammaCands_
 
std::vector< reco::PFCandidatePtrselectedIsolationPFNeutrHadrCands_
 
std::vector< reco::PFCandidatePtrselectedSignalPFCands_
 
std::vector< reco::PFCandidatePtrselectedSignalPFChargedHadrCands_
 
std::vector< reco::PFCandidatePtrselectedSignalPFGammaCands_
 
std::vector< reco::PFCandidatePtrselectedSignalPFNeutrHadrCands_
 
float signalConeSize_
 
std::vector< reco::RecoTauPiZerosignalPiZeroCandidates_
 
std::vector< reco::PFRecoTauChargedHadronsignalTauChargedHadronCandidates_
 

Detailed Description

Definition at line 22 of file TauPFSpecific.h.

Constructor & Destructor Documentation

◆ TauPFSpecific() [1/2]

pat::tau::TauPFSpecific::TauPFSpecific ( )
inline

Definition at line 24 of file TauPFSpecific.h.

24 {}

◆ TauPFSpecific() [2/2]

pat::tau::TauPFSpecific::TauPFSpecific ( const reco::PFTau tau)

Definition at line 5 of file TauPFSpecific.cc.

References reco::Jet::EtaPhiMoments::etaEtaMoment, etaetaMoment_, reco::Jet::EtaPhiMoments::etaPhiMoment, etaphiMoment_, reco::Jet::EtaPhiMoments::phiPhiMoment, and phiphiMoment_.

6  : // reference to PFJet from which PFTau was made
7  pfJetRef_(tau.jetRef()),
8  // Leading track/charged candidate
9  leadPFChargedHadrCand_(tau.leadPFChargedHadrCand()),
10  leadPFChargedHadrCandsignedSipt_(tau.leadPFChargedHadrCandsignedSipt()),
11  // Leading neutral candidate
12  leadPFNeutralCand_(tau.leadPFNeutralCand()),
13  // Leading charged or neutral candidate
14  leadPFCand_(tau.leadPFCand()),
15  // Signal cone
16  selectedSignalPFCands_(tau.signalPFCands()),
17  selectedSignalPFChargedHadrCands_(tau.signalPFChargedHadrCands()),
18  selectedSignalPFNeutrHadrCands_(tau.signalPFNeutrHadrCands()),
19  selectedSignalPFGammaCands_(tau.signalPFGammaCands()),
20  signalTauChargedHadronCandidates_(tau.signalTauChargedHadronCandidates()),
21  signalPiZeroCandidates_(tau.signalPiZeroCandidates()),
22  // Isolation cone
23  selectedIsolationPFCands_(tau.isolationPFCands()),
24  selectedIsolationPFChargedHadrCands_(tau.isolationPFChargedHadrCands()),
25  selectedIsolationPFNeutrHadrCands_(tau.isolationPFNeutrHadrCands()),
26  selectedIsolationPFGammaCands_(tau.isolationPFGammaCands()),
27  isolationTauChargedHadronCandidates_(tau.isolationTauChargedHadronCandidates()),
28  isolationPiZeroCandidates_(tau.isolationPiZeroCandidates()),
29  isolationPFChargedHadrCandsPtSum_(tau.isolationPFChargedHadrCandsPtSum()),
30  isolationPFGammaCandsEtSum_(tau.isolationPFGammaCandsEtSum()),
31  // Other useful variables
32  maximumHCALPFClusterEt_(tau.maximumHCALPFClusterEt()),
33  emFraction_(tau.emFraction()),
34  hcalTotOverPLead_(tau.hcalTotOverPLead()),
35  hcalMaxOverPLead_(tau.hcalMaxOverPLead()),
36  hcal3x3OverPLead_(tau.hcal3x3OverPLead()),
37  ecalStripSumEOverPLead_(tau.ecalStripSumEOverPLead()),
38  bremsRecoveryEOverPLead_(tau.bremsRecoveryEOverPLead()),
39  // Electron rejection variables
40  electronPreIDTrack_(tau.electronPreIDTrack()),
41  electronPreIDOutput_(tau.electronPreIDOutput()),
42  electronPreIDDecision_(tau.electronPreIDDecision()),
43  // Muon rejection variables
44  caloComp_(tau.caloComp()),
45  segComp_(tau.segComp()),
46  muonDecision_(tau.muonDecision()),
47  // Variables specific to dynamic strip reconstruction
48  bendCorrMass_(tau.bendCorrMass()),
49  signalConeSize_(tau.signalConeSize()) {
50  if (tau.jetRef().isAvailable() &&
51  tau.jetRef().isNonnull()) { // CV: add protection to ease transition to new CMSSW 4_2_x RecoTauTags
52  reco::Jet::EtaPhiMoments etaPhiStatistics = tau.jetRef()->etaPhiStatistics();
53  etaetaMoment_ = etaPhiStatistics.etaEtaMoment;
54  phiphiMoment_ = etaPhiStatistics.phiPhiMoment;
55  etaphiMoment_ = etaPhiStatistics.etaPhiMoment;
56  }
57 }
std::vector< reco::PFCandidatePtr > selectedIsolationPFChargedHadrCands_
Definition: TauPFSpecific.h:40
reco::TrackRef electronPreIDTrack_
Definition: TauPFSpecific.h:55
reco::PFCandidatePtr leadPFCand_
Definition: TauPFSpecific.h:32
float leadPFChargedHadrCandsignedSipt_
Definition: TauPFSpecific.h:30
std::vector< reco::PFCandidatePtr > selectedIsolationPFNeutrHadrCands_
Definition: TauPFSpecific.h:41
std::vector< reco::PFRecoTauChargedHadron > isolationTauChargedHadronCandidates_
Definition: TauPFSpecific.h:43
std::vector< reco::PFRecoTauChargedHadron > signalTauChargedHadronCandidates_
Definition: TauPFSpecific.h:37
std::vector< reco::RecoTauPiZero > isolationPiZeroCandidates_
Definition: TauPFSpecific.h:44
record to store eta-phi first and second moments
Definition: Jet.h:26
std::vector< reco::RecoTauPiZero > signalPiZeroCandidates_
Definition: TauPFSpecific.h:38
reco::JetBaseRef pfJetRef_
Definition: TauPFSpecific.h:28
std::vector< reco::PFCandidatePtr > selectedSignalPFChargedHadrCands_
Definition: TauPFSpecific.h:34
std::vector< reco::PFCandidatePtr > selectedSignalPFCands_
Definition: TauPFSpecific.h:33
reco::CandidatePtr leadPFChargedHadrCand_
Definition: TauPFSpecific.h:29
float isolationPFChargedHadrCandsPtSum_
Definition: TauPFSpecific.h:45
std::vector< reco::PFCandidatePtr > selectedIsolationPFGammaCands_
Definition: TauPFSpecific.h:42
std::vector< reco::PFCandidatePtr > selectedIsolationPFCands_
Definition: TauPFSpecific.h:39
reco::PFCandidatePtr leadPFNeutralCand_
Definition: TauPFSpecific.h:31
std::vector< reco::PFCandidatePtr > selectedSignalPFGammaCands_
Definition: TauPFSpecific.h:36
std::vector< reco::PFCandidatePtr > selectedSignalPFNeutrHadrCands_
Definition: TauPFSpecific.h:35

Member Data Documentation

◆ bendCorrMass_

float pat::tau::TauPFSpecific::bendCorrMass_

Definition at line 67 of file TauPFSpecific.h.

◆ bremsRecoveryEOverPLead_

float pat::tau::TauPFSpecific::bremsRecoveryEOverPLead_

Definition at line 54 of file TauPFSpecific.h.

Referenced by pat::Tau::bremsRecoveryEOverPLead().

◆ caloComp_

float pat::tau::TauPFSpecific::caloComp_

Definition at line 59 of file TauPFSpecific.h.

Referenced by pat::Tau::caloComp().

◆ ecalStripSumEOverPLead_

float pat::tau::TauPFSpecific::ecalStripSumEOverPLead_

Definition at line 53 of file TauPFSpecific.h.

Referenced by pat::Tau::ecalStripSumEOverPLead().

◆ electronPreIDDecision_

bool pat::tau::TauPFSpecific::electronPreIDDecision_

Definition at line 57 of file TauPFSpecific.h.

Referenced by pat::Tau::electronPreIDDecision().

◆ electronPreIDOutput_

float pat::tau::TauPFSpecific::electronPreIDOutput_

Definition at line 56 of file TauPFSpecific.h.

Referenced by pat::Tau::electronPreIDOutput().

◆ electronPreIDTrack_

reco::TrackRef pat::tau::TauPFSpecific::electronPreIDTrack_

Definition at line 55 of file TauPFSpecific.h.

Referenced by pat::Tau::electronPreIDTrack().

◆ emFraction_

float pat::tau::TauPFSpecific::emFraction_

Definition at line 49 of file TauPFSpecific.h.

Referenced by pat::Tau::emFraction().

◆ etaetaMoment_

float pat::tau::TauPFSpecific::etaetaMoment_

Definition at line 63 of file TauPFSpecific.h.

Referenced by TauPFSpecific().

◆ etaphiMoment_

float pat::tau::TauPFSpecific::etaphiMoment_

Definition at line 65 of file TauPFSpecific.h.

Referenced by TauPFSpecific().

◆ hcal3x3OverPLead_

float pat::tau::TauPFSpecific::hcal3x3OverPLead_

Definition at line 52 of file TauPFSpecific.h.

Referenced by pat::Tau::hcal3x3OverPLead().

◆ hcalMaxOverPLead_

float pat::tau::TauPFSpecific::hcalMaxOverPLead_

Definition at line 51 of file TauPFSpecific.h.

Referenced by pat::Tau::hcalMaxOverPLead().

◆ hcalTotOverPLead_

float pat::tau::TauPFSpecific::hcalTotOverPLead_

Definition at line 50 of file TauPFSpecific.h.

Referenced by pat::Tau::hcalTotOverPLead().

◆ isolationPFChargedHadrCandsPtSum_

float pat::tau::TauPFSpecific::isolationPFChargedHadrCandsPtSum_

Definition at line 45 of file TauPFSpecific.h.

Referenced by pat::Tau::isolationPFChargedHadrCandsPtSum().

◆ isolationPFGammaCandsEtSum_

float pat::tau::TauPFSpecific::isolationPFGammaCandsEtSum_

Definition at line 46 of file TauPFSpecific.h.

Referenced by pat::Tau::isolationPFGammaCandsEtSum().

◆ isolationPiZeroCandidates_

std::vector<reco::RecoTauPiZero> pat::tau::TauPFSpecific::isolationPiZeroCandidates_

Definition at line 44 of file TauPFSpecific.h.

◆ isolationTauChargedHadronCandidates_

std::vector<reco::PFRecoTauChargedHadron> pat::tau::TauPFSpecific::isolationTauChargedHadronCandidates_

Definition at line 43 of file TauPFSpecific.h.

◆ leadPFCand_

reco::PFCandidatePtr pat::tau::TauPFSpecific::leadPFCand_

Definition at line 32 of file TauPFSpecific.h.

◆ leadPFChargedHadrCand_

reco::CandidatePtr pat::tau::TauPFSpecific::leadPFChargedHadrCand_

Definition at line 29 of file TauPFSpecific.h.

◆ leadPFChargedHadrCandsignedSipt_

float pat::tau::TauPFSpecific::leadPFChargedHadrCandsignedSipt_

Definition at line 30 of file TauPFSpecific.h.

Referenced by pat::Tau::leadPFChargedHadrCandsignedSipt().

◆ leadPFNeutralCand_

reco::PFCandidatePtr pat::tau::TauPFSpecific::leadPFNeutralCand_

Definition at line 31 of file TauPFSpecific.h.

◆ maximumHCALPFClusterEt_

float pat::tau::TauPFSpecific::maximumHCALPFClusterEt_

Definition at line 47 of file TauPFSpecific.h.

Referenced by pat::Tau::maximumHCALPFClusterEt().

◆ muonDecision_

bool pat::tau::TauPFSpecific::muonDecision_

Definition at line 61 of file TauPFSpecific.h.

Referenced by pat::Tau::muonDecision().

◆ pfJetRef_

reco::JetBaseRef pat::tau::TauPFSpecific::pfJetRef_

Definition at line 28 of file TauPFSpecific.h.

Referenced by pat::Tau::pfJetRef().

◆ phiphiMoment_

float pat::tau::TauPFSpecific::phiphiMoment_

Definition at line 64 of file TauPFSpecific.h.

Referenced by TauPFSpecific().

◆ segComp_

float pat::tau::TauPFSpecific::segComp_

Definition at line 60 of file TauPFSpecific.h.

Referenced by pat::Tau::segComp().

◆ selectedIsolationPFCands_

std::vector<reco::PFCandidatePtr> pat::tau::TauPFSpecific::selectedIsolationPFCands_

Definition at line 39 of file TauPFSpecific.h.

◆ selectedIsolationPFChargedHadrCands_

std::vector<reco::PFCandidatePtr> pat::tau::TauPFSpecific::selectedIsolationPFChargedHadrCands_

Definition at line 40 of file TauPFSpecific.h.

◆ selectedIsolationPFGammaCands_

std::vector<reco::PFCandidatePtr> pat::tau::TauPFSpecific::selectedIsolationPFGammaCands_

Definition at line 42 of file TauPFSpecific.h.

◆ selectedIsolationPFNeutrHadrCands_

std::vector<reco::PFCandidatePtr> pat::tau::TauPFSpecific::selectedIsolationPFNeutrHadrCands_

Definition at line 41 of file TauPFSpecific.h.

◆ selectedSignalPFCands_

std::vector<reco::PFCandidatePtr> pat::tau::TauPFSpecific::selectedSignalPFCands_

Definition at line 33 of file TauPFSpecific.h.

◆ selectedSignalPFChargedHadrCands_

std::vector<reco::PFCandidatePtr> pat::tau::TauPFSpecific::selectedSignalPFChargedHadrCands_

Definition at line 34 of file TauPFSpecific.h.

◆ selectedSignalPFGammaCands_

std::vector<reco::PFCandidatePtr> pat::tau::TauPFSpecific::selectedSignalPFGammaCands_

Definition at line 36 of file TauPFSpecific.h.

◆ selectedSignalPFNeutrHadrCands_

std::vector<reco::PFCandidatePtr> pat::tau::TauPFSpecific::selectedSignalPFNeutrHadrCands_

Definition at line 35 of file TauPFSpecific.h.

◆ signalConeSize_

float pat::tau::TauPFSpecific::signalConeSize_

Definition at line 68 of file TauPFSpecific.h.

◆ signalPiZeroCandidates_

std::vector<reco::RecoTauPiZero> pat::tau::TauPFSpecific::signalPiZeroCandidates_

Definition at line 38 of file TauPFSpecific.h.

◆ signalTauChargedHadronCandidates_

std::vector<reco::PFRecoTauChargedHadron> pat::tau::TauPFSpecific::signalTauChargedHadronCandidates_

Definition at line 37 of file TauPFSpecific.h.