CMS 3D CMS Logo

Public Member Functions | Public Attributes

pat::tau::TauPFSpecific Struct Reference

#include <TauPFSpecific.h>

List of all members.

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.

{}
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_, reco::PFTau::jetRef(), p4Jet_, reco::Jet::EtaPhiMoments::phiPhiMoment, and phiphiMoment_.

                                                       :
    // reference to PFJet from which PFTau was made
    pfJetRef_(tau.jetRef()),
    // Leading track/charged candidate
    leadPFChargedHadrCand_(tau.leadPFChargedHadrCand()),    
    leadPFChargedHadrCandsignedSipt_(tau.leadPFChargedHadrCandsignedSipt()),
    // Leading neutral candidate
    leadPFNeutralCand_(tau.leadPFNeutralCand()), 
    // Leading charged or neutral candidate
    leadPFCand_(tau.leadPFCand()), 
    // Signal cone
    selectedSignalPFCands_(tau.signalPFCands()), 
    selectedSignalPFChargedHadrCands_(tau.signalPFChargedHadrCands()), 
    selectedSignalPFNeutrHadrCands_(tau.signalPFNeutrHadrCands()), 
    selectedSignalPFGammaCands_(tau.signalPFGammaCands()),
    signalPiZeroCandidates_(tau.signalPiZeroCandidates()),
    // Isolation cone
    selectedIsolationPFCands_(tau.isolationPFCands()), 
    selectedIsolationPFChargedHadrCands_(tau.isolationPFChargedHadrCands()), 
    selectedIsolationPFNeutrHadrCands_(tau.isolationPFNeutrHadrCands()), 
    selectedIsolationPFGammaCands_(tau.isolationPFGammaCands()),
    isolationPiZeroCandidates_(tau.isolationPiZeroCandidates()),
    isolationPFChargedHadrCandsPtSum_(tau.isolationPFChargedHadrCandsPtSum()),
    isolationPFGammaCandsEtSum_(tau.isolationPFGammaCandsEtSum()),
    // Other useful variables 
    maximumHCALPFClusterEt_(tau.maximumHCALPFClusterEt()),
    emFraction_(tau.emFraction()),
    hcalTotOverPLead_(tau.hcalTotOverPLead()),
    hcalMaxOverPLead_(tau.hcalMaxOverPLead()),
    hcal3x3OverPLead_(tau.hcal3x3OverPLead()),
    ecalStripSumEOverPLead_(tau.ecalStripSumEOverPLead()),
    bremsRecoveryEOverPLead_(tau.bremsRecoveryEOverPLead()),
    // Electron rejection variables
    electronPreIDTrack_(tau.electronPreIDTrack()),
    electronPreIDOutput_(tau.electronPreIDOutput()),
    electronPreIDDecision_(tau.electronPreIDDecision()),
    // Muon rejection variables
    caloComp_(tau.caloComp()),
    segComp_(tau.segComp()),
    muonDecision_(tau.muonDecision())
{
  if ( tau.jetRef().isAvailable() && tau.jetRef().isNonnull() ) { // CV: add protection to ease transition to new CMSSW 4_2_x RecoTauTags
    p4Jet_ = tau.jetRef()->p4();
    reco::Jet::EtaPhiMoments etaPhiStatistics = tau.jetRef()->etaPhiStatistics();
    etaetaMoment_ = etaPhiStatistics.etaEtaMoment;
    phiphiMoment_ = etaPhiStatistics.phiPhiMoment;
    etaphiMoment_ = etaPhiStatistics.etaPhiMoment;
  }
}

Member Data Documentation

Definition at line 51 of file TauPFSpecific.h.

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

Definition at line 56 of file TauPFSpecific.h.

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

Definition at line 65 of file TauPFSpecific.h.

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

Definition at line 50 of file TauPFSpecific.h.

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

Definition at line 54 of file TauPFSpecific.h.

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

Definition at line 53 of file TauPFSpecific.h.

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

Definition at line 52 of file TauPFSpecific.h.

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

Definition at line 46 of file TauPFSpecific.h.

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

Definition at line 61 of file TauPFSpecific.h.

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

Definition at line 63 of file TauPFSpecific.h.

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

Definition at line 49 of file TauPFSpecific.h.

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

Definition at line 48 of file TauPFSpecific.h.

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

Definition at line 47 of file TauPFSpecific.h.

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

Definition at line 42 of file TauPFSpecific.h.

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

Definition at line 43 of file TauPFSpecific.h.

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

Definition at line 41 of file TauPFSpecific.h.

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

Definition at line 31 of file TauPFSpecific.h.

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

Definition at line 28 of file TauPFSpecific.h.

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

Definition at line 29 of file TauPFSpecific.h.

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

Definition at line 30 of file TauPFSpecific.h.

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

Definition at line 44 of file TauPFSpecific.h.

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

Definition at line 58 of file TauPFSpecific.h.

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

Definition at line 60 of file TauPFSpecific.h.

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

Definition at line 27 of file TauPFSpecific.h.

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

Definition at line 62 of file TauPFSpecific.h.

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

Definition at line 57 of file TauPFSpecific.h.

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

Definition at line 37 of file TauPFSpecific.h.

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

Definition at line 38 of file TauPFSpecific.h.

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

Definition at line 40 of file TauPFSpecific.h.

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

Definition at line 39 of file TauPFSpecific.h.

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

Definition at line 32 of file TauPFSpecific.h.

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

Definition at line 33 of file TauPFSpecific.h.

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

Definition at line 35 of file TauPFSpecific.h.

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

Definition at line 34 of file TauPFSpecific.h.

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

Definition at line 36 of file TauPFSpecific.h.

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