CMS 3D CMS Logo

TauPFSpecific.cc
Go to the documentation of this file.
2 
4 
6  : // reference to PFJet from which PFTau was made
7  pfJetRef_(tau.jetRef()),
8  // Leading track/charged candidate
9  leadPFChargedHadrCand_(tau.leadPFChargedHadrCand()),
10  leadPFChargedHadrCandsignedSipt_(tau.leadPFChargedHadrCandsignedSipt()),
11  // Leading neutral candidate
12  leadPFNeutralCand_(tau.leadPFNeutralCand()),
13  // Leading charged or neutral candidate
14  leadPFCand_(tau.leadPFCand()),
15  // Signal cone
16  selectedSignalPFCands_(tau.signalPFCands()),
17  selectedSignalPFChargedHadrCands_(tau.signalPFChargedHadrCands()),
18  selectedSignalPFNeutrHadrCands_(tau.signalPFNeutrHadrCands()),
19  selectedSignalPFGammaCands_(tau.signalPFGammaCands()),
20  signalTauChargedHadronCandidates_(tau.signalTauChargedHadronCandidates()),
21  signalPiZeroCandidates_(tau.signalPiZeroCandidates()),
22  // Isolation cone
23  selectedIsolationPFCands_(tau.isolationPFCands()),
24  selectedIsolationPFChargedHadrCands_(tau.isolationPFChargedHadrCands()),
25  selectedIsolationPFNeutrHadrCands_(tau.isolationPFNeutrHadrCands()),
26  selectedIsolationPFGammaCands_(tau.isolationPFGammaCands()),
27  isolationTauChargedHadronCandidates_(tau.isolationTauChargedHadronCandidates()),
28  isolationPiZeroCandidates_(tau.isolationPiZeroCandidates()),
29  isolationPFChargedHadrCandsPtSum_(tau.isolationPFChargedHadrCandsPtSum()),
30  isolationPFGammaCandsEtSum_(tau.isolationPFGammaCandsEtSum()),
31  // Other useful variables
32  maximumHCALPFClusterEt_(tau.maximumHCALPFClusterEt()),
33  emFraction_(tau.emFraction()),
34  hcalTotOverPLead_(tau.hcalTotOverPLead()),
35  hcalMaxOverPLead_(tau.hcalMaxOverPLead()),
36  hcal3x3OverPLead_(tau.hcal3x3OverPLead()),
37  ecalStripSumEOverPLead_(tau.ecalStripSumEOverPLead()),
38  bremsRecoveryEOverPLead_(tau.bremsRecoveryEOverPLead()),
39  // Electron rejection variables
40  electronPreIDTrack_(tau.electronPreIDTrack()),
41  electronPreIDOutput_(tau.electronPreIDOutput()),
42  electronPreIDDecision_(tau.electronPreIDDecision()),
43  // Muon rejection variables
44  caloComp_(tau.caloComp()),
45  segComp_(tau.segComp()),
46  muonDecision_(tau.muonDecision()),
47  // Variables specific to dynamic strip reconstruction
48  bendCorrMass_(tau.bendCorrMass()),
49  signalConeSize_(tau.signalConeSize()) {
50  if (tau.jetRef().isAvailable() &&
51  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 }
metsig::tau
Definition: SignAlgoResolutions.h:49
TauPFSpecific.h
reco::PFTau
Definition: PFTau.h:36
Jet.h
pat::tau::TauPFSpecific::etaetaMoment_
float etaetaMoment_
Definition: TauPFSpecific.h:63
reco::Jet::EtaPhiMoments
record to store eta-phi first and second moments
Definition: Jet.h:26
reco::Jet::EtaPhiMoments::etaEtaMoment
float etaEtaMoment
Definition: Jet.h:30
pat::tau::TauPFSpecific::phiphiMoment_
float phiphiMoment_
Definition: TauPFSpecific.h:64
pat::tau::TauPFSpecific::etaphiMoment_
float etaphiMoment_
Definition: TauPFSpecific.h:65
HLT_FULL_cff.signalConeSize
signalConeSize
Definition: HLT_FULL_cff.py:33328
pat::tau::TauPFSpecific::TauPFSpecific
TauPFSpecific()
Definition: TauPFSpecific.h:24
reco::Jet::EtaPhiMoments::etaPhiMoment
float etaPhiMoment
Definition: Jet.h:32
reco::Jet::EtaPhiMoments::phiPhiMoment
float phiPhiMoment
Definition: Jet.h:31