ATLAS Offline Software
TauJet_v1.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id: TauJet_v1.h 740338 2016-04-14 16:03:58Z griffith $
8 #ifndef XAODTAU_VERSIONS_TAUJET_V1_H
9 #define XAODTAU_VERSIONS_TAUJET_V1_H
10 
11 
12 // Core include(s):
13 #include "AthLinks/ElementLink.h"
14 
15 
16 // xAOD include(s):
17 #include "xAODBase/IParticle.h"
19 #include "xAODTau/TauDefs.h"
22 #include "xAODJet/JetContainer.h"
23 #include "xAODPFlow/PFOContainer.h"
24 
25 // ROOT include(s):
26 #include "Math/Vector4D.h"
27 
28 namespace xAOD {
29 
30 
31 
38  class TauJet_v1 : public IParticle {
39 
40  public:
42  TauJet_v1();
43 
46 
48  virtual double pt() const;
50  virtual double eta() const;
52  virtual double phi() const;
54  virtual double e() const;
55 
57  virtual double m() const;
59  virtual double rapidity() const;
60 
62  virtual FourMom_t p4() const;
63  virtual FourMom_t p4(const TauJetParameters::TauCalibType calib) const;
64 
66  typedef ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double> > GenVecFourMom_t;
67 
69  GenVecFourMom_t genvecP4() const;
71 
73  void setP4(double pt, double eta, double phi, double m);
74  bool setP4(const TauJetParameters::TauCalibType calib, double pt, double eta, double phi, double m);
75 
76  //setters and getters for the individual 4-vector components at different calibration levels
77  double ptJetSeed() const;
78  double etaJetSeed() const;
79  double phiJetSeed() const;
80  double mJetSeed() const;
81 
82  double ptDetectorAxis() const;
83  double etaDetectorAxis() const;
84  double phiDetectorAxis() const;
85  double mDetectorAxis() const;
86 
87  double ptIntermediateAxis() const;
88  double etaIntermediateAxis() const;
89  double phiIntermediateAxis() const;
90  double mIntermediateAxis() const;
91 
92  double ptTauEnergyScale() const;
93  double etaTauEnergyScale() const;
94  double phiTauEnergyScale() const;
95  double mTauEnergyScale() const;
96 
97  double ptTauEtaCalib() const;
98  double etaTauEtaCalib() const;
99  double phiTauEtaCalib() const;
100  double mTauEtaCalib() const;
101 
102  // double ptPanTauEFlowRecProto() const;
103  // double etaPanTauEFlowRecProto() const;
104  // double phiPanTauEFlowRecProto() const;
105  // double mPanTauEFlowRecProto() const;
106 
107  // double ptPanTauEFlowRec() const;
108  // double etaPanTauEFlowRec() const;
109  // double phiPanTauEFlowRec() const;
110  // double mPanTauEFlowRec() const;
111 
112  double ptPanTauCellBasedProto() const;
113  double etaPanTauCellBasedProto() const;
114  double phiPanTauCellBasedProto() const;
115  double mPanTauCellBasedProto() const;
116 
117  double ptPanTauCellBased() const;
118  double etaPanTauCellBased() const;
119  double phiPanTauCellBased() const;
120  double mPanTauCellBased() const;
121 
123  virtual Type::ObjectType type() const;
124 
126 
127  // the summed up charge of all tau tracks
128  float charge() const;
129 
130  // set the charge
131  void setCharge(float);
132 
134  unsigned int ROIWord() const;
135 
136  // set the ROIWord, needed by TauTrigger
137  void setROIWord(unsigned int);
138 
141  bool hasDiscriminant( TauJetParameters::TauID discID ) const;
142 
145  double discriminant( TauJetParameters::TauID discID ) const;
146 
150  void setDiscriminant( TauJetParameters::TauID discID, double disc );
151 
154  bool isTau( TauJetParameters::IsTauFlag flag ) const;
155 
160 
165 
168  bool flag( TauJetParameters::VetoFlags flag ) const;
169 
170 
172  bool detail( TauJetParameters::Detail detail, int& value ) const;
173  bool detail( TauJetParameters::Detail detail, float& value ) const;
176 
177  // getter for specialized types. Compilation error if used with other types.
178  template <class T>
180  {
181  T temp;
182  if (this->detail(detail,temp)) return temp;
183  else return 0;
184  }
185 
191 
192  // getter for specialized types. Compilation error if used with other types.
193  template <class T>
195  {
196  T temp;
197  if (this->panTauDetail(panTauDetail,temp)) return temp;
198  else return 0;
199  }
200 
201  //seed jet
203 
204  const JetLink_t& jetLink() const;
205 
206  void setJetLink( const JetLink_t& jetLink );
207 
208  void setJet( const xAOD::JetContainer *cont, const xAOD::Jet *jet );
209 
210  const Jet* jet() const;
211 
212 
213  //vertex that the tau comes from
215 
216  const VertexLink_t& vertexLink() const;
217 
219 
220  void setVertex( const xAOD::VertexContainer *cont, const xAOD::Vertex *vertex );
221 
222  const Vertex* vertex() const;
223 
224 
225  //secondary vertex that the tau decays in
226 
228 
230 
231  void setSecondaryVertex( const xAOD::VertexContainer *cont, const xAOD::Vertex *vertex );
232 
233  const Vertex* secondaryVertex() const;
234 
235 
236 
237  //tracks
238  typedef std::vector< ElementLink< xAOD::TrackParticleContainer > > TrackParticleLinks_t;
239 
241 
242  void setTrackLinks( const TrackParticleLinks_t& trackParticles );
244  const TrackParticle* track( size_t i ) const;
246  size_t nTracks() const;
250  void clearTrackLinks();
251 
252  //name accessors for trackFilterPass
253  int trackFilterPass(unsigned int numTrack) const;
254  //name accessors for trackFilterPass
255  void setTrackFilterPass(unsigned int numTrack, int pass);
256 
257  //name accessors for trackFilterProngs
258  int trackFilterProngs() const;
259  //name accessors for trackFilterProngs
261 
262  //name accessors for trackFilterQuality
263  int trackFilterQuality() const;
264  //name accessors for trackFilterQuality
266 
267  //name accessors for pi0ConeDR
268  float pi0ConeDR() const;
269  //name accessors for pi0ConeDR
270  void setPi0ConeDR(float);
271 
272 
273  //name accessors for trackEtaStrip
274  float trackEtaStrip(unsigned int numTrack) const;
275  //name accessors for trackEtaStrip
276  void setTrackEtaStrip(unsigned int numTrack, float eta);
277 
278 
279  //name accessors for trackPhiStrip
280  float trackPhiStrip(unsigned int numTrack) const;
281  //name accessors for trackPhiStrip
282  void setTrackPhiStrip(unsigned int numTrack, float phi);
283 
284 
285  //conversion tracks
287 
288  void setConversionTrackLinks( const TrackParticleLinks_t& trackParticles );
290  const TrackParticle* conversionTrack( size_t i ) const;
292  size_t nConversionTracks() const;
297 
298 
299  //wide tracks
301 
302  void setWideTrackLinks( const TrackParticleLinks_t& trackParticles );
304  const TrackParticle* wideTrack( size_t i ) const;
306  size_t nWideTracks() const;
310  void clearWideTrackLinks();
311 
312 
313  //other tracks
315 
316  void setOtherTrackLinks( const TrackParticleLinks_t& trackParticles );
318  const TrackParticle* otherTrack( size_t i ) const;
320  size_t nOtherTracks() const;
324  void clearOtherTrackLinks();
325 
326 
327 
328  typedef std::vector< ElementLink< xAOD::PFOContainer > > PFOLinks_t;
329 
330 
331  //photon shot PFOs
333 
334  void setHadronic_PFOLinks( const PFOLinks_t& hadronic_PFOs );
336  const PFO* hadronic_PFO( size_t i ) const;
338  size_t nHadronic_PFOs() const;
342  void clearHadronic_PFOLinks();
343 
344 
345  //photon shot PFOs
346  const PFOLinks_t& shot_PFOLinks() const;
347 
348  void setShot_PFOLinks( const PFOLinks_t& shot_PFOs );
350  const PFO* shot_PFO( size_t i ) const;
352  size_t nShot_PFOs() const;
356  void clearShot_PFOLinks();
357 
358 
360  //
361  //charged PFOs
362  const PFOLinks_t& charged_PFOLinks() const;
363 
364  void setCharged_PFOLinks( const PFOLinks_t& charged_PFOs );
366  const PFO* charged_PFO( size_t i ) const;
368  size_t nCharged_PFOs() const;
372  void clearCharged_PFOLinks();
373 
374 
375  //neutral PFOs
376  const PFOLinks_t& neutral_PFOLinks() const;
377 
378  void setNeutral_PFOLinks( const PFOLinks_t& neutral_PFOs );
380  const PFO* neutral_PFO( size_t i ) const;
382  size_t nNeutral_PFOs() const;
386  void clearNeutral_PFOLinks();
387 
388 
389  //pi0 PFOs
390  const PFOLinks_t& pi0_PFOLinks() const;
391 
392  void setPi0_PFOLinks( const PFOLinks_t& pi0_PFOs );
394  const PFO* pi0_PFO( size_t i ) const;
396  size_t nPi0_PFOs() const;
400  void clearPi0_PFOLinks();
401 
402 
403 
404 
406  //
407  //cellbased_charged PFOs
409 
410  void setCellBased_Charged_PFOLinks( const PFOLinks_t& cellBased_Charged_PFOs );
412  const PFO* cellBased_Charged_PFO( size_t i ) const;
414  size_t nCellBased_Charged_PFOs() const;
419 
420 
421  //cellbased_neutral PFOs
423 
424  void setCellBased_Neutral_PFOLinks( const PFOLinks_t& cellBased_Neutral_PFOs );
426  const PFO* cellBased_Neutral_PFO( size_t i ) const;
428  size_t nCellBased_Neutral_PFOs() const;
433 
434 
435  //pi0 PFOs
437 
438  void setCellBased_Pi0_PFOLinks( const PFOLinks_t& cellBased_Pi0_PFOs );
440  const PFO* cellBased_Pi0_PFO( size_t i ) const;
442  size_t nCellBased_Pi0_PFOs() const;
447 
448 
449 
450 
452  //
453  //eflowRec_charged PFOs
455 
456  void setEflowRec_Charged_PFOLinks( const PFOLinks_t& eflowRec_Charged_PFOs );
458  const PFO* eflowRec_Charged_PFO( size_t i ) const;
460  size_t nEflowRec_Charged_PFOs() const;
465 
466 
467  //eflowRec_neutral PFOs
469 
470  void setEflowRec_Neutral_PFOLinks( const PFOLinks_t& eflowRec_Neutral_PFOs );
472  const PFO* eflowRec_Neutral_PFO( size_t i ) const;
474  size_t nEflowRec_Neutral_PFOs() const;
479 
480 
481  //pi0 PFOs
483 
484  void setEflowRec_Pi0_PFOLinks( const PFOLinks_t& eflowRec_Pi0_PFOs );
486  const PFO* eflowRec_Pi0_PFO( size_t i ) const;
488  size_t nEflowRec_Pi0_PFOs() const;
493 
494 
496 
497 
498  void dump() const;
499 
500 
501  }; // class TauJet
502 
503 } // namespace xAOD
504 
505 // Declare IParticle as a base class of TauJet_v1:
508 
509 #endif // XAODTAU_VERSIONS_TAUJET_V1_H
510 
511 // LocalWords: newROIWord
xAOD::TauJet_v1::etaPanTauCellBasedProto
double etaPanTauCellBasedProto() const
xAOD::TauJet_v1::nEflowRec_Charged_PFOs
size_t nEflowRec_Charged_PFOs() const
Get the number of eflowRec_charged PFO particles associated with this tau.
Definition: TauJet_v1.cxx:884
xAOD::TauJet_v1::setVertex
void setVertex(const xAOD::VertexContainer *cont, const xAOD::Vertex *vertex)
Definition: TauJet_v1.cxx:588
xAOD::TauJet_v1::phiTauEnergyScale
double phiTauEnergyScale() const
xAOD::TauJet_v1::setCellBased_Pi0_PFOLinks
void setCellBased_Pi0_PFOLinks(const PFOLinks_t &cellBased_Pi0_PFOs)
xAOD::TauJet_v1::flag
bool flag(TauJetParameters::VetoFlags flag) const
Get veto flag.
Definition: TauJet_v1.cxx:275
xAOD::TauJet_v1::rapidity
virtual double rapidity() const
The true rapidity (y) of the particle.
Definition: TauJet_v1.cxx:95
xAOD::TauJet_v1::nTracks
size_t nTracks() const
Get the number of track particles associated with this tau.
Definition: TauJet_v1.cxx:387
xAOD::TauJet_v1::setHadronic_PFOLinks
void setHadronic_PFOLinks(const PFOLinks_t &hadronic_PFOs)
xAOD::TauJet_v1::setPi0ConeDR
void setPi0ConeDR(float)
xAOD::TauJet_v1::setCharged_PFOLinks
void setCharged_PFOLinks(const PFOLinks_t &charged_PFOs)
xAOD::TauJet_v1::ptPanTauCellBasedProto
double ptPanTauCellBasedProto() const
IParticle.h
xAOD::TauJet_v1::track
const TrackParticle * track(size_t i) const
Get the pointer to a given track associated with this tau.
xAOD::TauJet_v1::wideTrack
const TrackParticle * wideTrack(size_t i) const
Get the pointer to a given track associated with this tau.
xAOD::TauJet_v1::setTrackFilterQuality
void setTrackFilterQuality(int)
xAOD::TauJet_v1::addShot_PFOLink
void addShot_PFOLink(const ElementLink< PFOContainer > &pfo)
add a shot PFO to the tau
Definition: TauJet_v1.cxx:666
xAOD::TauJet_v1::trackEtaStrip
float trackEtaStrip(unsigned int numTrack) const
Definition: TauJet_v1.cxx:432
xAOD::TauJet_v1::setConversionTrackLinks
void setConversionTrackLinks(const TrackParticleLinks_t &trackParticles)
xAOD::TauJetParameters::VetoFlags
VetoFlags
Enum for Veto flags.
Definition: TauDefs.h:103
xAOD::TauJet_v1::etaPanTauCellBased
double etaPanTauCellBased() const
xAOD::TauJet_v1::detail
xAODTAU_return_type< T >::type detail(TauJetParameters::Detail detail) const
Definition: TauJet_v1.h:179
xAOD::TauJet_v1::nEflowRec_Neutral_PFOs
size_t nEflowRec_Neutral_PFOs() const
Get the number of eflowRec_neutral PFO particles associated with this tau.
Definition: TauJet_v1.cxx:914
xAOD::TauJet_v1::eflowRec_Pi0_PFOLinks
const PFOLinks_t & eflowRec_Pi0_PFOLinks() const
xAOD::TauJet_v1::mJetSeed
double mJetSeed() const
xAOD::TauJet_v1::etaJetSeed
double etaJetSeed() const
xAOD::TauJet_v1::etaIntermediateAxis
double etaIntermediateAxis() const
xAOD::TauJet_v1::conversionTrackLinks
const TrackParticleLinks_t & conversionTrackLinks() const
xAOD::TauJet_v1::mDetectorAxis
double mDetectorAxis() const
xAOD::TauJet_v1::PFOLinks_t
std::vector< ElementLink< xAOD::PFOContainer > > PFOLinks_t
Definition: TauJet_v1.h:328
xAOD::TauJet_v1::clearEflowRec_Charged_PFOLinks
void clearEflowRec_Charged_PFOLinks()
Remove all eflowRec_charged PFOs from the tau.
Definition: TauJet_v1.cxx:894
xAOD::TauJet_v1::setShot_PFOLinks
void setShot_PFOLinks(const PFOLinks_t &shot_PFOs)
xAOD::TauJet_v1::charge
float charge() const
xAOD::TauJet_v1::addWideTrackLink
void addWideTrackLink(const ElementLink< TrackParticleContainer > &tr)
add a track to the tau
Definition: TauJet_v1.cxx:516
xAOD::TauJet_v1::clearHadronic_PFOLinks
void clearHadronic_PFOLinks()
Remove all hadronic PFOs from the tau.
Definition: TauJet_v1.cxx:643
xAOD::TauJet_v1::pi0ConeDR
float pi0ConeDR() const
xAOD::TauJet_v1::setTrackLinks
void setTrackLinks(const TrackParticleLinks_t &trackParticles)
xAOD::TauJet_v1::addEflowRec_Charged_PFOLink
void addEflowRec_Charged_PFOLink(const ElementLink< PFOContainer > &pfo)
add a eflowRec_charged PFO to the tau
Definition: TauJet_v1.cxx:888
PFOContainer.h
xAOD::TauJet_v1::eflowRec_Pi0_PFO
const PFO * eflowRec_Pi0_PFO(size_t i) const
Get the pointer to a given eflowRec_pi0 PFO associated with this tau.
xAOD::TauJet_v1::cellBased_Pi0_PFO
const PFO * cellBased_Pi0_PFO(size_t i) const
Get the pointer to a given cellbased_pi0 PFO associated with this tau.
xAOD::TauJet_v1::mTauEtaCalib
double mTauEtaCalib() const
xAOD::TauJet_v1::clearOtherTrackLinks
void clearOtherTrackLinks()
Remove all tracks from the tau.
Definition: TauJet_v1.cxx:549
xAOD::TauJet_v1::wideTrackLinks
const TrackParticleLinks_t & wideTrackLinks() const
xAOD::TauJet_v1::phiDetectorAxis
double phiDetectorAxis() const
athena.value
value
Definition: athena.py:122
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::TauJet_v1::charged_PFOLinks
const PFOLinks_t & charged_PFOLinks() const
default pfos
detail
Definition: extract_histogram_tag.cxx:14
xAOD::TauJet_v1::vertex
const Vertex * vertex() const
xAOD::TauJet_v1::addCharged_PFOLink
void addCharged_PFOLink(const ElementLink< PFOContainer > &pfo)
add a charged PFO to the tau
Definition: TauJet_v1.cxx:696
xAOD::TauJet_v1::nShot_PFOs
size_t nShot_PFOs() const
Get the number of shot PFO particles associated with this tau.
Definition: TauJet_v1.cxx:662
xAOD::TauJet_v1::mPanTauCellBasedProto
double mPanTauCellBasedProto() const
xAOD::TauJetParameters::TauID
TauID
Enum for discriminants.
Definition: TauDefs.h:46
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:40
xAOD::TauJet_v1::secondaryVertexLink
const VertexLink_t & secondaryVertexLink() const
xAOD::TauJet_v1::isTau
bool isTau(TauJetParameters::IsTauFlag flag) const
Get Flag for tau acceptance based on predefined arbitrary criteria.
Definition: TauJet_v1.cxx:246
xAOD::TauJet_v1::setCellBased_Charged_PFOLinks
void setCellBased_Charged_PFOLinks(const PFOLinks_t &cellBased_Charged_PFOs)
xAOD::TauJet_v1::ROIWord
unsigned int ROIWord() const
the ROIWord, in case TauJet is used in EF trigger
DATAVECTOR_BASE
DATAVECTOR_BASE(xAOD::TauJet_v1, xAOD::IParticle)
xAOD::TauJet_v1::otherTrackLinks
const TrackParticleLinks_t & otherTrackLinks() const
xAOD::TauJet_v1::nOtherTracks
size_t nOtherTracks() const
Get the number of track particles associated with this tau.
Definition: TauJet_v1.cxx:539
xAOD::TauJet_v1::ptTauEnergyScale
double ptTauEnergyScale() const
xAOD::TauJet_v1::setVertexLink
void setVertexLink(const VertexLink_t &vertexLink)
xAOD::TauJet_v1::setWideTrackLinks
void setWideTrackLinks(const TrackParticleLinks_t &trackParticles)
xAOD::TauJet_v1::addTrackLink
void addTrackLink(const ElementLink< TrackParticleContainer > &tr)
add a track to the tau
Definition: TauJet_v1.cxx:391
xAOD::TauJet_v1::discriminant
double discriminant(TauJetParameters::TauID discID) const
Get value of discriminant.
Definition: TauJet_v1.cxx:226
xAOD::TauJet_v1
Class describing a tau jet.
Definition: TauJet_v1.h:38
xAOD::TauJet_v1::addEflowRec_Pi0_PFOLink
void addEflowRec_Pi0_PFOLink(const ElementLink< PFOContainer > &pfo)
add a eflowRec_pi0 PFO to the tau
Definition: TauJet_v1.cxx:949
xAOD::TauJet_v1::clearShot_PFOLinks
void clearShot_PFOLinks()
Remove all shot PFOs from the tau.
Definition: TauJet_v1.cxx:672
xAOD::TauJet_v1::otherTrack
const TrackParticle * otherTrack(size_t i) const
Get the pointer to a given track associated with this tau.
xAOD::TauJet_v1::setTrackPhiStrip
void setTrackPhiStrip(unsigned int numTrack, float phi)
Definition: TauJet_v1.cxx:462
xAOD::TauJet_v1::jetLink
const JetLink_t & jetLink() const
xAOD::IParticle::FourMom_t
TLorentzVector FourMom_t
Definition of the 4-momentum type.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:68
xAOD::TauJet_v1::clearEflowRec_Pi0_PFOLinks
void clearEflowRec_Pi0_PFOLinks()
Remove all eflowRec_pi0 PFOs from the tau.
Definition: TauJet_v1.cxx:955
xAOD::TauJet_v1::setROIWord
void setROIWord(unsigned int)
xAOD::TauJet_v1::eflowRec_Neutral_PFOLinks
const PFOLinks_t & eflowRec_Neutral_PFOLinks() const
xAOD::TauJet_v1::addConversionTrackLink
void addConversionTrackLink(const ElementLink< TrackParticleContainer > &tr)
add a track to the tau
Definition: TauJet_v1.cxx:489
xAOD::TauJet_v1::m
virtual double m() const
The invariant mass of the particle.
xAOD::TauJet_v1::addNeutral_PFOLink
void addNeutral_PFOLink(const ElementLink< PFOContainer > &pfo)
add a neutral PFO to the tau
Definition: TauJet_v1.cxx:727
xAOD::TauJet_v1::cellBased_Charged_PFO
const PFO * cellBased_Charged_PFO(size_t i) const
Get the pointer to a given cellbased_charged PFO associated with this tau.
xAOD::TauJet_v1::mTauEnergyScale
double mTauEnergyScale() const
xAOD::TauJetParameters::Detail
Detail
Enum for tau parameters - used mainly for backward compatibility with the analysis code.
Definition: TauDefs.h:156
xAOD::TauJet_v1::genvecP4
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : internal taus type.
Definition: TauJet_v1.cxx:105
xAOD::TauJet_v1::trackFilterQuality
int trackFilterQuality() const
xAOD::TauJet_v1::conversionTrack
const TrackParticle * conversionTrack(size_t i) const
Get the pointer to a given track associated with this tau.
TauDefs.h
xAOD::TauJet_v1::ptDetectorAxis
double ptDetectorAxis() const
xAOD::TauJet_v1::clearCellBased_Neutral_PFOLinks
void clearCellBased_Neutral_PFOLinks()
Remove all cellbased_neutral PFOs from the tau.
Definition: TauJet_v1.cxx:828
xAOD::TauJet_v1::ptIntermediateAxis
double ptIntermediateAxis() const
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
xAOD::TauJet_v1::setPanTauDetail
void setPanTauDetail(TauJetParameters::PanTauDetails panTauDetail, int value)
Definition: TauJet_v1.cxx:359
xAOD::TauJet_v1::mPanTauCellBased
double mPanTauCellBased() const
xAOD::TauJet_v1::addCellBased_Neutral_PFOLink
void addCellBased_Neutral_PFOLink(const ElementLink< PFOContainer > &pfo)
add a cellbased_neutral PFO to the tau
Definition: TauJet_v1.cxx:822
xAOD::TauJetParameters::TauCalibType
TauCalibType
Enum for tau calib type.
Definition: TauDefs.h:335
xAOD::TauJet_v1::nPi0_PFOs
size_t nPi0_PFOs() const
Get the number of pi0 PFO particles associated with this tau.
Definition: TauJet_v1.cxx:754
lumiFormat.i
int i
Definition: lumiFormat.py:92
xAOD::TauJet_v1::setTrackFilterPass
void setTrackFilterPass(unsigned int numTrack, int pass)
Definition: TauJet_v1.cxx:413
xAOD::TauJet_v1::setSecondaryVertex
void setSecondaryVertex(const xAOD::VertexContainer *cont, const xAOD::Vertex *vertex)
Definition: TauJet_v1.cxx:609
xAOD::TauJet_v1::detail
bool detail(TauJetParameters::Detail detail, int &value) const
Get and set values of common details variables via enum.
Definition: TauJet_v1.cxx:288
xAOD::TauJet_v1::setFlag
void setFlag(TauJetParameters::VetoFlags flag, bool value)
Set veto flag.
Definition: TauJet_v1.cxx:266
xAOD::TauJet_v1::ptJetSeed
double ptJetSeed() const
IParticleContainer.h
xAOD::TauJet_v1::cellBased_Charged_PFOLinks
const PFOLinks_t & cellBased_Charged_PFOLinks() const
cellbased pfos
xAOD::TauJet_v1::phiPanTauCellBased
double phiPanTauCellBased() const
xAOD::TauJet_v1::clearConversionTrackLinks
void clearConversionTrackLinks()
Remove all tracks from the tau.
Definition: TauJet_v1.cxx:495
xAOD::TauJet_v1::mIntermediateAxis
double mIntermediateAxis() const
xAOD::TauJet_v1::setEflowRec_Pi0_PFOLinks
void setEflowRec_Pi0_PFOLinks(const PFOLinks_t &eflowRec_Pi0_PFOs)
xAOD::TauJet_v1::setDetail
void setDetail(TauJetParameters::Detail detail, int value)
Definition: TauJet_v1.cxx:316
xAOD::TauJet_v1::phiIntermediateAxis
double phiIntermediateAxis() const
xAOD::TauJet_v1::phiJetSeed
double phiJetSeed() const
xAOD::TauJet_v1::ptPanTauCellBased
double ptPanTauCellBased() const
xAOD::TauJet_v1::cellBased_Neutral_PFOLinks
const PFOLinks_t & cellBased_Neutral_PFOLinks() const
xAOD::TauJet_v1::dump
void dump() const
Definition: TauJet_v1.cxx:961
xAOD::TauJet_v1::etaTauEnergyScale
double etaTauEnergyScale() const
xAOD::TauJet_v1::nCellBased_Pi0_PFOs
size_t nCellBased_Pi0_PFOs() const
Get the number of cellbased_pi0 PFO particles associated with this tau.
Definition: TauJet_v1.cxx:849
xAOD::TauJet_v1::setOtherTrackLinks
void setOtherTrackLinks(const TrackParticleLinks_t &trackParticles)
xAOD::TauJet_v1::trackLinks
const TrackParticleLinks_t & trackLinks() const
xAOD::TauJet_v1::vertexLink
const VertexLink_t & vertexLink() const
xAOD::TauJet_v1::pt
virtual double pt() const
The transverse momentum ( ) of the particle.
xAOD::TauJet_v1::setIsTau
void setIsTau(TauJetParameters::IsTauFlag flag, bool value)
Set Flag for tau acceptance based on predefined arbitrary criteria.
Definition: TauJet_v1.cxx:254
xAOD::TauJet_v1::setDiscriminant
void setDiscriminant(TauJetParameters::TauID discID, double disc)
Set value of discriminant.
Definition: TauJet_v1.cxx:238
xAOD::TauJet_v1::nEflowRec_Pi0_PFOs
size_t nEflowRec_Pi0_PFOs() const
Get the number of eflowRec_pi0 PFO particles associated with this tau.
Definition: TauJet_v1.cxx:945
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
xAOD::TauJet_v1::hasDiscriminant
bool hasDiscriminant(TauJetParameters::TauID discID) const
Check if class contains requested discriminant.
Definition: TauJet_v1.cxx:215
xAOD::TauJet_v1::nCellBased_Charged_PFOs
size_t nCellBased_Charged_PFOs() const
Get the number of cellbased_charged PFO particles associated with this tau.
Definition: TauJet_v1.cxx:788
xAOD::TauJet_v1::clearCellBased_Pi0_PFOLinks
void clearCellBased_Pi0_PFOLinks()
Remove all cellbased_pi0 PFOs from the tau.
Definition: TauJet_v1.cxx:859
xAOD::TauJet_v1::setPi0_PFOLinks
void setPi0_PFOLinks(const PFOLinks_t &pi0_PFOs)
xAOD::TauJet_v1::panTauDetail
bool panTauDetail(TauJetParameters::PanTauDetails panTauDetail, int &value) const
Get and set values of pantau details variables via enum.
Definition: TauJet_v1.cxx:331
PFO
Definition: ClusterMomentPlots.h:13
xAOD::TauJet_v1::eta
virtual double eta() const
The pseudorapidity ( ) of the particle.
xAOD::TauJet_v1::nWideTracks
size_t nWideTracks() const
Get the number of track particles associated with this tau.
Definition: TauJet_v1.cxx:512
xAOD::TauJet_v1::pi0_PFOLinks
const PFOLinks_t & pi0_PFOLinks() const
xAOD::TauJet_v1::jet
const Jet * jet() const
xAOD::xAODTAU_return_type
Definition: TauDefs.h:24
xAOD::TauJet_v1::etaTauEtaCalib
double etaTauEtaCalib() const
xAOD::TauJet_v1::setSecondaryVertexLink
void setSecondaryVertexLink(const VertexLink_t &vertexLink)
xAOD::TauJet_v1::eflowRec_Charged_PFO
const PFO * eflowRec_Charged_PFO(size_t i) const
Get the pointer to a given eflowRec_charged PFO associated with this tau.
xAOD::TauJet_v1::TauJet_v1
TauJet_v1()
Default constructor.
Definition: TauJet_v1.cxx:24
xAOD::TauJet_v1::cellBased_Neutral_PFO
const PFO * cellBased_Neutral_PFO(size_t i) const
Get the pointer to a given cellbased_neutral PFO associated with this tau.
xAOD::TauJet_v1::clearWideTrackLinks
void clearWideTrackLinks()
Remove all tracks from the tau.
Definition: TauJet_v1.cxx:522
xAOD::TauJet_v1::addOtherTrackLink
void addOtherTrackLink(const ElementLink< TrackParticleContainer > &tr)
add a track to the tau
Definition: TauJet_v1.cxx:543
xAOD::TauJet_v1::TrackParticleLinks_t
std::vector< ElementLink< xAOD::TrackParticleContainer > > TrackParticleLinks_t
Definition: TauJet_v1.h:238
xAOD::TauJet_v1::shot_PFO
const PFO * shot_PFO(size_t i) const
Get the pointer to a given shot PFO associated with this tau.
xAOD::TauJet_v1::e
virtual double e() const
The total energy of the particle.
Definition: TauJet_v1.cxx:90
xAOD::TauJet_v1::eflowRec_Charged_PFOLinks
const PFOLinks_t & eflowRec_Charged_PFOLinks() const
eflowRec pfos
xAOD::TauJet_v1::clearTrackLinks
void clearTrackLinks()
Remove all tracks from the tau.
Definition: TauJet_v1.cxx:397
xAOD::TauJet_v1::addEflowRec_Neutral_PFOLink
void addEflowRec_Neutral_PFOLink(const ElementLink< PFOContainer > &pfo)
add a eflowRec_neutral PFO to the tau
Definition: TauJet_v1.cxx:918
xAOD::TauJet_v1::type
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
Definition: TauJet_v1.cxx:205
xAOD::TauJet_v1::panTauDetail
xAODTAU_return_type< T >::type panTauDetail(TauJetParameters::PanTauDetails panTauDetail) const
Definition: TauJet_v1.h:194
xAOD::TauJet_v1::setJetLink
void setJetLink(const JetLink_t &jetLink)
PlotSFuncertainty.calib
calib
Definition: PlotSFuncertainty.py:110
xAOD::TauJet_v1::cellBased_Pi0_PFOLinks
const PFOLinks_t & cellBased_Pi0_PFOLinks() const
xAOD::TauJet_v1::phiTauEtaCalib
double phiTauEtaCalib() const
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
xAOD::TauJet_v1::clearCharged_PFOLinks
void clearCharged_PFOLinks()
Remove all charged PFOs from the tau.
Definition: TauJet_v1.cxx:702
xAOD::TauJet_v1::setJet
void setJet(const xAOD::JetContainer *cont, const xAOD::Jet *jet)
Definition: TauJet_v1.cxx:567
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
xAOD::TauJet_v1::etaDetectorAxis
double etaDetectorAxis() const
xAOD::TauJet_v1::setTrackEtaStrip
void setTrackEtaStrip(unsigned int numTrack, float eta)
Definition: TauJet_v1.cxx:442
xAOD::TauJet_v1::VertexLink_t
ElementLink< xAOD::VertexContainer > VertexLink_t
Definition: TauJet_v1.h:214
VertexContainer.h
xAOD::TauJet_v1::neutral_PFO
const PFO * neutral_PFO(size_t i) const
Get the pointer to a given neutral PFO associated with this tau.
xAOD::TauJet_v1::clearNeutral_PFOLinks
void clearNeutral_PFOLinks()
Remove all neutral PFOs from the tau.
Definition: TauJet_v1.cxx:733
xAOD::TauJetParameters::PanTauDetails
PanTauDetails
Enum for tau details (scalar) calculated by pantau.
Definition: TauDefs.h:355
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
xAOD::TauJet_v1::addPi0_PFOLink
void addPi0_PFOLink(const ElementLink< PFOContainer > &pfo)
add a pi0 PFO to the tau
Definition: TauJet_v1.cxx:758
JetContainer.h
xAOD::TauJet_v1::setTrackFilterProngs
void setTrackFilterProngs(int)
xAOD::TauJet_v1::addHadronic_PFOLink
void addHadronic_PFOLink(const ElementLink< PFOContainer > &pfo)
add a hadronic PFO to the tau
Definition: TauJet_v1.cxx:637
xAOD::TauJet_v1::setEflowRec_Neutral_PFOLinks
void setEflowRec_Neutral_PFOLinks(const PFOLinks_t &eflowRec_Neutral_PFOs)
xAOD::TauJet_v1::phi
virtual double phi() const
The azimuthal angle ( ) of the particle.
xAOD::TauJet_v1::nCellBased_Neutral_PFOs
size_t nCellBased_Neutral_PFOs() const
Get the number of cellbased_neutral PFO particles associated with this tau.
Definition: TauJet_v1.cxx:818
xAOD::TauJet_v1::p4
virtual FourMom_t p4() const
The full 4-momentum of the particle.
Definition: TauJet_v1.cxx:99
xAOD::TauJet_v1::hadronic_PFO
const PFO * hadronic_PFO(size_t i) const
Get the pointer to a given hadronic PFO associated with this tau.
xAOD::TauJet_v1::GenVecFourMom_t
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
Base 4 Momentum type for taus.
Definition: TauJet_v1.h:66
xAOD::TauJetParameters::IsTauFlag
IsTauFlag
Enum for IsTau flags.
Definition: TauDefs.h:116
xAOD::TauJet_v1::hadronic_PFOLinks
const PFOLinks_t & hadronic_PFOLinks() const
xAOD::TauJet_v1::setNeutral_PFOLinks
void setNeutral_PFOLinks(const PFOLinks_t &neutral_PFOs)
xAOD::TauJet_v1::trackFilterProngs
int trackFilterProngs() const
xAOD::TauJet_v1::eflowRec_Neutral_PFO
const PFO * eflowRec_Neutral_PFO(size_t i) const
Get the pointer to a given eflowRec_neutral PFO associated with this tau.
xAOD::TauJet_v1::ptTauEtaCalib
double ptTauEtaCalib() const
xAOD::TauJet_v1::charged_PFO
const PFO * charged_PFO(size_t i) const
Get the pointer to a given charged PFO associated with this tau.
xAOD::TauJet_v1::nConversionTracks
size_t nConversionTracks() const
Get the number of track particles associated with this tau.
Definition: TauJet_v1.cxx:485
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
xAOD::TauJet_v1::setEflowRec_Charged_PFOLinks
void setEflowRec_Charged_PFOLinks(const PFOLinks_t &eflowRec_Charged_PFOs)
xAOD::TauJet_v1::nCharged_PFOs
size_t nCharged_PFOs() const
Get the number of charged PFO particles associated with this tau.
Definition: TauJet_v1.cxx:692
xAOD::TauJet_v1::trackPhiStrip
float trackPhiStrip(unsigned int numTrack) const
Definition: TauJet_v1.cxx:452
xAODType::ObjectType
ObjectType
Type of objects that have a representation in the xAOD EDM.
Definition: ObjectType.h:32
xAOD::TauJet_v1::clearCellBased_Charged_PFOLinks
void clearCellBased_Charged_PFOLinks()
Remove all cellbased_charged PFOs from the tau.
Definition: TauJet_v1.cxx:798
xAOD::TauJet_v1::shot_PFOLinks
const PFOLinks_t & shot_PFOLinks() const
xAOD::TauJet_v1::addCellBased_Pi0_PFOLink
void addCellBased_Pi0_PFOLink(const ElementLink< PFOContainer > &pfo)
add a cellbased_pi0 PFO to the tau
Definition: TauJet_v1.cxx:853
xAOD::TauJet_v1::pi0_PFO
const PFO * pi0_PFO(size_t i) const
Get the pointer to a given pi0 PFO associated with this tau.
xAOD::TauJet_v1::trackFilterPass
int trackFilterPass(unsigned int numTrack) const
Definition: TauJet_v1.cxx:403
xAOD::TauJet_v1::addCellBased_Charged_PFOLink
void addCellBased_Charged_PFOLink(const ElementLink< PFOContainer > &pfo)
add a cellbased_charged PFO to the tau
Definition: TauJet_v1.cxx:792
xAOD::TauJet_v1::JetLink_t
ElementLink< xAOD::JetContainer > JetLink_t
Definition: TauJet_v1.h:202
TrackParticleContainer.h
xAOD::TauJet_v1::setCharge
void setCharge(float)
xAOD::TauJet_v1::clearPi0_PFOLinks
void clearPi0_PFOLinks()
Remove all pi0 PFOs from the tau.
Definition: TauJet_v1.cxx:764
xAOD::TauJet_v1::setCellBased_Neutral_PFOLinks
void setCellBased_Neutral_PFOLinks(const PFOLinks_t &cellBased_Neutral_PFOs)
xAOD::TauJet_v1::clearEflowRec_Neutral_PFOLinks
void clearEflowRec_Neutral_PFOLinks()
Remove all eflowRec_neutral PFOs from the tau.
Definition: TauJet_v1.cxx:924
xAOD::TauJet_v1::nNeutral_PFOs
size_t nNeutral_PFOs() const
Get the number of neutral PFO particles associated with this tau.
Definition: TauJet_v1.cxx:723
xAOD::TauJet_v1::setP4
void setP4(double pt, double eta, double phi, double m)
Set methods for IParticle values.
Definition: TauJet_v1.cxx:173
xAOD::TauJet_v1::nHadronic_PFOs
size_t nHadronic_PFOs() const
Get the number of hadronic PFO particles associated with this tau.
Definition: TauJet_v1.cxx:633
xAOD::TauJet_v1::phiPanTauCellBasedProto
double phiPanTauCellBasedProto() const
xAOD::TauJet_v1::neutral_PFOLinks
const PFOLinks_t & neutral_PFOLinks() const
xAOD::TauJet_v1::secondaryVertex
const Vertex * secondaryVertex() const