CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFTau.cc
Go to the documentation of this file.
4 
5 //using namespace std;
6 namespace reco {
7 
9 {
14  emFraction_ = NAN;
15  hcalTotOverPLead_ = NAN;
16  hcalMaxOverPLead_ = NAN;
17  hcal3x3OverPLead_ = NAN;
22  caloComp_ = NAN;
23  segComp_ = NAN;
24  muonDecision_ = NAN;
25 }
26 
27 PFTau::PFTau(Charge q, const LorentzVector& p4, const Point& vtx)
28  : BaseTau(q, p4, vtx)
29 {
34 
35  emFraction_ = NAN;
36  hcalTotOverPLead_ = NAN;
37  hcalMaxOverPLead_ = NAN;
38  hcal3x3OverPLead_ = NAN;
43 
44  caloComp_ = NAN;
45  segComp_ = NAN;
46  muonDecision_ = NAN;
47 }
48 
49 PFTau* PFTau::clone() const { return new PFTau(*this); }
50 
51 // Constituent getters and setters
52 const PFJetRef& PFTau::jetRef() const { return jetRef_; }
53 void PFTau::setjetRef(const PFJetRef& x) { jetRef_ = x; }
54 
56  return PFTauTagInfoRef_;
57 }
58 
60 
63 const PFCandidatePtr& PFTau::leadPFCand() const { return leadPFCand_; }
64 
67 void PFTau::setleadPFCand(const PFCandidatePtr& myLead) { leadPFCand_ = myLead;}
68 
71 
72 const std::vector<PFCandidatePtr>& PFTau::signalPFCands() const { return selectedSignalPFCands_; }
73 void PFTau::setsignalPFCands(const std::vector<PFCandidatePtr>& myParts) { selectedSignalPFCands_ = myParts; }
74 const std::vector<PFCandidatePtr>& PFTau::signalPFChargedHadrCands() const { return selectedSignalPFChargedHadrCands_; }
75 void PFTau::setsignalPFChargedHadrCands(const std::vector<PFCandidatePtr>& myParts) { selectedSignalPFChargedHadrCands_ = myParts; }
76 const std::vector<PFCandidatePtr>& PFTau::signalPFNeutrHadrCands() const {return selectedSignalPFNeutrHadrCands_; }
77 void PFTau::setsignalPFNeutrHadrCands(const std::vector<PFCandidatePtr>& myParts) { selectedSignalPFNeutrHadrCands_ = myParts; }
78 const std::vector<PFCandidatePtr>& PFTau::signalPFGammaCands() const { return selectedSignalPFGammaCands_; }
79 void PFTau::setsignalPFGammaCands(const std::vector<PFCandidatePtr>& myParts) { selectedSignalPFGammaCands_ = myParts; }
80 
81 const std::vector<PFCandidatePtr>& PFTau::isolationPFCands() const { return selectedIsolationPFCands_; }
82 void PFTau::setisolationPFCands(const std::vector<PFCandidatePtr>& myParts) { selectedIsolationPFCands_ = myParts;}
83 const std::vector<PFCandidatePtr>& PFTau::isolationPFChargedHadrCands() const { return selectedIsolationPFChargedHadrCands_; }
84 void PFTau::setisolationPFChargedHadrCands(const std::vector<PFCandidatePtr>& myParts) { selectedIsolationPFChargedHadrCands_ = myParts; }
85 const std::vector<PFCandidatePtr>& PFTau::isolationPFNeutrHadrCands() const { return selectedIsolationPFNeutrHadrCands_; }
86 void PFTau::setisolationPFNeutrHadrCands(const std::vector<PFCandidatePtr>& myParts) { selectedIsolationPFNeutrHadrCands_ = myParts; }
87 const std::vector<PFCandidatePtr>& PFTau::isolationPFGammaCands() const { return selectedIsolationPFGammaCands_; }
88 void PFTau::setisolationPFGammaCands(const std::vector<PFCandidatePtr>& myParts) { selectedIsolationPFGammaCands_ = myParts; }
89 
90 // PiZero and decay mode information
91 const std::vector<RecoTauPiZero>& PFTau::signalPiZeroCandidates() const {
92  // Check if the signal pi zeros are already filled
94  // Fill them from the refs
95  for ( size_t i = 0; i < signalPiZeroCandidatesRefs_.size(); ++i ) {
97  }
98  }
100 }
101 
102 void PFTau::setsignalPiZeroCandidates(const std::vector<RecoTauPiZero>& cands) {
103  signalPiZeroCandidates_ = cands;
104 }
105 
108 }
109 
112 }
113 
114 const std::vector<RecoTauPiZero>& PFTau::isolationPiZeroCandidates() const {
115  // Check if the signal pi zeros are already filled
117  // Fill them from the refs
118  for ( size_t i = 0; i < isolationPiZeroCandidatesRefs_.size(); ++i ) {
120  }
121  }
123 }
124 
125 void PFTau::setisolationPiZeroCandidates(const std::vector<RecoTauPiZero>& cands) {
126  signalPiZeroCandidates_ = cands;
127 }
128 
129 // Tau Charged Hadron information
133  } else {
134  return PFRecoTauChargedHadronRef();
135  }
136 }
137 
138 const std::vector<PFRecoTauChargedHadron>& PFTau::signalTauChargedHadronCandidates() const {
139  // Check if the signal tau charged hadrons are already filled
141  // Fill them from the refs
142  for ( size_t i = 0; i < signalTauChargedHadronCandidatesRefs_.size(); ++i ) {
144  }
145  }
147 }
148 
149 void PFTau::setSignalTauChargedHadronCandidates(const std::vector<PFRecoTauChargedHadron>& cands) {
151 }
152 
155 }
156 
157 const std::vector<PFRecoTauChargedHadron>& PFTau::isolationTauChargedHadronCandidates() const {
158  // Check if the isolation tau charged hadrons are already filled
160  // Fill them from the refs
161  for ( size_t i = 0; i < isolationTauChargedHadronCandidatesRefs_.size(); ++i ) {
163  }
164  }
166 }
167 
168 void PFTau::setIsolationTauChargedHadronCandidates(const std::vector<PFRecoTauChargedHadron>& cands) {
170 }
171 
174 }
175 
177  unsigned int nCharged = signalTauChargedHadronCandidates().size();
178  unsigned int nPiZeros = signalPiZeroCandidates().size();
179  // If no tracks exist, this is definitely not a tau!
180  if ( !nCharged ) return kNull;
181  // Find the maximum number of PiZeros our parameterization can hold
182  const unsigned int maxPiZeros = kOneProngNPiZero;
183  // Determine our track index
184  unsigned int trackIndex = (nCharged - 1)*(maxPiZeros + 1);
185  // Check if we handle the given number of tracks
186  if ( trackIndex >= kRareDecayMode ) return kRareDecayMode;
187 
188  nPiZeros = ( nPiZeros <= maxPiZeros ) ? nPiZeros : maxPiZeros;
189  return static_cast<PFTau::hadronicDecayMode>(trackIndex + nPiZeros);
190 }
191 
192 // Setting information about the isolation region
195 
198 
201 
202 // Electron variables
203 float PFTau::emFraction() const {return emFraction_;}
212 
213 void PFTau::setemFraction(const float& x) {emFraction_ = x;}
222 
223 // Muon variables
224 bool PFTau::hasMuonReference() const { // check if muon ref exists
225  if( leadPFChargedHadrCand_.isNull() ) return false;
226  else if( leadPFChargedHadrCand_.isNonnull() ){
227  reco::MuonRef muonRef = leadPFChargedHadrCand_->muonRef();
228  if( muonRef.isNull() ) return false;
229  else if( muonRef.isNonnull() ) return true;
230  }
231  return false;
232 }
233 
234 float PFTau::caloComp() const {return caloComp_;}
235 float PFTau::segComp() const {return segComp_;}
236 bool PFTau::muonDecision() const {return muonDecision_;}
237 void PFTau::setCaloComp(const float& x) {caloComp_ = x;}
238 void PFTau::setSegComp (const float& x) {segComp_ = x;}
239 void PFTau::setMuonDecision(const bool& x) {muonDecision_ = x;}
240 
242  if ( i!=0 ) return CandidatePtr();
243  return refToPtr(jetRef());
244 }
245 
246 
247 bool PFTau::overlap(const Candidate& theCand) const {
248  const RecoCandidate* theRecoCand = dynamic_cast<const RecoCandidate *>(&theCand);
249  return (theRecoCand!=0 && (checkOverlap(track(), theRecoCand->track())));
250 }
251 
252 void PFTau::dump(std::ostream& out) const {
253 
254  if(!out) return;
255 
256  if (pfTauTagInfoRef().isNonnull()) {
257  out << "Its TauTagInfo constituents :"<<std::endl;
258  out<<"# Tracks "<<pfTauTagInfoRef()->Tracks().size()<<std::endl;
259  out<<"# PF charged hadr. cand's "<<pfTauTagInfoRef()->PFChargedHadrCands().size()<<std::endl;
260  out<<"# PF neutral hadr. cand's "<<pfTauTagInfoRef()->PFNeutrHadrCands().size()<<std::endl;
261  out<<"# PF gamma cand's "<<pfTauTagInfoRef()->PFGammaCands().size()<<std::endl;
262  }
263  if (jetRef().isNonnull()) {
264  out << "Its constituents :"<< std::endl;
265  out<<"# PF charged hadr. cand's "<< jetRef()->chargedHadronMultiplicity()<<std::endl;
266  out<<"# PF neutral hadr. cand's "<< jetRef()->neutralHadronMultiplicity()<<std::endl;
267  out<<"# PF gamma cand's "<< jetRef()->photonMultiplicity()<<std::endl;
268  out<<"# Electron cand's "<< jetRef()->electronMultiplicity()<<std::endl;
269  }
270  out<<"in detail :"<<std::endl;
271 
272  out<<"Pt of the PFTau "<<pt()<<std::endl;
273  const PFCandidatePtr& theLeadPFCand = leadPFChargedHadrCand();
274  if(!theLeadPFCand){
275  out<<"No Lead PFCand "<<std::endl;
276  }else{
277  out<<"Lead PFCand Particle Id " << (*theLeadPFCand).particleId() << std::endl;
278  out<<"Lead PFCand Pt "<<(*theLeadPFCand).pt()<<std::endl;
279  out<<"Lead PFCand Charge "<<(*theLeadPFCand).charge()<<std::endl;
280  out<<"Lead PFCand TrkRef "<<(*theLeadPFCand).trackRef().isNonnull()<<std::endl;
281  out<<"Inner point position (x,y,z) of the PFTau ("<<vx()<<","<<vy()<<","<<vz()<<")"<<std::endl;
282  out<<"Charge of the PFTau "<<charge()<<std::endl;
283  out<<"Et of the highest Et HCAL PFCluster "<<maximumHCALPFClusterEt()<<std::endl;
284  out<<"Number of SignalPFChargedHadrCands = "<<signalPFChargedHadrCands().size()<<std::endl;
285  out<<"Number of SignalPFGammaCands = "<<signalPFGammaCands().size()<<std::endl;
286  out<<"Number of IsolationPFChargedHadrCands = "<<isolationPFChargedHadrCands().size()<<std::endl;
287  out<<"Number of IsolationPFGammaCands = "<<isolationPFGammaCands().size()<<std::endl;
288  out<<"Sum of Pt of charged hadr. PFCandidates in isolation annulus around Lead PF = "<<isolationPFChargedHadrCandsPtSum()<<std::endl;
289  out<<"Sum of Et of gamma PFCandidates in other isolation annulus around Lead PF = "<<isolationPFGammaCandsEtSum()<<std::endl;
290 
291  }
292  // return out;
293 }
294 
295 std::ostream& operator<<(std::ostream& out, const reco::PFTau& tau) {
296 
297  if(!out) return out;
298 
299  out << std::setprecision(3)
300  <<"PFTau "
301  << " charge: " << tau.charge() << " "
302  << " pt:" <<tau.pt()<<" "
303  << " eta:" <<tau.eta()<<" "
304  << " phi:" <<tau.phi()<<" "
305  << " mass:" << tau.mass() << " "
306  << " dm: " << tau.decayMode() << " "
307  <<tau.signalPFCands().size()<<","
308  <<tau.signalPFChargedHadrCands().size()<<","
309  <<tau.signalPFGammaCands().size()<<","
310  <<tau.signalPiZeroCandidates().size()<<","
311  <<tau.signalPFNeutrHadrCands().size()<<" "
312 
313  <<tau.isolationPFCands().size()<<","
314  <<tau.isolationPFChargedHadrCands().size()<<","
315  <<tau.isolationPFGammaCands().size()<<","
316  <<tau.isolationPiZeroCandidates().size()<<","
317  <<tau.isolationPFNeutrHadrCands().size();
318 
319  return out;
320 }
321 
322 }
float ecalStripSumEOverPLead_
Definition: PFTau.h:217
bool hasMuonReference() const
Definition: PFTau.cc:224
float maximumHCALPFClusterEt() const
Et of the highest Et HCAL PFCluster.
Definition: PFTau.cc:199
int Charge
electric charge type
Definition: Candidate.h:39
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
Definition: RecoCandidate.h:63
int i
Definition: DBlmapReader.cc:9
std::vector< reco::PFCandidatePtr > selectedIsolationPFNeutrHadrCands_
Definition: PFTau.h:241
RecoTauPiZeroRefVector signalPiZeroCandidatesRefs_
Definition: PFTau.h:244
void setMuonDecision(const bool &)
Definition: PFTau.cc:239
std::vector< reco::RecoTauPiZero > isolationPiZeroCandidates_
Definition: PFTau.h:252
void setelectronPreIDOutput(const float &)
Definition: PFTau.cc:220
float isolationPFGammaCandsEtSum() const
Definition: PFTau.cc:196
std::vector< reco::PFCandidatePtr > selectedSignalPFCands_
Definition: PFTau.h:233
const PFJetRef & jetRef() const
Definition: PFTau.cc:52
const std::vector< reco::PFCandidatePtr > & isolationPFCands() const
PFCandidates in isolation region.
Definition: PFTau.cc:81
Ptr< typename C::value_type > refToPtr(Ref< C, typename C::value_type, refhelper::FindUsingAdvance< C, typename C::value_type > > const &ref)
Definition: RefToPtr.h:18
float isolationPFChargedHadrCandsPtSum() const
Definition: PFTau.cc:193
void setleadPFChargedHadrCand(const PFCandidatePtr &)
Definition: PFTau.cc:65
void setleadPFNeutralCand(const PFCandidatePtr &)
Definition: PFTau.cc:66
const PFCandidatePtr & leadPFChargedHadrCand() const
Definition: PFTau.cc:61
virtual float pt() const
transverse momentum
void setelectronPreIDDecision(const bool &)
Definition: PFTau.cc:221
size_t size_type
Definition: Candidate.h:34
float segComp() const
Definition: PFTau.cc:235
std::vector< reco::PFRecoTauChargedHadron > signalTauChargedHadronCandidates_
Definition: PFTau.h:255
float hcalTotOverPLead() const
Definition: PFTau.cc:204
bool electronPreIDDecision_
Definition: PFTau.h:203
float maximumHCALPFClusterEt_
Definition: PFTau.h:210
void setisolationPFCands(const std::vector< reco::PFCandidatePtr > &)
Definition: PFTau.cc:82
virtual float phi() const
momentum azimuthal angle
bool electronPreIDDecision() const
Definition: PFTau.cc:211
const std::vector< reco::PFCandidatePtr > & signalPFGammaCands() const
Gamma candidates in signal region.
Definition: PFTau.cc:78
float isolationPFChargedHadrCandsPtSum_
Definition: PFTau.h:208
std::vector< reco::PFRecoTauChargedHadron > isolationTauChargedHadronCandidates_
Definition: PFTau.h:256
float hcal3x3OverPLead() const
Definition: PFTau.cc:206
std::vector< reco::RecoTauPiZero > signalPiZeroCandidates_
Definition: PFTau.h:251
reco::PFCandidatePtr leadPFNeutralCand_
Definition: PFTau.h:228
float emFraction() const
Definition: PFTau.cc:203
std::vector< reco::PFCandidatePtr > selectedSignalPFGammaCands_
Definition: PFTau.h:236
void sethcal3x3OverPLead(const float &)
Definition: PFTau.cc:216
void setisolationPFGammaCandsEtSum(const float &)
Definition: PFTau.cc:197
void setIsolationTauChargedHadronCandidates(const std::vector< PFRecoTauChargedHadron > &)
Definition: PFTau.cc:168
virtual double vy() const
y coordinate of vertex position
void setemFraction(const float &)
Definition: PFTau.cc:213
PFRecoTauChargedHadronRefVector isolationTauChargedHadronCandidatesRefs_
Definition: PFTau.h:248
const std::vector< reco::PFCandidatePtr > & signalPFCands() const
PFCandidates in signal region.
Definition: PFTau.cc:72
const std::vector< reco::PFCandidatePtr > & isolationPFGammaCands() const
Gamma candidates in isolation region.
Definition: PFTau.cc:87
virtual reco::TrackRef track() const
reference to a Track
void setisolationPFNeutrHadrCands(const std::vector< reco::PFCandidatePtr > &)
Definition: PFTau.cc:86
bool muonDecision() const
Definition: PFTau.cc:236
reco::PFJetRef jetRef_
Definition: PFTau.h:225
hadronicDecayMode decayMode() const
Definition: PFTau.cc:176
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:250
void setsignalPFChargedHadrCands(const std::vector< reco::PFCandidatePtr > &)
Definition: PFTau.cc:75
float segComp_
Definition: PFTau.h:223
bool isNonnull() const
Checks for non-null.
Definition: Ptr.h:152
void dump(std::ostream &out=std::cout) const
prints information on this PFTau
Definition: PFTau.cc:252
void setjetRef(const PFJetRef &)
Definition: PFTau.cc:53
CandidatePtr sourceCandidatePtr(size_type i) const
Definition: PFTau.cc:241
bool isNull() const
Checks for null.
Definition: Ref.h:247
void setsignalPiZeroCandidates(const std::vector< RecoTauPiZero > &)
Definition: PFTau.cc:102
std::ostream & operator<<(std::ostream &, BeamSpot beam)
Definition: BeamSpot.cc:71
float leadPFChargedHadrCandsignedSipt_
Definition: PFTau.h:206
PFRecoTauChargedHadronRef leadTauChargedHadronCandidate() const
Definition: PFTau.cc:130
float caloComp() const
Definition: PFTau.cc:234
const std::vector< RecoTauPiZero > & signalPiZeroCandidates() const
Retrieve the association of signal region gamma candidates into candidate PiZeros.
Definition: PFTau.cc:91
virtual float eta() const
momentum pseudorapidity
RecoTauPiZeroRefVector isolationPiZeroCandidatesRefs_
Definition: PFTau.h:245
double p4[4]
Definition: TauolaWrapper.h:92
void setIsolationPiZeroCandidatesRefs(const RecoTauPiZeroRefVector &)
Definition: PFTau.cc:110
void setleadPFCand(const PFCandidatePtr &)
Definition: PFTau.cc:67
void setCaloComp(const float &)
Definition: PFTau.cc:237
void setSignalTauChargedHadronCandidatesRefs(const PFRecoTauChargedHadronRefVector &)
Definition: PFTau.cc:153
virtual int charge() const
electric charge
void setisolationPFChargedHadrCandsPtSum(const float &)
Definition: PFTau.cc:194
void setleadPFChargedHadrCandsignedSipt(const float &)
Definition: PFTau.cc:70
void setsignalPFCands(const std::vector< reco::PFCandidatePtr > &)
Definition: PFTau.cc:73
const std::vector< reco::PFCandidatePtr > & isolationPFNeutrHadrCands() const
Definition: PFTau.cc:85
virtual double vz() const
z coordinate of vertex position
void setisolationPiZeroCandidates(const std::vector< RecoTauPiZero > &)
Definition: PFTau.cc:125
const std::vector< reco::PFCandidatePtr > & isolationPFChargedHadrCands() const
Charged candidates in isolation region.
Definition: PFTau.cc:83
float leadPFChargedHadrCandsignedSipt() const
Definition: PFTau.cc:69
void setbremsRecoveryEOverPLead(const float &)
Definition: PFTau.cc:218
tuple out
Definition: dbtoconf.py:99
bool muonDecision_
Definition: PFTau.h:202
const std::vector< RecoTauPiZero > & isolationPiZeroCandidates() const
Retrieve the association of isolation region gamma candidates into candidate PiZeros.
Definition: PFTau.cc:114
const PFTauTagInfoRef & pfTauTagInfoRef() const
Definition: PFTau.cc:55
const PFCandidatePtr & leadPFNeutralCand() const
Definition: PFTau.cc:62
void sethcalMaxOverPLead(const float &)
Definition: PFTau.cc:215
edm::Ptr< Candidate > CandidatePtr
persistent reference to an object in a collection of Candidate objects
Definition: CandidateFwd.h:25
void setIsolationTauChargedHadronCandidatesRefs(const PFRecoTauChargedHadronRefVector &)
Definition: PFTau.cc:172
unsigned int nCharged(const GenJet &jet)
void setisolationPFGammaCands(const std::vector< reco::PFCandidatePtr > &)
Definition: PFTau.cc:88
void setSegComp(const float &)
Definition: PFTau.cc:238
PFTau * clone() const
returns a clone of the Candidate object
Definition: PFTau.cc:49
void setsignalPFGammaCands(const std::vector< reco::PFCandidatePtr > &)
Definition: PFTau.cc:79
reco::PFCandidatePtr leadPFChargedHadrCand_
Definition: PFTau.h:227
void setSignalTauChargedHadronCandidates(const std::vector< PFRecoTauChargedHadron > &)
Definition: PFTau.cc:149
const PFCandidatePtr & leadPFCand() const
Definition: PFTau.cc:63
void setisolationPFChargedHadrCands(const std::vector< reco::PFCandidatePtr > &)
Definition: PFTau.cc:84
float bremsRecoveryEOverPLead() const
Definition: PFTau.cc:208
float bremsRecoveryEOverPLead_
Definition: PFTau.h:218
edm::Ref< PFRecoTauChargedHadronCollection > PFRecoTauChargedHadronRef
presistent reference to a PFRecoTauChargedHadron
float hcal3x3OverPLead_
Definition: PFTau.h:216
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:41
float hcalMaxOverPLead_
Definition: PFTau.h:215
PFTauTagInfoRef PFTauTagInfoRef_
Definition: PFTau.h:226
bool isNull() const
Checks for null.
Definition: Ptr.h:148
float electronPreIDOutput_
Definition: PFTau.h:219
hadronicDecayMode
Definition: PFTau.h:35
const std::vector< reco::PFCandidatePtr > & signalPFNeutrHadrCands() const
Neutral hadrons in signal region.
Definition: PFTau.cc:76
virtual bool overlap(const Candidate &) const
check overlap with another candidate
Definition: PFTau.cc:247
std::vector< reco::PFCandidatePtr > selectedSignalPFChargedHadrCands_
Definition: PFTau.h:234
void setSignalPiZeroCandidatesRefs(const RecoTauPiZeroRefVector &)
Definition: PFTau.cc:106
void setmaximumHCALPFClusterEt(const float &)
Definition: PFTau.cc:200
std::vector< reco::PFCandidatePtr > selectedIsolationPFChargedHadrCands_
Definition: PFTau.h:240
std::vector< reco::PFCandidatePtr > selectedIsolationPFCands_
Definition: PFTau.h:239
void setecalStripSumEOverPLead(const float &)
Definition: PFTau.cc:217
PFRecoTauChargedHadronRefVector signalTauChargedHadronCandidatesRefs_
Definition: PFTau.h:247
virtual double vx() const
x coordinate of vertex position
size_type size() const
Size of the RefVector.
Definition: RefVector.h:89
const std::vector< PFRecoTauChargedHadron > & signalTauChargedHadronCandidates() const
Retrieve the association of signal region PF candidates into candidate PFRecoTauChargedHadrons.
Definition: PFTau.cc:138
math::XYZPoint Point
point in the space
Definition: Candidate.h:45
virtual float mass() const
mass
void sethcalTotOverPLead(const float &)
Definition: PFTau.cc:214
reco::PFCandidatePtr leadPFCand_
Definition: PFTau.h:229
Definition: DDAxes.h:10
std::vector< reco::PFCandidatePtr > selectedIsolationPFGammaCands_
Definition: PFTau.h:242
float emFraction_
Definition: PFTau.h:213
const std::vector< PFRecoTauChargedHadron > & isolationTauChargedHadronCandidates() const
Retrieve the association of isolation region PF candidates into candidate PFRecoTauChargedHadron.
Definition: PFTau.cc:157
void setelectronPreIDTrack(const reco::TrackRef &)
Definition: PFTau.cc:219
float hcalMaxOverPLead() const
Definition: PFTau.cc:205
float electronPreIDOutput() const
Definition: PFTau.cc:210
reco::TrackRef electronPreIDTrack() const
Definition: PFTau.cc:209
void setsignalPFNeutrHadrCands(const std::vector< reco::PFCandidatePtr > &)
Definition: PFTau.cc:77
reco::TrackRef electronPreIDTrack_
Definition: PFTau.h:230
PFTau()
Definition: PFTau.cc:8
float isolationPFGammaCandsEtSum_
Definition: PFTau.h:209
float caloComp_
Definition: PFTau.h:222
const std::vector< reco::PFCandidatePtr > & signalPFChargedHadrCands() const
Charged hadrons in signal region.
Definition: PFTau.cc:74
float ecalStripSumEOverPLead() const
Definition: PFTau.cc:207
std::vector< reco::PFCandidatePtr > selectedSignalPFNeutrHadrCands_
Definition: PFTau.h:235
void setpfTauTagInfoRef(const PFTauTagInfoRef)
Definition: PFTau.cc:59
float hcalTotOverPLead_
Definition: PFTau.h:214