CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 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::PFRecoTauChargedHadron
isolationTauChargedHadronCandidates_
 
reco::PFCandidatePtr leadPFCand_
 
reco::PFCandidatePtr leadPFChargedHadrCand_
 
float leadPFChargedHadrCandsignedSipt_
 
reco::PFCandidatePtr leadPFNeutralCand_
 
float maximumHCALPFClusterEt_
 
bool muonDecision_
 
reco::PFJetRef 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_
 
std::vector< reco::RecoTauPiZerosignalPiZeroCandidates_
 
std::vector
< reco::PFRecoTauChargedHadron
signalTauChargedHadronCandidates_
 

Detailed Description

Definition at line 21 of file TauPFSpecific.h.

Constructor & Destructor Documentation

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

Definition at line 23 of file TauPFSpecific.h.

23 {}
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_, edm::Ref< C, T, F >::isAvailable(), edm::Ref< C, T, F >::isNonnull(), reco::PFTau::jetRef(), reco::Jet::EtaPhiMoments::phiPhiMoment, and phiphiMoment_.

5  :
6  // reference to PFJet from which PFTau was made
7  pfJetRef_(tau.jetRef()),
8  // Leading track/charged candidate
11  // Leading neutral candidate
13  // Leading charged or neutral candidate
14  leadPFCand_(tau.leadPFCand()),
15  // Signal cone
22  // Isolation cone
31  // Other useful variables
33  emFraction_(tau.emFraction()),
39  // Electron rejection variables
43  // Muon rejection variables
44  caloComp_(tau.caloComp()),
45  segComp_(tau.segComp()),
47 {
48  if ( tau.jetRef().isAvailable() && tau.jetRef().isNonnull() ) { // CV: add protection to ease transition to new CMSSW 4_2_x RecoTauTags
49  reco::Jet::EtaPhiMoments etaPhiStatistics = tau.jetRef()->etaPhiStatistics();
50  etaetaMoment_ = etaPhiStatistics.etaEtaMoment;
51  phiphiMoment_ = etaPhiStatistics.phiPhiMoment;
52  etaphiMoment_ = etaPhiStatistics.etaPhiMoment;
53  }
54 }
bool isAvailable() const
Definition: Ref.h:576
float maximumHCALPFClusterEt() const
Et of the highest Et HCAL PFCluster.
Definition: PFTau.cc:193
float isolationPFGammaCandsEtSum() const
Definition: PFTau.cc:190
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:252
const PFJetRef & jetRef() const
Definition: PFTau.cc:58
const std::vector< reco::PFCandidatePtr > & isolationPFCands() const
PFCandidates in isolation region.
Definition: PFTau.cc:87
float isolationPFChargedHadrCandsPtSum() const
Definition: PFTau.cc:187
const PFCandidatePtr & leadPFChargedHadrCand() const
Definition: PFTau.cc:67
std::vector< reco::PFCandidatePtr > selectedIsolationPFChargedHadrCands_
Definition: TauPFSpecific.h:39
reco::TrackRef electronPreIDTrack_
Definition: TauPFSpecific.h:54
float segComp() const
Definition: PFTau.cc:229
reco::PFCandidatePtr leadPFCand_
Definition: TauPFSpecific.h:31
float hcalTotOverPLead() const
Definition: PFTau.cc:198
bool electronPreIDDecision() const
Definition: PFTau.cc:205
const std::vector< reco::PFCandidatePtr > & signalPFGammaCands() const
Gamma candidates in signal region.
Definition: PFTau.cc:84
float hcal3x3OverPLead() const
Definition: PFTau.cc:200
reco::PFCandidatePtr leadPFChargedHadrCand_
Definition: TauPFSpecific.h:28
float emFraction() const
Definition: PFTau.cc:197
float leadPFChargedHadrCandsignedSipt_
Definition: TauPFSpecific.h:29
const std::vector< reco::PFCandidatePtr > & signalPFCands() const
PFCandidates in signal region.
Definition: PFTau.cc:78
std::vector< reco::PFCandidatePtr > selectedIsolationPFNeutrHadrCands_
Definition: TauPFSpecific.h:40
const std::vector< reco::PFCandidatePtr > & isolationPFGammaCands() const
Gamma candidates in isolation region.
Definition: PFTau.cc:93
std::vector< reco::PFRecoTauChargedHadron > isolationTauChargedHadronCandidates_
Definition: TauPFSpecific.h:42
bool muonDecision() const
Definition: PFTau.cc:230
std::vector< reco::PFRecoTauChargedHadron > signalTauChargedHadronCandidates_
Definition: TauPFSpecific.h:36
std::vector< reco::RecoTauPiZero > isolationPiZeroCandidates_
Definition: TauPFSpecific.h:43
record to store eta-phi first and second moments
Definition: Jet.h:26
std::vector< reco::RecoTauPiZero > signalPiZeroCandidates_
Definition: TauPFSpecific.h:37
float caloComp() const
Definition: PFTau.cc:228
const std::vector< RecoTauPiZero > & signalPiZeroCandidates() const
Retrieve the association of signal region gamma candidates into candidate PiZeros.
Definition: PFTau.cc:97
std::vector< reco::PFCandidatePtr > selectedSignalPFChargedHadrCands_
Definition: TauPFSpecific.h:33
const std::vector< reco::PFCandidatePtr > & isolationPFNeutrHadrCands() const
Definition: PFTau.cc:91
std::vector< reco::PFCandidatePtr > selectedSignalPFCands_
Definition: TauPFSpecific.h:32
const std::vector< reco::PFCandidatePtr > & isolationPFChargedHadrCands() const
Charged candidates in isolation region.
Definition: PFTau.cc:89
float leadPFChargedHadrCandsignedSipt() const
Definition: PFTau.cc:75
const std::vector< RecoTauPiZero > & isolationPiZeroCandidates() const
Retrieve the association of isolation region gamma candidates into candidate PiZeros.
Definition: PFTau.cc:120
const PFCandidatePtr & leadPFNeutralCand() const
Definition: PFTau.cc:68
float isolationPFChargedHadrCandsPtSum_
Definition: TauPFSpecific.h:44
std::vector< reco::PFCandidatePtr > selectedIsolationPFGammaCands_
Definition: TauPFSpecific.h:41
std::vector< reco::PFCandidatePtr > selectedIsolationPFCands_
Definition: TauPFSpecific.h:38
reco::PFCandidatePtr leadPFNeutralCand_
Definition: TauPFSpecific.h:30
std::vector< reco::PFCandidatePtr > selectedSignalPFGammaCands_
Definition: TauPFSpecific.h:35
const PFCandidatePtr & leadPFCand() const
Definition: PFTau.cc:69
reco::PFJetRef pfJetRef_
Definition: TauPFSpecific.h:27
float bremsRecoveryEOverPLead() const
Definition: PFTau.cc:202
std::vector< reco::PFCandidatePtr > selectedSignalPFNeutrHadrCands_
Definition: TauPFSpecific.h:34
const std::vector< reco::PFCandidatePtr > & signalPFNeutrHadrCands() const
Neutral hadrons in signal region.
Definition: PFTau.cc:82
const std::vector< PFRecoTauChargedHadron > & signalTauChargedHadronCandidates() const
Retrieve the association of signal region PF candidates into candidate PFRecoTauChargedHadrons.
Definition: PFTau.cc:144
const std::vector< PFRecoTauChargedHadron > & isolationTauChargedHadronCandidates() const
Retrieve the association of isolation region PF candidates into candidate PFRecoTauChargedHadron.
Definition: PFTau.cc:163
float hcalMaxOverPLead() const
Definition: PFTau.cc:199
float electronPreIDOutput() const
Definition: PFTau.cc:204
reco::TrackRef electronPreIDTrack() const
Definition: PFTau.cc:203
const std::vector< reco::PFCandidatePtr > & signalPFChargedHadrCands() const
Charged hadrons in signal region.
Definition: PFTau.cc:80
float ecalStripSumEOverPLead() const
Definition: PFTau.cc:201

Member Data Documentation

float pat::tau::TauPFSpecific::bremsRecoveryEOverPLead_

Definition at line 53 of file TauPFSpecific.h.

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

float pat::tau::TauPFSpecific::caloComp_

Definition at line 58 of file TauPFSpecific.h.

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

float pat::tau::TauPFSpecific::ecalStripSumEOverPLead_

Definition at line 52 of file TauPFSpecific.h.

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

bool pat::tau::TauPFSpecific::electronPreIDDecision_

Definition at line 56 of file TauPFSpecific.h.

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

float pat::tau::TauPFSpecific::electronPreIDOutput_

Definition at line 55 of file TauPFSpecific.h.

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

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

Definition at line 54 of file TauPFSpecific.h.

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

float pat::tau::TauPFSpecific::emFraction_

Definition at line 48 of file TauPFSpecific.h.

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

float pat::tau::TauPFSpecific::etaetaMoment_

Definition at line 62 of file TauPFSpecific.h.

Referenced by TauPFSpecific().

float pat::tau::TauPFSpecific::etaphiMoment_

Definition at line 64 of file TauPFSpecific.h.

Referenced by TauPFSpecific().

float pat::tau::TauPFSpecific::hcal3x3OverPLead_

Definition at line 51 of file TauPFSpecific.h.

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

float pat::tau::TauPFSpecific::hcalMaxOverPLead_

Definition at line 50 of file TauPFSpecific.h.

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

float pat::tau::TauPFSpecific::hcalTotOverPLead_

Definition at line 49 of file TauPFSpecific.h.

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

float pat::tau::TauPFSpecific::isolationPFChargedHadrCandsPtSum_

Definition at line 44 of file TauPFSpecific.h.

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

float pat::tau::TauPFSpecific::isolationPFGammaCandsEtSum_

Definition at line 45 of file TauPFSpecific.h.

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

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

Definition at line 43 of file TauPFSpecific.h.

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

Definition at line 42 of file TauPFSpecific.h.

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

Definition at line 31 of file TauPFSpecific.h.

reco::PFCandidatePtr pat::tau::TauPFSpecific::leadPFChargedHadrCand_

Definition at line 28 of file TauPFSpecific.h.

float pat::tau::TauPFSpecific::leadPFChargedHadrCandsignedSipt_

Definition at line 29 of file TauPFSpecific.h.

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

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

Definition at line 30 of file TauPFSpecific.h.

float pat::tau::TauPFSpecific::maximumHCALPFClusterEt_

Definition at line 46 of file TauPFSpecific.h.

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

bool pat::tau::TauPFSpecific::muonDecision_

Definition at line 60 of file TauPFSpecific.h.

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

reco::PFJetRef pat::tau::TauPFSpecific::pfJetRef_

Definition at line 27 of file TauPFSpecific.h.

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

float pat::tau::TauPFSpecific::phiphiMoment_

Definition at line 63 of file TauPFSpecific.h.

Referenced by TauPFSpecific().

float pat::tau::TauPFSpecific::segComp_

Definition at line 59 of file TauPFSpecific.h.

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

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

Definition at line 38 of file TauPFSpecific.h.

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

Definition at line 39 of file TauPFSpecific.h.

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

Definition at line 41 of file TauPFSpecific.h.

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

Definition at line 40 of file TauPFSpecific.h.

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

Definition at line 32 of file TauPFSpecific.h.

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

Definition at line 33 of file TauPFSpecific.h.

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

Definition at line 35 of file TauPFSpecific.h.

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

Definition at line 34 of file TauPFSpecific.h.

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

Definition at line 37 of file TauPFSpecific.h.

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

Definition at line 36 of file TauPFSpecific.h.