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

Constructor & Destructor Documentation

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

Definition at line 23 of file TauPFSpecific.h.

References metsig::tau.

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::RefToBase< T >::isAvailable(), edm::RefToBase< T >::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 }
float maximumHCALPFClusterEt() const
Et of the highest Et HCAL PFCluster.
Definition: PFTau.cc:326
const std::vector< reco::PFCandidatePtr > & isolationPFCands() const
Definition: PFTau.cc:200
float isolationPFGammaCandsEtSum() const
Definition: PFTau.cc:323
float isolationPFChargedHadrCandsPtSum() const
Definition: PFTau.cc:320
std::vector< reco::PFCandidatePtr > selectedIsolationPFChargedHadrCands_
Definition: TauPFSpecific.h:39
reco::TrackRef electronPreIDTrack_
Definition: TauPFSpecific.h:54
bool isAvailable() const
Definition: RefToBase.h:114
float segComp() const
Definition: PFTau.cc:365
reco::PFCandidatePtr leadPFCand_
Definition: TauPFSpecific.h:31
float hcalTotOverPLead() const
Definition: PFTau.cc:331
const std::vector< reco::PFCandidatePtr > & isolationPFChargedHadrCands() const
Definition: PFTau.cc:207
bool electronPreIDDecision() const
Definition: PFTau.cc:338
float hcal3x3OverPLead() const
Definition: PFTau.cc:333
bool isNonnull() const
Checks for non-null.
Definition: RefToBase.h:340
float emFraction() const
Definition: PFTau.cc:330
float leadPFChargedHadrCandsignedSipt_
Definition: TauPFSpecific.h:29
std::vector< reco::PFCandidatePtr > selectedIsolationPFNeutrHadrCands_
Definition: TauPFSpecific.h:40
std::vector< reco::PFRecoTauChargedHadron > isolationTauChargedHadronCandidates_
Definition: TauPFSpecific.h:42
bool muonDecision() const
Definition: PFTau.cc:366
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
const PFCandidatePtr leadPFCand() const
Definition: PFTau.cc:166
float caloComp() const
Definition: PFTau.cc:364
const std::vector< RecoTauPiZero > & signalPiZeroCandidates() const
Retrieve the association of signal region gamma candidates into candidate PiZeros.
Definition: PFTau.cc:230
const std::vector< reco::PFCandidatePtr > & signalPFNeutrHadrCands() const
Definition: PFTau.cc:186
const std::vector< reco::PFCandidatePtr > & isolationPFGammaCands() const
Definition: PFTau.cc:221
const JetBaseRef & jetRef() const
Definition: PFTau.cc:58
const std::vector< reco::PFCandidatePtr > & signalPFCands() const
Definition: PFTau.cc:172
reco::JetBaseRef pfJetRef_
Definition: TauPFSpecific.h:27
std::vector< reco::PFCandidatePtr > selectedSignalPFChargedHadrCands_
Definition: TauPFSpecific.h:33
std::vector< reco::PFCandidatePtr > selectedSignalPFCands_
Definition: TauPFSpecific.h:32
float leadPFChargedHadrCandsignedSipt() const
Definition: PFTau.cc:75
reco::CandidatePtr leadPFChargedHadrCand_
Definition: TauPFSpecific.h:28
const std::vector< reco::PFCandidatePtr > & signalPFChargedHadrCands() const
Definition: PFTau.cc:179
const std::vector< RecoTauPiZero > & isolationPiZeroCandidates() const
Retrieve the association of isolation region gamma candidates into candidate PiZeros.
Definition: PFTau.cc:249
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
float bremsRecoveryEOverPLead() const
Definition: PFTau.cc:335
double signalConeSize() const
Size of signal cone.
Definition: PFTau.h:172
float bendCorrMass() const
Effect of eta and phi correction of strip on mass of tau candidate.
Definition: PFTau.h:168
std::vector< reco::PFCandidatePtr > selectedSignalPFNeutrHadrCands_
Definition: TauPFSpecific.h:34
const std::vector< PFRecoTauChargedHadron > & signalTauChargedHadronCandidates() const
Retrieve the association of signal region PF candidates into candidate PFRecoTauChargedHadrons.
Definition: PFTau.cc:277
const PFCandidatePtr leadPFNeutralCand() const
Definition: PFTau.cc:160
const PFCandidatePtr leadPFChargedHadrCand() const
Getters for different PFCandidates for PFTaus made from PFCandidates.
Definition: PFTau.cc:154
const std::vector< PFRecoTauChargedHadron > & isolationTauChargedHadronCandidates() const
Retrieve the association of isolation region PF candidates into candidate PFRecoTauChargedHadron.
Definition: PFTau.cc:296
float hcalMaxOverPLead() const
Definition: PFTau.cc:332
float electronPreIDOutput() const
Definition: PFTau.cc:337
reco::TrackRef electronPreIDTrack() const
Definition: PFTau.cc:336
float ecalStripSumEOverPLead() const
Definition: PFTau.cc:334
const std::vector< reco::PFCandidatePtr > & isolationPFNeutrHadrCands() const
Definition: PFTau.cc:214
const std::vector< reco::PFCandidatePtr > & signalPFGammaCands() const
Definition: PFTau.cc:193

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::CandidatePtr 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::JetBaseRef 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.