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.

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 }

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

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.

pat::tau::TauPFSpecific::selectedSignalPFGammaCands_
std::vector< reco::PFCandidatePtr > selectedSignalPFGammaCands_
Definition: TauPFSpecific.h:36
pat::tau::TauPFSpecific::ecalStripSumEOverPLead_
float ecalStripSumEOverPLead_
Definition: TauPFSpecific.h:53
pat::tau::TauPFSpecific::isolationPFGammaCandsEtSum_
float isolationPFGammaCandsEtSum_
Definition: TauPFSpecific.h:46
pat::tau::TauPFSpecific::maximumHCALPFClusterEt_
float maximumHCALPFClusterEt_
Definition: TauPFSpecific.h:47
pat::tau::TauPFSpecific::signalPiZeroCandidates_
std::vector< reco::RecoTauPiZero > signalPiZeroCandidates_
Definition: TauPFSpecific.h:38
pat::tau::TauPFSpecific::isolationPFChargedHadrCandsPtSum_
float isolationPFChargedHadrCandsPtSum_
Definition: TauPFSpecific.h:45
metsig::tau
Definition: SignAlgoResolutions.h:49
pat::tau::TauPFSpecific::hcalTotOverPLead_
float hcalTotOverPLead_
Definition: TauPFSpecific.h:50
pat::tau::TauPFSpecific::selectedSignalPFNeutrHadrCands_
std::vector< reco::PFCandidatePtr > selectedSignalPFNeutrHadrCands_
Definition: TauPFSpecific.h:35
pat::tau::TauPFSpecific::selectedSignalPFChargedHadrCands_
std::vector< reco::PFCandidatePtr > selectedSignalPFChargedHadrCands_
Definition: TauPFSpecific.h:34
pat::tau::TauPFSpecific::selectedIsolationPFGammaCands_
std::vector< reco::PFCandidatePtr > selectedIsolationPFGammaCands_
Definition: TauPFSpecific.h:42
pat::tau::TauPFSpecific::pfJetRef_
reco::JetBaseRef pfJetRef_
Definition: TauPFSpecific.h:28
pat::tau::TauPFSpecific::leadPFNeutralCand_
reco::PFCandidatePtr leadPFNeutralCand_
Definition: TauPFSpecific.h:31
pat::tau::TauPFSpecific::leadPFChargedHadrCand_
reco::CandidatePtr leadPFChargedHadrCand_
Definition: TauPFSpecific.h:29
pat::tau::TauPFSpecific::signalConeSize_
float signalConeSize_
Definition: TauPFSpecific.h:68
pat::tau::TauPFSpecific::etaetaMoment_
float etaetaMoment_
Definition: TauPFSpecific.h:63
pat::tau::TauPFSpecific::selectedIsolationPFCands_
std::vector< reco::PFCandidatePtr > selectedIsolationPFCands_
Definition: TauPFSpecific.h:39
pat::tau::TauPFSpecific::segComp_
float segComp_
Definition: TauPFSpecific.h:60
pat::tau::TauPFSpecific::electronPreIDDecision_
bool electronPreIDDecision_
Definition: TauPFSpecific.h:57
reco::Jet::EtaPhiMoments
record to store eta-phi first and second moments
Definition: Jet.h:26
reco::Jet::EtaPhiMoments::etaEtaMoment
float etaEtaMoment
Definition: Jet.h:30
pat::tau::TauPFSpecific::bendCorrMass_
float bendCorrMass_
Definition: TauPFSpecific.h:67
pat::tau::TauPFSpecific::phiphiMoment_
float phiphiMoment_
Definition: TauPFSpecific.h:64
pat::tau::TauPFSpecific::etaphiMoment_
float etaphiMoment_
Definition: TauPFSpecific.h:65
pat::tau::TauPFSpecific::electronPreIDOutput_
float electronPreIDOutput_
Definition: TauPFSpecific.h:56
pat::tau::TauPFSpecific::hcalMaxOverPLead_
float hcalMaxOverPLead_
Definition: TauPFSpecific.h:51
pat::tau::TauPFSpecific::bremsRecoveryEOverPLead_
float bremsRecoveryEOverPLead_
Definition: TauPFSpecific.h:54
pat::tau::TauPFSpecific::leadPFChargedHadrCandsignedSipt_
float leadPFChargedHadrCandsignedSipt_
Definition: TauPFSpecific.h:30
pat::tau::TauPFSpecific::muonDecision_
bool muonDecision_
Definition: TauPFSpecific.h:61
pat::tau::TauPFSpecific::selectedIsolationPFChargedHadrCands_
std::vector< reco::PFCandidatePtr > selectedIsolationPFChargedHadrCands_
Definition: TauPFSpecific.h:40
pat::tau::TauPFSpecific::hcal3x3OverPLead_
float hcal3x3OverPLead_
Definition: TauPFSpecific.h:52
reco::Jet::EtaPhiMoments::etaPhiMoment
float etaPhiMoment
Definition: Jet.h:32
pat::tau::TauPFSpecific::leadPFCand_
reco::PFCandidatePtr leadPFCand_
Definition: TauPFSpecific.h:32
pat::tau::TauPFSpecific::electronPreIDTrack_
reco::TrackRef electronPreIDTrack_
Definition: TauPFSpecific.h:55
reco::Jet::EtaPhiMoments::phiPhiMoment
float phiPhiMoment
Definition: Jet.h:31
pat::tau::TauPFSpecific::emFraction_
float emFraction_
Definition: TauPFSpecific.h:49
pat::tau::TauPFSpecific::selectedIsolationPFNeutrHadrCands_
std::vector< reco::PFCandidatePtr > selectedIsolationPFNeutrHadrCands_
Definition: TauPFSpecific.h:41
pat::tau::TauPFSpecific::isolationTauChargedHadronCandidates_
std::vector< reco::PFRecoTauChargedHadron > isolationTauChargedHadronCandidates_
Definition: TauPFSpecific.h:43
pat::tau::TauPFSpecific::signalTauChargedHadronCandidates_
std::vector< reco::PFRecoTauChargedHadron > signalTauChargedHadronCandidates_
Definition: TauPFSpecific.h:37
pat::tau::TauPFSpecific::isolationPiZeroCandidates_
std::vector< reco::RecoTauPiZero > isolationPiZeroCandidates_
Definition: TauPFSpecific.h:44
pat::tau::TauPFSpecific::caloComp_
float caloComp_
Definition: TauPFSpecific.h:59
pat::tau::TauPFSpecific::selectedSignalPFCands_
std::vector< reco::PFCandidatePtr > selectedSignalPFCands_
Definition: TauPFSpecific.h:33