ATLAS Offline Software
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | Private Attributes | List of all members
TrigTau Class Reference

File: TrigTau.h. More...

#include <TrigTau.h>

Inheritance diagram for TrigTau:
Collaboration diagram for TrigTau:

Public Types

enum  Kind {
  P4EETAPHIM, P4IPTCOTTHPHIM, P4PTETAPHIM, P4PXPYPZE,
  UNKNOWN
}
 

Public Member Functions

 TrigTau ()
 File: TrigTau.cxx. More...
 
 TrigTau (int roi, float eta, float phi, float zvtx, float pt, float err_zvtx, float etCalib, float etFlow, int ntracks, const TrigTauCluster *cluster, const TrigInDetTrackCollection *tracks, const TrigTauTracksInfo *tracksInfo)
 
 TrigTau (int roi, float eta=0, float phi=0, float zvtx=0, float pt=0, float etCalib=0, float etFlow=0, int ntracks=0, const TrigTauCluster *cluster=NULL, const TrigInDetTrackCollection *tracks=NULL, const TrigTauTracksInfo *tracksInfo=NULL)
 
 ~TrigTau ()
 
int roiId () const
 accessor methods More...
 
float Zvtx () const
 
float err_Zvtx () const
 
float etCalibCluster () const
 
float simpleEtFlow () const
 
int nMatchedTracks () const
 
float trkAvgDist () const
 
float etOverPtLeadTrk () const
 
const TrigTauClustertauCluster () const
 
const TrigInDetTrackCollectiontrackCollection () const
 
const TrigTauTracksInfotracksInfo () const
 
void setRoiId (int roiId)
 set methods More...
 
void setZvtx (float zvtx)
 
void setErr_Zvtx (float err_zvtx)
 
void setEtCalibCluster (float etCalibCluster)
 
void setSimpleEtFlow (float etFlow)
 
void setNMatchedTracks (int nmatchedTracks)
 
void setTauCluster (const TrigTauCluster *tauCluster)
 
void setTrackCollection (const TrigInDetTrackCollection *trackColl)
 
void setTracksInfo (const TrigTauTracksInfo *trackInfo)
 
void setTrkAvgDist (float trkAvgDist)
 
void setEtOverPtLeadTrk (float etOverPtLeadTrk)
 
virtual double pt () const
 get pt data member More...
 
virtual double eta () const
 get eta data member More...
 
virtual double phi () const
 get phi data member More...
 
virtual double m () const
 get mass data member More...
 
virtual void setPt (double thePt)
 set pt data member More...
 
virtual void setEta (double theEta)
 set eta data member More...
 
virtual void setPhi (double thePhi)
 set phi data member More...
 
virtual void setM (double theM)
 set mass data member More...
 
virtual void set4Mom (const I4Momentum &theI4Mom)
 set all 4-mom from another I4Momentum reference
More...
 
virtual void set4Mom (const I4Momentum *const theI4Mom)
 set all 4-mom from another I4Momentum pointer
More...
 
virtual void set4Mom (const CLHEP::HepLorentzVector &theHlv)
 set all 4-mom from a CLHEP HepLorentzVector More...
 
virtual const I4MomentumErrorerrors () const
 Access to errors, if available; returns 0 if no errors. More...
 
virtual double px () const
 x component of momentum More...
 
virtual double py () const
 y component of momentum More...
 
virtual double pz () const
 z component of momentum More...
 
virtual double e () const
 energy More...
 
virtual double p () const
 magnitude of 3-momentum. More...
 
virtual double p2 () const
 square of momentum magnitude More...
 
virtual double m2 () const
 mass squared More...
 
virtual double et () const
 transverse energy defined to be e*sin(theta) More...
 
virtual double iPt () const
 inverse of transverse momentum More...
 
virtual double rapidity () const
 rapidity More...
 
virtual double cosPhi () const
 cosinus phi More...
 
virtual double sinPhi () const
 sinus phi More...
 
virtual double cotTh () const
 cottan theta More...
 
virtual double cosTh () const
 cosinus theta More...
 
virtual double sinTh () const
 sinus theta More...
 
virtual double tanTh () const
 tan theta More...
 
virtual CLHEP::HepLorentzVector hlv () const
 HepLorentzVector Special implementation from Frank Paige : if negative energy, points in opposite direction but eta and phi still the same
More...
 
I4Momentum::Kind kind () const
 tells what kind of P4XYZT this is More...
 
virtual std::ostream & dump (std::ostream &out) const
 Print I4Momentum content. More...
 
virtual void fillToken (INavigationToken &) const
 
virtual void fillToken (INavigationToken &, const std::any &) const
 
virtual AthenaBarCode_t getAthenaBarCode () const
 
virtual void setAthenaBarCode (AthenaBarCode_t)
 
virtual bool hasSameAthenaBarCode (const IAthenaBarCode &) const
 
virtual bool hasSameAthenaBarCodeExceptVersion (const IAthenaBarCode &) const
 
virtual AthenaBarCodeVersion_t getVersion () const
 
virtual void newVersion ()
 
virtual void setVersion (AthenaBarCodeVersion_t)
 

Static Public Attributes

static const AthenaBarCode_t UNDEFINEDBARCODE = (AthenaBarCode_t)(-1)
 
static const AthenaBarCode_t UNDEFINEDVERSION = UNDEFINEDBARCODE
 

Protected Attributes

double m_pt
 
double m_eta
 
double m_phi
 
double m_m
 

Private Attributes

int m_roiID
 Identifier of the RoI. More...
 
float m_Zvtx
 Z coordinate of the tau vertex. More...
 
float m_err_Zvtx
 Error on z coordinate. More...
 
float m_etCalibCluster
 Transverse energy of the calibrated tau cluster. More...
 
float m_simpleEtFlow
 EtFlow as calculated from 3 fastest tracks and cluster with energy of first 3 EM samplings. More...
 
int m_nMatchedTracks
 Number of tracks matched to the calorimeter cluster. More...
 
const TrigTauClusterm_cluster
 Calorimeter tau cluster. More...
 
const TrigTauTracksInfom_tracksInfo
 Collection of inner detector tracks. More...
 
const TrigInDetTrackCollectionm_tracks
 Collection of inner detector tracks. More...
 
float m_trkAvgDist
 average distance of tracks to tau direction More...
 
float m_etOverPtLeadTrk
 ration of cluster energy to leading pt track More...
 

Detailed Description

File: TrigTau.h.

Description: To be created by the last FEX algorithm.

Design: Must be light and easy to serialize AND to store in ESD; should avoid ElementLinks and try to persistify pointers instead; should avoid inheritance to be easy to serialize.

Authour: M.P. Casado - Tu Mar 01 2006

Modified:

Definition at line 36 of file TrigTau.h.

Member Enumeration Documentation

◆ Kind

enum I4Momentum::Kind
inherited
Enumerator
P4EETAPHIM 
P4IPTCOTTHPHIM 
P4PTETAPHIM 
P4PXPYPZE 
UNKNOWN 

Definition at line 33 of file I4Momentum.h.

Constructor & Destructor Documentation

◆ TrigTau() [1/3]

TrigTau::TrigTau ( )

File: TrigTau.cxx.

Description: To be created by the last FEX algorithm.

Design: Must be light and easy to serialize AND to store in ESD; should avoid ElementLinks and try to persistify pointers instead; should avoid inheritance to be easy to serialize.

Authour: M.P. Casado - Tu Mar 01 2006

Modified:

Definition at line 27 of file TrigTau.cxx.

28  m_roiID(-1), m_Zvtx(0),
29  m_err_Zvtx(0),
31  m_cluster(NULL), m_tracksInfo(NULL), m_tracks(NULL),
33 {}

◆ TrigTau() [2/3]

TrigTau::TrigTau ( int  roi,
float  eta,
float  phi,
float  zvtx,
float  pt,
float  err_zvtx,
float  etCalib,
float  etFlow,
int  ntracks,
const TrigTauCluster cluster,
const TrigInDetTrackCollection tracks,
const TrigTauTracksInfo tracksInfo 
)

Definition at line 36 of file TrigTau.cxx.

41  :
43  m_roiID(roi), m_Zvtx(zvtx),
44  m_err_Zvtx(err_zvtx),
45  m_etCalibCluster(etCalibClusterr), m_simpleEtFlow(etFlowr), m_nMatchedTracks(nMatchedTracks),
46  m_cluster(cluster), m_tracksInfo(tracksInfo), m_tracks(tracks),
48 {}

◆ TrigTau() [3/3]

TrigTau::TrigTau ( int  roi,
float  eta = 0,
float  phi = 0,
float  zvtx = 0,
float  pt = 0,
float  etCalib = 0,
float  etFlow = 0,
int  ntracks = 0,
const TrigTauCluster cluster = NULL,
const TrigInDetTrackCollection tracks = NULL,
const TrigTauTracksInfo tracksInfo = NULL 
)

Definition at line 52 of file TrigTau.cxx.

56  :
58  m_roiID(roi),
59  m_Zvtx(zvtx),
60  m_err_Zvtx(0),
61  m_etCalibCluster(etCalibClusterr), m_simpleEtFlow(etFLow),
65 {}

◆ ~TrigTau()

TrigTau::~TrigTau ( )

Definition at line 68 of file TrigTau.cxx.

68 {}

Member Function Documentation

◆ cosPhi()

double P4PtEtaPhiMBase::cosPhi ( ) const
virtualinherited

cosinus phi

Implements I4Momentum.

Definition at line 55 of file P4PtEtaPhiMBase.cxx.

56 {
57  return std::cos(this->phi());
58 }

◆ cosTh()

double P4PtEtaPhiMBase::cosTh ( ) const
virtualinherited

cosinus theta

Implements I4Momentum.

Definition at line 70 of file P4PtEtaPhiMBase.cxx.

71 {
72  return std::tanh(this->eta());
73 }

◆ cotTh()

double P4PtEtaPhiMBase::cotTh ( ) const
virtualinherited

cottan theta

Implements I4Momentum.

Definition at line 65 of file P4PtEtaPhiMBase.cxx.

66 {
67  return std::sinh(this->eta());
68 }

◆ dump()

std::ostream & P4PtEtaPhiMBase::dump ( std::ostream &  out) const
virtualinherited

Print I4Momentum content.

Implements I4Momentum.

Definition at line 147 of file P4PtEtaPhiMBase.cxx.

148 {
149  std::stringstream outx;
150  outx << "[pt,eta,phi,m] ="
151  << std::right << std::scientific << std::setprecision(8)
152  << std::setw(16) << this->pt()
153  << std::setw(16) << this->eta()
154  << std::setw(16) << this->phi()
155  << std::setw(16) << this->m();
156  out<<outx.str();
157 
158  return out;
159 
160 }

◆ e()

double P4PtEtaPhiMBase::e ( ) const
virtualinherited

energy

Implements I4Momentum.

Definition at line 13 of file P4PtEtaPhiMBase.cxx.

14 {
15  const double theMass = this->m();
16  const double thePt = this->pt();
17  const double thePz = this->pz();
18 
19  //DR from Frank Paige
20  // if negative pt point in the opposite direction
21  // BUT eta and phi still the same !!!
22 
23  double eSign = (thePt >= 0.) ? +1. : -1.;
24  return eSign*std::sqrt(thePt*thePt + thePz*thePz + theMass*theMass);
25 }

◆ err_Zvtx()

float TrigTau::err_Zvtx ( ) const

Definition at line 75 of file TrigTau.cxx.

75 { return m_err_Zvtx; }

◆ errors()

const I4MomentumError * P4PtEtaPhiM::errors ( ) const
virtualinherited

Access to errors, if available; returns 0 if no errors.

Reimplemented from P4PtEtaPhiMBase.

Definition at line 7 of file P4PtEtaPhiM.cxx.

8 {
9  return 0;
10 }

◆ et()

double P4PtEtaPhiMBase::et ( ) const
virtualinherited

transverse energy defined to be e*sin(theta)

Implements I4Momentum.

Definition at line 101 of file P4PtEtaPhiMBase.cxx.

102  {
103  return this->e()*this->sinTh();
104  }

◆ eta()

double P4PtEtaPhiM::eta ( ) const
inlinevirtualinherited

get eta data member

Implements I4Momentum.

Definition at line 106 of file P4PtEtaPhiM.h.

107 { return m_eta;}

◆ etCalibCluster()

float TrigTau::etCalibCluster ( ) const

Definition at line 77 of file TrigTau.cxx.

77 { return m_etCalibCluster; }

◆ etOverPtLeadTrk()

float TrigTau::etOverPtLeadTrk ( ) const

Definition at line 83 of file TrigTau.cxx.

83 { return m_etOverPtLeadTrk; }

◆ fillToken() [1/2]

virtual void NavigableTerminalNode::fillToken ( INavigationToken ) const
inlinevirtualinherited

Implements INavigable.

Definition at line 31 of file NavigableTerminalNode.h.

31 { };

◆ fillToken() [2/2]

virtual void NavigableTerminalNode::fillToken ( INavigationToken ,
const std::any &   
) const
inlinevirtualinherited

Implements INavigable.

Definition at line 32 of file NavigableTerminalNode.h.

32 { };

◆ getAthenaBarCode()

virtual AthenaBarCode_t IAthenaBarCode::getAthenaBarCode ( ) const
inlinevirtualinherited

◆ getVersion()

virtual AthenaBarCodeVersion_t IAthenaBarCode::getVersion ( ) const
inlinevirtualinherited

◆ hasSameAthenaBarCode()

virtual bool IAthenaBarCode::hasSameAthenaBarCode ( const IAthenaBarCode ) const
inlinevirtualinherited

◆ hasSameAthenaBarCodeExceptVersion()

virtual bool IAthenaBarCode::hasSameAthenaBarCodeExceptVersion ( const IAthenaBarCode ) const
inlinevirtualinherited

◆ hlv()

CLHEP::HepLorentzVector P4PtEtaPhiMBase::hlv ( ) const
virtualinherited

HepLorentzVector Special implementation from Frank Paige : if negative energy, points in opposite direction but eta and phi still the same

Implements I4Momentum.

Definition at line 128 of file P4PtEtaPhiMBase.cxx.

129 {
130  //minimize the number of calculation and dereference
131  const double theM = this->m();
132  // note that pt can have negative sign : then it points in opposite direction but eta and phi are still on the same side
133  const double thePt = this->pt();
134 
135 
136  const double thePx = thePt*this->cosPhi();
137  const double thePy = thePt*this->sinPhi();
138 
139  const double thePz = thePt*this->cotTh();
140 
141  const double theE=std::sqrt(thePt*thePt+thePz*thePz+theM*theM);
142 
143 
144  return CLHEP::HepLorentzVector( thePx, thePy, thePz, theE );
145 }

◆ iPt()

double P4PtEtaPhiMBase::iPt ( ) const
virtualinherited

inverse of transverse momentum

Implements I4Momentum.

Definition at line 106 of file P4PtEtaPhiMBase.cxx.

107  { return 1./this->pt();
108  }

◆ kind()

I4Momentum::Kind P4PtEtaPhiMBase::kind ( ) const
inlinevirtualinherited

tells what kind of P4XYZT this is

Implements I4Momentum.

Definition at line 64 of file P4PtEtaPhiMBase.h.

64 { return I4Momentum::P4PTETAPHIM; };

◆ m()

double P4PtEtaPhiM::m ( ) const
inlinevirtualinherited

get mass data member

Implements I4Momentum.

Definition at line 112 of file P4PtEtaPhiM.h.

113 { return m_m;}

◆ m2()

double P4PtEtaPhiMBase::m2 ( ) const
virtualinherited

mass squared

Implements I4Momentum.

Definition at line 50 of file P4PtEtaPhiMBase.cxx.

51 { const double theM=this->m();
52  return theM*theM;
53 }

◆ newVersion()

virtual void IAthenaBarCode::newVersion ( )
inlinevirtualinherited

Reimplemented in Rec::TrackParticle, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleSigStateImpl< Navigable< INavigable4MomentumCollection, double >, P4ImplPxPyPzE >, ParticleSigStateImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< NavigableTerminalNode, P4ImplEEtaPhiM, ParticleEvent::Base >, ParticleImpl< TruthParticleNavigation, TruthParticleMomentum, TruthParticleBase >, ParticleImpl< CompositeParticleNavigation, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4PtEtaPhiM >, ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >, ParticleImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< egammaNavigation, P4ImplEEtaPhiM >, ParticleImpl< ::Analysis::MuonNavigation, ::P4ImplIPtCotThPhiM >, ParticleImpl< NavigableTerminalNode, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4ImplIPtCotThPhiM, ParticleEvent::Base >, ParticleImpl< NeutrinoNavigation, P4ImplPxPyPzE >, and AthenaBarCodeBase.

Definition at line 89 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.

89  {
90  // throw std::runtime_error("IAthenaBarCode::newVersion():: can't newVersion() in the dummy implementation");
91  }

◆ nMatchedTracks()

int TrigTau::nMatchedTracks ( ) const

Definition at line 81 of file TrigTau.cxx.

81 { return m_nMatchedTracks; }

◆ p()

double P4PtEtaPhiMBase::p ( ) const
virtualinherited

magnitude of 3-momentum.

Special implementation from Frank Paige : if negative energy p is negative but eta and phi still the same.

Implements I4Momentum.

Definition at line 27 of file P4PtEtaPhiMBase.cxx.

28 {
29  const double thePt = this->pt();
30  const double thePz = this->pz();
31 
32  //DR from Frank Paige
33  // if negative pt point in the opposite direction
34  // BUT eta and phi still the same !!!
35 
36  double eSign = (thePt >= 0.) ? +1. : -1.;
37  return eSign*std::sqrt(thePt*thePt + thePz*thePz);
38 }

◆ p2()

double P4PtEtaPhiMBase::p2 ( ) const
virtualinherited

square of momentum magnitude

Implements I4Momentum.

Definition at line 40 of file P4PtEtaPhiMBase.cxx.

41 {
42  /* This method has been implemented so as to give the same as would be obtained from pow((this->p()),2) with this->p() implemented according to Frank Paige's algorithm above. */
43 
44  const double thePt = this->pt();
45  const double thePz = this->pz();
46 
47  return thePt*thePt + thePz*thePz;
48 }

◆ phi()

double P4PtEtaPhiM::phi ( ) const
inlinevirtualinherited

get phi data member

Implements I4Momentum.

Definition at line 109 of file P4PtEtaPhiM.h.

110 { return m_phi;}

◆ pt()

double P4PtEtaPhiM::pt ( ) const
inlinevirtualinherited

get pt data member

Implements I4Momentum.

Definition at line 103 of file P4PtEtaPhiM.h.

104 { return m_pt;}

◆ px()

double P4PtEtaPhiMBase::px ( ) const
virtualinherited

x component of momentum

Implements I4Momentum.

Definition at line 117 of file P4PtEtaPhiMBase.cxx.

118  { return this->pt()*this->cosPhi();
119  }

◆ py()

double P4PtEtaPhiMBase::py ( ) const
virtualinherited

y component of momentum

Implements I4Momentum.

Definition at line 121 of file P4PtEtaPhiMBase.cxx.

122  { return this->pt()*this->sinPhi();
123  }

◆ pz()

double P4PtEtaPhiMBase::pz ( ) const
virtualinherited

z component of momentum

Implements I4Momentum.

Definition at line 125 of file P4PtEtaPhiMBase.cxx.

126 { return this->pt()*this->cotTh(); }

◆ rapidity()

double P4PtEtaPhiMBase::rapidity ( ) const
virtualinherited

rapidity

Implements I4Momentum.

Definition at line 110 of file P4PtEtaPhiMBase.cxx.

111  {
112  const double theE=this->e();
113  const double thePz=this->pz();
114  return 0.5*std::log((theE+thePz)/(theE-thePz));
115  }

◆ roiId()

int TrigTau::roiId ( ) const

accessor methods

Definition at line 71 of file TrigTau.cxx.

71 { return m_roiID; }

◆ set4Mom() [1/3]

void P4PtEtaPhiM::set4Mom ( const CLHEP::HepLorentzVector &  theHlv)
inlinevirtualinherited

set all 4-mom from a CLHEP HepLorentzVector

Reimplemented from P4PtEtaPhiMBase.

Definition at line 140 of file P4PtEtaPhiM.h.

141 {
142  m_pt=theHlv.perp();
143  m_eta=theHlv.eta();
144  //FIXME protect against negative energy
145  //assert(m_e >= 0,"P4PtEtaPhiM::set4Mom cannot have negative energy");
146  //assert(m_e >= 0);
147  // FIXME of the FIXME in fact it is not necessary to prtoect against negative energy
148  // and besides Seal assert does not work
149  // ASSERT( m_e >= 0 );
150  m_phi=theHlv.phi();
151  m_m=theHlv.m();
152 
153 
154 }

◆ set4Mom() [2/3]

void P4PtEtaPhiM::set4Mom ( const I4Momentum theI4Mom)
inlinevirtualinherited

set all 4-mom from another I4Momentum reference

Reimplemented from P4PtEtaPhiMBase.

Definition at line 127 of file P4PtEtaPhiM.h.

128 {
129  m_pt=theI4Mom.pt();
130  m_eta=theI4Mom.eta();
131  m_phi=theI4Mom.phi();
132  m_m=theI4Mom.m();
133 }

◆ set4Mom() [3/3]

void P4PtEtaPhiM::set4Mom ( const I4Momentum *const  theI4Mom)
inlinevirtualinherited

set all 4-mom from another I4Momentum pointer

Reimplemented from P4PtEtaPhiMBase.

Definition at line 135 of file P4PtEtaPhiM.h.

136 {
137  this->set4Mom(*theI4Mom);
138 }

◆ setAthenaBarCode()

virtual void IAthenaBarCode::setAthenaBarCode ( AthenaBarCode_t  )
inlinevirtualinherited

Reimplemented in Rec::TrackParticle, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleSigStateImpl< Navigable< INavigable4MomentumCollection, double >, P4ImplPxPyPzE >, ParticleSigStateImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< NavigableTerminalNode, P4ImplEEtaPhiM, ParticleEvent::Base >, ParticleImpl< TruthParticleNavigation, TruthParticleMomentum, TruthParticleBase >, ParticleImpl< CompositeParticleNavigation, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4PtEtaPhiM >, ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >, ParticleImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< egammaNavigation, P4ImplEEtaPhiM >, ParticleImpl< ::Analysis::MuonNavigation, ::P4ImplIPtCotThPhiM >, ParticleImpl< NavigableTerminalNode, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4ImplIPtCotThPhiM, ParticleEvent::Base >, ParticleImpl< NeutrinoNavigation, P4ImplPxPyPzE >, and AthenaBarCodeBase.

Definition at line 71 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.

71  {
72  // throw std::runtime_error("IAthenaBarCode::setAthenaBarCode():: can't set AthenaBarCode in the dummy implementation");
73  }

◆ setErr_Zvtx()

void TrigTau::setErr_Zvtx ( float  err_zvtx)

Definition at line 93 of file TrigTau.cxx.

93 {m_err_Zvtx = err_zvtx;}

◆ setEta()

void P4PtEtaPhiM::setEta ( double  theEta)
inlinevirtualinherited

set eta data member

Definition at line 118 of file P4PtEtaPhiM.h.

119 { m_eta = theEta;}

◆ setEtCalibCluster()

void TrigTau::setEtCalibCluster ( float  etCalibCluster)

Definition at line 94 of file TrigTau.cxx.

◆ setEtOverPtLeadTrk()

void TrigTau::setEtOverPtLeadTrk ( float  etOverPtLeadTrk)

Definition at line 103 of file TrigTau.cxx.

◆ setM()

void P4PtEtaPhiM::setM ( double  theM)
inlinevirtualinherited

set mass data member

Definition at line 124 of file P4PtEtaPhiM.h.

125 { m_m = theM;}

◆ setNMatchedTracks()

void TrigTau::setNMatchedTracks ( int  nmatchedTracks)

Definition at line 96 of file TrigTau.cxx.

◆ setPhi()

void P4PtEtaPhiM::setPhi ( double  thePhi)
inlinevirtualinherited

set phi data member

Definition at line 121 of file P4PtEtaPhiM.h.

122 { m_phi = thePhi;}

◆ setPt()

void P4PtEtaPhiM::setPt ( double  thePt)
inlinevirtualinherited

set pt data member

Definition at line 115 of file P4PtEtaPhiM.h.

116 { m_pt = thePt;}

◆ setRoiId()

void TrigTau::setRoiId ( int  roiId)

set methods

Definition at line 91 of file TrigTau.cxx.

91 {m_roiID = roiId;}

◆ setSimpleEtFlow()

void TrigTau::setSimpleEtFlow ( float  etFlow)

Definition at line 95 of file TrigTau.cxx.

95 {m_simpleEtFlow = etFlow; }

◆ setTauCluster()

void TrigTau::setTauCluster ( const TrigTauCluster tauCluster)

Definition at line 97 of file TrigTau.cxx.

◆ setTrackCollection()

void TrigTau::setTrackCollection ( const TrigInDetTrackCollection trackColl)

Definition at line 98 of file TrigTau.cxx.

98  {m_tracks =
99 trackColl ;}

◆ setTracksInfo()

void TrigTau::setTracksInfo ( const TrigTauTracksInfo trackInfo)

Definition at line 100 of file TrigTau.cxx.

100  {m_tracksInfo =
101 tracksInfo ;}

◆ setTrkAvgDist()

void TrigTau::setTrkAvgDist ( float  trkAvgDist)

Definition at line 102 of file TrigTau.cxx.

◆ setVersion()

virtual void IAthenaBarCode::setVersion ( AthenaBarCodeVersion_t  )
inlinevirtualinherited

Reimplemented in Rec::TrackParticle, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleSigStateImpl< Navigable< INavigable4MomentumCollection, double >, P4ImplPxPyPzE >, ParticleSigStateImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< NavigableTerminalNode, P4ImplEEtaPhiM, ParticleEvent::Base >, ParticleImpl< TruthParticleNavigation, TruthParticleMomentum, TruthParticleBase >, ParticleImpl< CompositeParticleNavigation, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4PtEtaPhiM >, ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >, ParticleImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< egammaNavigation, P4ImplEEtaPhiM >, ParticleImpl< ::Analysis::MuonNavigation, ::P4ImplIPtCotThPhiM >, ParticleImpl< NavigableTerminalNode, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4ImplIPtCotThPhiM, ParticleEvent::Base >, ParticleImpl< NeutrinoNavigation, P4ImplPxPyPzE >, and AthenaBarCodeBase.

Definition at line 93 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.

93  {
94  // throw std::runtime_error("IAthenaBarCode::setVersion():: can't setVersion() in the dummy implementation");
95  }

◆ setZvtx()

void TrigTau::setZvtx ( float  zvtx)

Definition at line 92 of file TrigTau.cxx.

92 {m_Zvtx = zvtx;}

◆ simpleEtFlow()

float TrigTau::simpleEtFlow ( ) const

Definition at line 79 of file TrigTau.cxx.

79 { return m_simpleEtFlow; }

◆ sinPhi()

double P4PtEtaPhiMBase::sinPhi ( ) const
virtualinherited

sinus phi

Implements I4Momentum.

Definition at line 60 of file P4PtEtaPhiMBase.cxx.

61 {
62  return std::sin(this->phi());
63 }

◆ sinTh()

double P4PtEtaPhiMBase::sinTh ( ) const
virtualinherited

sinus theta

Implements I4Momentum.

Definition at line 75 of file P4PtEtaPhiMBase.cxx.

76 {
77  // avoid numeric overflow if very large eta
78 
79  double aEta=std::abs(this->eta());
80  if ( aEta>710) {
81  aEta=710;
82  }
83 
84  return 1./std::cosh(aEta);
85 }

◆ tanTh()

double P4PtEtaPhiMBase::tanTh ( ) const
virtualinherited

tan theta

Implements I4Momentum.

Definition at line 87 of file P4PtEtaPhiMBase.cxx.

88 {
89  // avoid numeric overflow if very large eta
90 
91  double theEta=this->eta();
92  if ( std::abs(theEta)>710) {
93  theEta=theEta>0 ? 710 : -710;
94  return 1./std::sinh(theEta);
95  }
96 
97  return 1./std::sinh(this->eta());
98 }

◆ tauCluster()

const TrigTauCluster * TrigTau::tauCluster ( ) const

Definition at line 85 of file TrigTau.cxx.

85 { return m_cluster; }

◆ trackCollection()

const TrigInDetTrackCollection * TrigTau::trackCollection ( ) const

Definition at line 87 of file TrigTau.cxx.

87 { return m_tracks; }

◆ tracksInfo()

const TrigTauTracksInfo * TrigTau::tracksInfo ( ) const

Definition at line 88 of file TrigTau.cxx.

88 { return m_tracksInfo; }

◆ trkAvgDist()

float TrigTau::trkAvgDist ( ) const

Definition at line 82 of file TrigTau.cxx.

82 { return m_trkAvgDist; }

◆ Zvtx()

float TrigTau::Zvtx ( ) const

Definition at line 73 of file TrigTau.cxx.

73 { return m_Zvtx; }

Member Data Documentation

◆ m_cluster

const TrigTauCluster* TrigTau::m_cluster
private

Calorimeter tau cluster.

Definition at line 103 of file TrigTau.h.

◆ m_err_Zvtx

float TrigTau::m_err_Zvtx
private

Error on z coordinate.

(Not filled)

Definition at line 94 of file TrigTau.h.

◆ m_eta

double P4PtEtaPhiM::m_eta
protectedinherited

Definition at line 77 of file P4PtEtaPhiM.h.

◆ m_etCalibCluster

float TrigTau::m_etCalibCluster
private

Transverse energy of the calibrated tau cluster.

Definition at line 97 of file TrigTau.h.

◆ m_etOverPtLeadTrk

float TrigTau::m_etOverPtLeadTrk
private

ration of cluster energy to leading pt track

Definition at line 113 of file TrigTau.h.

◆ m_m

double P4PtEtaPhiM::m_m
protectedinherited

Definition at line 79 of file P4PtEtaPhiM.h.

◆ m_nMatchedTracks

int TrigTau::m_nMatchedTracks
private

Number of tracks matched to the calorimeter cluster.

Definition at line 101 of file TrigTau.h.

◆ m_phi

double P4PtEtaPhiM::m_phi
protectedinherited

Definition at line 78 of file P4PtEtaPhiM.h.

◆ m_pt

double P4PtEtaPhiM::m_pt
protectedinherited

Definition at line 76 of file P4PtEtaPhiM.h.

◆ m_roiID

int TrigTau::m_roiID
private

Identifier of the RoI.

Definition at line 90 of file TrigTau.h.

◆ m_simpleEtFlow

float TrigTau::m_simpleEtFlow
private

EtFlow as calculated from 3 fastest tracks and cluster with energy of first 3 EM samplings.

Definition at line 99 of file TrigTau.h.

◆ m_tracks

const TrigInDetTrackCollection* TrigTau::m_tracks
private

Collection of inner detector tracks.

Definition at line 107 of file TrigTau.h.

◆ m_tracksInfo

const TrigTauTracksInfo* TrigTau::m_tracksInfo
private

Collection of inner detector tracks.

Definition at line 105 of file TrigTau.h.

◆ m_trkAvgDist

float TrigTau::m_trkAvgDist
private

average distance of tracks to tau direction

Definition at line 111 of file TrigTau.h.

◆ m_Zvtx

float TrigTau::m_Zvtx
private

Z coordinate of the tau vertex.

(Not filled)

Definition at line 92 of file TrigTau.h.

◆ UNDEFINEDBARCODE

const AthenaBarCode_t IAthenaBarCode::UNDEFINEDBARCODE = (AthenaBarCode_t)(-1)
staticinherited

Definition at line 52 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.

◆ UNDEFINEDVERSION

const AthenaBarCode_t IAthenaBarCode::UNDEFINEDVERSION = UNDEFINEDBARCODE
staticinherited

Definition at line 53 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.


The documentation for this class was generated from the following files:
TrigTau::tracksInfo
const TrigTauTracksInfo * tracksInfo() const
Definition: TrigTau.cxx:88
IAthenaBarCode::UNDEFINEDBARCODE
static const AthenaBarCode_t UNDEFINEDBARCODE
Definition: AthenaKernel/AthenaKernel/IAthenaBarCode.h:52
TrigTau::m_etOverPtLeadTrk
float m_etOverPtLeadTrk
ration of cluster energy to leading pt track
Definition: TrigTau.h:113
TrigTau::trkAvgDist
float trkAvgDist() const
Definition: TrigTau.cxx:82
I4Momentum::P4IPTCOTTHPHIM
@ P4IPTCOTTHPHIM
Definition: I4Momentum.h:33
python.SystemOfUnits.MeV
int MeV
Definition: SystemOfUnits.py:154
P4PtEtaPhiMBase::e
virtual double e() const
energy
Definition: P4PtEtaPhiMBase.cxx:13
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
NavigableTerminalNode::NavigableTerminalNode
NavigableTerminalNode()
Definition: NavigableTerminalNode.h:27
P4PtEtaPhiMBase::cotTh
virtual double cotTh() const
cottan theta
Definition: P4PtEtaPhiMBase.cxx:65
drawFromPickle.cos
cos
Definition: drawFromPickle.py:36
P4PtEtaPhiM::m_eta
double m_eta
Definition: P4PtEtaPhiM.h:77
I4Momentum::pt
virtual double pt() const =0
transverse momentum
P4PtEtaPhiM::m_m
double m_m
Definition: P4PtEtaPhiM.h:79
P4PtEtaPhiM::m_phi
double m_phi
Definition: P4PtEtaPhiM.h:78
TrigTau::tauCluster
const TrigTauCluster * tauCluster() const
Definition: TrigTau.cxx:85
P4PtEtaPhiMBase::cosPhi
virtual double cosPhi() const
cosinus phi
Definition: P4PtEtaPhiMBase.cxx:55
TrigTau::m_err_Zvtx
float m_err_Zvtx
Error on z coordinate.
Definition: TrigTau.h:94
P4PtEtaPhiM::phi
virtual double phi() const
get phi data member
Definition: P4PtEtaPhiM.h:109
TrigTau::m_etCalibCluster
float m_etCalibCluster
Transverse energy of the calibrated tau cluster.
Definition: TrigTau.h:97
P4PtEtaPhiM::set4Mom
virtual void set4Mom(const I4Momentum &theI4Mom)
set all 4-mom from another I4Momentum reference
Definition: P4PtEtaPhiM.h:127
TrigTau::nMatchedTracks
int nMatchedTracks() const
Definition: TrigTau.cxx:81
I4Momentum::eta
virtual double eta() const =0
pseudo rapidity
TrigTau::m_roiID
int m_roiID
Identifier of the RoI.
Definition: TrigTau.h:90
P4PtEtaPhiM::pt
virtual double pt() const
get pt data member
Definition: P4PtEtaPhiM.h:103
I4Momentum::phi
virtual double phi() const =0
phi in [-pi,pi[
TrigTau::m_simpleEtFlow
float m_simpleEtFlow
EtFlow as calculated from 3 fastest tracks and cluster with energy of first 3 EM samplings.
Definition: TrigTau.h:99
TrigTau::roiId
int roiId() const
accessor methods
Definition: TrigTau.cxx:71
I4Momentum::P4PTETAPHIM
@ P4PTETAPHIM
Definition: I4Momentum.h:33
P4PtEtaPhiMBase::sinPhi
virtual double sinPhi() const
sinus phi
Definition: P4PtEtaPhiMBase.cxx:60
TrigTau::m_nMatchedTracks
int m_nMatchedTracks
Number of tracks matched to the calorimeter cluster.
Definition: TrigTau.h:101
TrigTau::m_tracks
const TrigInDetTrackCollection * m_tracks
Collection of inner detector tracks.
Definition: TrigTau.h:107
I4Momentum::UNKNOWN
@ UNKNOWN
Definition: I4Momentum.h:33
P4PtEtaPhiM::eta
virtual double eta() const
get eta data member
Definition: P4PtEtaPhiM.h:106
P4PtEtaPhiMBase::pz
virtual double pz() const
z component of momentum
Definition: P4PtEtaPhiMBase.cxx:125
TrigTau::m_tracksInfo
const TrigTauTracksInfo * m_tracksInfo
Collection of inner detector tracks.
Definition: TrigTau.h:105
TrigTau::m_trkAvgDist
float m_trkAvgDist
average distance of tracks to tau direction
Definition: TrigTau.h:111
I4Momentum::m
virtual double m() const =0
mass
TrigTau::m_Zvtx
float m_Zvtx
Z coordinate of the tau vertex.
Definition: TrigTau.h:92
TrigTau::etOverPtLeadTrk
float etOverPtLeadTrk() const
Definition: TrigTau.cxx:83
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
P4PtEtaPhiM::P4PtEtaPhiM
P4PtEtaPhiM()
default constructor
Definition: P4PtEtaPhiM.h:83
drawFromPickle.sin
sin
Definition: drawFromPickle.py:36
IAthenaBarCode::UNDEFINEDVERSION
static const AthenaBarCode_t UNDEFINEDVERSION
Definition: AthenaKernel/AthenaKernel/IAthenaBarCode.h:53
TrigTau::etCalibCluster
float etCalibCluster() const
Definition: TrigTau.cxx:77
TrigTau::m_cluster
const TrigTauCluster * m_cluster
Calorimeter tau cluster.
Definition: TrigTau.h:103
I4Momentum::P4EETAPHIM
@ P4EETAPHIM
Definition: I4Momentum.h:33
P4PtEtaPhiMBase::sinTh
virtual double sinTh() const
sinus theta
Definition: P4PtEtaPhiMBase.cxx:75
P4PtEtaPhiM::m_pt
double m_pt
Definition: P4PtEtaPhiM.h:76
I4Momentum::P4PXPYPZE
@ P4PXPYPZE
Definition: I4Momentum.h:33