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_
 
int decayMode_
 
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_
 
reco::PFCandidateRef leadPFCand_
 
reco::PFCandidateRef leadPFChargedHadrCand_
 
float leadPFChargedHadrCandsignedSipt_
 
reco::PFCandidateRef leadPFNeutralCand_
 
float maximumHCALPFClusterEt_
 
bool muonDecision_
 
reco::Candidate::LorentzVector p4Jet_
 
reco::PFJetRef pfJetRef_
 
float phiphiMoment_
 
float segComp_
 
reco::PFCandidateRefVector selectedIsolationPFCands_
 
reco::PFCandidateRefVector selectedIsolationPFChargedHadrCands_
 
reco::PFCandidateRefVector selectedIsolationPFGammaCands_
 
reco::PFCandidateRefVector selectedIsolationPFNeutrHadrCands_
 
reco::PFCandidateRefVector selectedSignalPFCands_
 
reco::PFCandidateRefVector selectedSignalPFChargedHadrCands_
 
reco::PFCandidateRefVector selectedSignalPFGammaCands_
 
reco::PFCandidateRefVector selectedSignalPFNeutrHadrCands_
 
std::vector< reco::RecoTauPiZerosignalPiZeroCandidates_
 

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(), p4Jet_, 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
21  // Isolation cone
29  // Other useful variables
31  emFraction_(tau.emFraction()),
37  // Electron rejection variables
41  // Muon rejection variables
42  caloComp_(tau.caloComp()),
43  segComp_(tau.segComp()),
45 {
46  if ( tau.jetRef().isAvailable() && tau.jetRef().isNonnull() ) { // CV: add protection to ease transition to new CMSSW 4_2_x RecoTauTags
47  p4Jet_ = tau.jetRef()->p4();
48  reco::Jet::EtaPhiMoments etaPhiStatistics = tau.jetRef()->etaPhiStatistics();
49  etaetaMoment_ = etaPhiStatistics.etaEtaMoment;
50  phiphiMoment_ = etaPhiStatistics.phiPhiMoment;
51  etaphiMoment_ = etaPhiStatistics.etaPhiMoment;
52  }
53 }
float maximumHCALPFClusterEt() const
Et of the highest Et HCAL PFCluster.
Definition: PFTau.cc:154
reco::Candidate::LorentzVector p4Jet_
Definition: TauPFSpecific.h:60
float isolationPFGammaCandsEtSum() const
Definition: PFTau.cc:151
const PFCandidateRefVector & isolationPFCands() const
PFCandidates in isolation region.
Definition: PFTau.cc:82
const PFJetRef & jetRef() const
Definition: PFTau.cc:50
reco::PFCandidateRefVector selectedIsolationPFChargedHadrCands_
Definition: TauPFSpecific.h:38
float isolationPFChargedHadrCandsPtSum() const
Definition: PFTau.cc:148
reco::PFCandidateRefVector selectedIsolationPFGammaCands_
Definition: TauPFSpecific.h:40
reco::TrackRef electronPreIDTrack_
Definition: TauPFSpecific.h:52
float segComp() const
Definition: PFTau.cc:190
float hcalTotOverPLead() const
Definition: PFTau.cc:159
const PFCandidateRefVector & signalPFNeutrHadrCands() const
Neutral hadrons in signal region.
Definition: PFTau.cc:77
const PFCandidateRef & leadPFNeutralCand() const
Definition: PFTau.cc:63
reco::PFCandidateRefVector selectedSignalPFCands_
Definition: TauPFSpecific.h:32
bool electronPreIDDecision() const
Definition: PFTau.cc:166
float hcal3x3OverPLead() const
Definition: PFTau.cc:161
reco::PFCandidateRef leadPFChargedHadrCand_
Definition: TauPFSpecific.h:28
float emFraction() const
Definition: PFTau.cc:158
const PFCandidateRefVector & signalPFChargedHadrCands() const
Charged hadrons in signal region.
Definition: PFTau.cc:75
float leadPFChargedHadrCandsignedSipt_
Definition: TauPFSpecific.h:29
bool isAvailable() const
Definition: Ref.h:276
const PFCandidateRefVector & signalPFCands() const
PFCandidates in signal region.
Definition: PFTau.cc:73
bool muonDecision() const
Definition: PFTau.cc:191
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:250
reco::PFCandidateRefVector selectedSignalPFNeutrHadrCands_
Definition: TauPFSpecific.h:34
std::vector< reco::RecoTauPiZero > isolationPiZeroCandidates_
Definition: TauPFSpecific.h:41
record to store eta-phi first and second moments
Definition: Jet.h:27
reco::PFCandidateRefVector selectedIsolationPFNeutrHadrCands_
Definition: TauPFSpecific.h:39
std::vector< reco::RecoTauPiZero > signalPiZeroCandidates_
Definition: TauPFSpecific.h:36
float caloComp() const
Definition: PFTau.cc:189
const std::vector< RecoTauPiZero > & signalPiZeroCandidates() const
Retrieve the association of signal region gamma candidates into candidate PiZeros.
Definition: PFTau.cc:92
const PFCandidateRefVector & isolationPFGammaCands() const
Gamma candidates in isolation region.
Definition: PFTau.cc:88
const PFCandidateRef & leadPFCand() const
Definition: PFTau.cc:64
float leadPFChargedHadrCandsignedSipt() const
Definition: PFTau.cc:70
const std::vector< RecoTauPiZero > & isolationPiZeroCandidates() const
Retrieve the association of isolation region gamma candidates into candidate PiZeros.
Definition: PFTau.cc:115
float isolationPFChargedHadrCandsPtSum_
Definition: TauPFSpecific.h:42
const PFCandidateRef & leadPFChargedHadrCand() const
Definition: PFTau.cc:62
const PFCandidateRefVector & signalPFGammaCands() const
Gamma candidates in signal region.
Definition: PFTau.cc:79
reco::PFJetRef pfJetRef_
Definition: TauPFSpecific.h:27
float bremsRecoveryEOverPLead() const
Definition: PFTau.cc:163
reco::PFCandidateRefVector selectedSignalPFChargedHadrCands_
Definition: TauPFSpecific.h:33
reco::PFCandidateRef leadPFNeutralCand_
Definition: TauPFSpecific.h:30
reco::PFCandidateRefVector selectedSignalPFGammaCands_
Definition: TauPFSpecific.h:35
float hcalMaxOverPLead() const
Definition: PFTau.cc:160
float electronPreIDOutput() const
Definition: PFTau.cc:165
reco::TrackRef electronPreIDTrack() const
Definition: PFTau.cc:164
reco::PFCandidateRefVector selectedIsolationPFCands_
Definition: TauPFSpecific.h:37
float ecalStripSumEOverPLead() const
Definition: PFTau.cc:162
reco::PFCandidateRef leadPFCand_
Definition: TauPFSpecific.h:31
const PFCandidateRefVector & isolationPFNeutrHadrCands() const
Definition: PFTau.cc:86
const PFCandidateRefVector & isolationPFChargedHadrCands() const
Charged candidates in isolation region.
Definition: PFTau.cc:84

Member Data Documentation

float pat::tau::TauPFSpecific::bremsRecoveryEOverPLead_

Definition at line 51 of file TauPFSpecific.h.

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

float pat::tau::TauPFSpecific::caloComp_

Definition at line 56 of file TauPFSpecific.h.

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

int pat::tau::TauPFSpecific::decayMode_

Definition at line 65 of file TauPFSpecific.h.

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

float pat::tau::TauPFSpecific::ecalStripSumEOverPLead_

Definition at line 50 of file TauPFSpecific.h.

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

bool pat::tau::TauPFSpecific::electronPreIDDecision_

Definition at line 54 of file TauPFSpecific.h.

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

float pat::tau::TauPFSpecific::electronPreIDOutput_

Definition at line 53 of file TauPFSpecific.h.

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

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

Definition at line 52 of file TauPFSpecific.h.

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

float pat::tau::TauPFSpecific::emFraction_

Definition at line 46 of file TauPFSpecific.h.

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

float pat::tau::TauPFSpecific::etaetaMoment_

Definition at line 61 of file TauPFSpecific.h.

Referenced by pat::Tau::etaetaMoment(), and TauPFSpecific().

float pat::tau::TauPFSpecific::etaphiMoment_

Definition at line 63 of file TauPFSpecific.h.

Referenced by pat::Tau::etaphiMoment(), and TauPFSpecific().

float pat::tau::TauPFSpecific::hcal3x3OverPLead_

Definition at line 49 of file TauPFSpecific.h.

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

float pat::tau::TauPFSpecific::hcalMaxOverPLead_

Definition at line 48 of file TauPFSpecific.h.

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

float pat::tau::TauPFSpecific::hcalTotOverPLead_

Definition at line 47 of file TauPFSpecific.h.

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

float pat::tau::TauPFSpecific::isolationPFChargedHadrCandsPtSum_

Definition at line 42 of file TauPFSpecific.h.

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

float pat::tau::TauPFSpecific::isolationPFGammaCandsEtSum_

Definition at line 43 of file TauPFSpecific.h.

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

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

Definition at line 41 of file TauPFSpecific.h.

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

reco::PFCandidateRef pat::tau::TauPFSpecific::leadPFCand_

Definition at line 31 of file TauPFSpecific.h.

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

reco::PFCandidateRef pat::tau::TauPFSpecific::leadPFChargedHadrCand_

Definition at line 28 of file TauPFSpecific.h.

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

float pat::tau::TauPFSpecific::leadPFChargedHadrCandsignedSipt_

Definition at line 29 of file TauPFSpecific.h.

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

reco::PFCandidateRef pat::tau::TauPFSpecific::leadPFNeutralCand_

Definition at line 30 of file TauPFSpecific.h.

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

float pat::tau::TauPFSpecific::maximumHCALPFClusterEt_

Definition at line 44 of file TauPFSpecific.h.

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

bool pat::tau::TauPFSpecific::muonDecision_

Definition at line 58 of file TauPFSpecific.h.

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

reco::Candidate::LorentzVector pat::tau::TauPFSpecific::p4Jet_

Definition at line 60 of file TauPFSpecific.h.

Referenced by pat::Tau::p4Jet(), and TauPFSpecific().

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 62 of file TauPFSpecific.h.

Referenced by pat::Tau::phiphiMoment(), and TauPFSpecific().

float pat::tau::TauPFSpecific::segComp_

Definition at line 57 of file TauPFSpecific.h.

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

reco::PFCandidateRefVector pat::tau::TauPFSpecific::selectedIsolationPFCands_

Definition at line 37 of file TauPFSpecific.h.

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

reco::PFCandidateRefVector pat::tau::TauPFSpecific::selectedIsolationPFChargedHadrCands_

Definition at line 38 of file TauPFSpecific.h.

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

reco::PFCandidateRefVector pat::tau::TauPFSpecific::selectedIsolationPFGammaCands_

Definition at line 40 of file TauPFSpecific.h.

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

reco::PFCandidateRefVector pat::tau::TauPFSpecific::selectedIsolationPFNeutrHadrCands_

Definition at line 39 of file TauPFSpecific.h.

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

reco::PFCandidateRefVector pat::tau::TauPFSpecific::selectedSignalPFCands_

Definition at line 32 of file TauPFSpecific.h.

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

reco::PFCandidateRefVector pat::tau::TauPFSpecific::selectedSignalPFChargedHadrCands_

Definition at line 33 of file TauPFSpecific.h.

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

reco::PFCandidateRefVector pat::tau::TauPFSpecific::selectedSignalPFGammaCands_

Definition at line 35 of file TauPFSpecific.h.

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

reco::PFCandidateRefVector pat::tau::TauPFSpecific::selectedSignalPFNeutrHadrCands_

Definition at line 34 of file TauPFSpecific.h.

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

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

Definition at line 36 of file TauPFSpecific.h.

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