test
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 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::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_
 
float signalConeSize_
 
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  // Variables specific to dynamic strip reconstruction
50 {
51  if ( tau.jetRef().isAvailable() && 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 }
bool isAvailable() const
Definition: Ref.h:576
float maximumHCALPFClusterEt() const
Et of the highest Et HCAL PFCluster.
Definition: PFTau.cc:223
float isolationPFGammaCandsEtSum() const
Definition: PFTau.cc:220
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:217
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:259
reco::PFCandidatePtr leadPFCand_
Definition: TauPFSpecific.h:31
float hcalTotOverPLead() const
Definition: PFTau.cc:228
bool electronPreIDDecision() const
Definition: PFTau.cc:235
const std::vector< reco::PFCandidatePtr > & signalPFGammaCands() const
Gamma candidates in signal region.
Definition: PFTau.cc:84
float hcal3x3OverPLead() const
Definition: PFTau.cc:230
reco::PFCandidatePtr leadPFChargedHadrCand_
Definition: TauPFSpecific.h:28
float emFraction() const
Definition: PFTau.cc:227
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:260
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:258
const std::vector< RecoTauPiZero > & signalPiZeroCandidates() const
Retrieve the association of signal region gamma candidates into candidate PiZeros.
Definition: PFTau.cc:127
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:146
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:232
double signalConeSize() const
Size of signal cone.
Definition: PFTau.h:159
float bendCorrMass() const
Effect of eta and phi correction of strip on mass of tau candidate.
Definition: PFTau.h:155
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:174
const std::vector< PFRecoTauChargedHadron > & isolationTauChargedHadronCandidates() const
Retrieve the association of isolation region PF candidates into candidate PFRecoTauChargedHadron.
Definition: PFTau.cc:193
float hcalMaxOverPLead() const
Definition: PFTau.cc:229
float electronPreIDOutput() const
Definition: PFTau.cc:234
reco::TrackRef electronPreIDTrack() const
Definition: PFTau.cc:233
const std::vector< reco::PFCandidatePtr > & signalPFChargedHadrCands() const
Charged hadrons in signal region.
Definition: PFTau.cc:80
float ecalStripSumEOverPLead() const
Definition: PFTau.cc:231

Member Data Documentation

float pat::tau::TauPFSpecific::bendCorrMass_

Definition at line 66 of file TauPFSpecific.h.

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.

float pat::tau::TauPFSpecific::signalConeSize_

Definition at line 67 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.