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

#include <TrigMuonEF.h>

Inheritance diagram for TrigMuonEF:
Collaboration diagram for TrigMuonEF:

Public Types

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

Public Member Functions

 TrigMuonEF ()
 Default constructor. More...
 
 TrigMuonEF (double theIPt, double theCotTh, double thePhi, double theM)
 
 TrigMuonEF (const TrigMuonEF &rhs)=delete
 Copy constructor. More...
 
TrigMuonEFoperator= (const TrigMuonEF &rhs)=delete
 Assignment operator. More...
 
 ~TrigMuonEF ()
 Destructor. More...
 
void set_muonCode (int theMuonCode)
 Set MuonCode. More...
 
void set_RoINum (const std::string &theRoINum)
 Set RoINum. More...
 
void set_Charge (double theCharge)
 Set Charge. More...
 
int MuonCode () const
 Code for type of muon. More...
 
std::string RoINum () const
 Seeding algorithm RoI number. More...
 
double Charge () const
 Charge. More...
 
double charge () const
 
virtual double iPt () const
 get inverse pT data member
More...
 
virtual double cotTh () const
 get cot(theta) data member
More...
 
virtual double phi () const
 get phi data member
More...
 
virtual double m () const
 get m data member
More...
 
virtual void setIPt (double theIPt)
 set inverse pT data member
More...
 
virtual void setCotTh (double theCotTh)
 set cot(theta) data member
More...
 
virtual void setPhi (double thePhi)
 set phi data member
More...
 
virtual void setM (double theM)
 set m 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 CLHEP HepLorentzVector
More...
 
virtual const I4MomentumErrorerrors () const
 Access to errors, if available; returns 0 if no errors. More...
 
virtual double e () const
 energy More...
 
virtual double eta () const
 pseudo rapidity 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 et () const
 transverse energy defined to be e*sin(theta) More...
 
virtual double m2 () const
 mass squared More...
 
virtual double p () const
 momentum magnitude More...
 
virtual double p2 () const
 square of momentum magnitude More...
 
virtual double pt () const
 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 tanTh () const
 tan theta More...
 
virtual double cosTh () const
 cosinus theta More...
 
virtual double sinTh () const
 sinus theta More...
 
virtual CLHEP::HepLorentzVector hlv () const
 CLHEP HepLorentzVector. 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_iPt
 
double m_cotTh
 
double m_phi
 
double m_m
 

Private Attributes

int m_muonCode
 what kind of track we are dealing with (Moore, StandAlone, Combined) More...
 
std::string m_roi
 
double m_charge
 

Detailed Description

Definition at line 24 of file TrigMuonEF.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

◆ TrigMuonEF() [1/3]

TrigMuonEF::TrigMuonEF ( )

Default constructor.

Definition at line 31 of file TrigMuonEF.cxx.

31  :
32  P4IPtCotThPhiM( 0., 0., 0., 0. ),
33  m_muonCode(0){
34 }

◆ TrigMuonEF() [2/3]

TrigMuonEF::TrigMuonEF ( double  theIPt,
double  theCotTh,
double  thePhi,
double  theM 
)

Definition at line 36 of file TrigMuonEF.cxx.

36  :
37  P4IPtCotThPhiM(theIPt , theCotTh, thePhi ,theM ),
38  m_muonCode(0){
39 }

◆ TrigMuonEF() [3/3]

TrigMuonEF::TrigMuonEF ( const TrigMuonEF rhs)
delete

Copy constructor.

◆ ~TrigMuonEF()

TrigMuonEF::~TrigMuonEF ( )

Destructor.

Definition at line 57 of file TrigMuonEF.cxx.

57 {}

Member Function Documentation

◆ Charge()

double TrigMuonEF::Charge ( ) const
inline

Charge.

Definition at line 63 of file TrigMuonEF.h.

63 { return m_charge; }

◆ charge()

double TrigMuonEF::charge ( ) const
inline

Definition at line 64 of file TrigMuonEF.h.

64 { return this->Charge(); }

◆ cosPhi()

double P4IPtCotThPhiMBase::cosPhi ( ) const
virtualinherited

cosinus phi

Implements I4Momentum.

Definition at line 103 of file P4IPtCotThPhiMBase.cxx.

104 {
105  return std::cos(this->phi());
106 }

◆ cosTh()

double P4IPtCotThPhiMBase::cosTh ( ) const
virtualinherited

cosinus theta

Implements I4Momentum.

Definition at line 47 of file P4IPtCotThPhiMBase.cxx.

48 {
49  const double theCotTh=this->cotTh();
50  const double theCotTh2=theCotTh*theCotTh;
51  const double theCosTh=std::sqrt(theCotTh2/(1.+theCotTh2));
52  if (theCotTh>=0) {
53  return theCosTh;
54  }
55  else{
56  return -theCosTh;
57  }
58 }

◆ cotTh()

double P4IPtCotThPhiM::cotTh ( ) const
inlinevirtualinherited

get cot(theta) data member

Implements I4Momentum.

Definition at line 103 of file P4IPtCotThPhiM.h.

104 { return m_cotTh;}

◆ dump()

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

Print I4Momentum content.

Implements I4Momentum.

Definition at line 126 of file P4IPtCotThPhiMBase.cxx.

127 {
128 
129  std::stringstream outx;
130  outx << "[ipt,cotTh,phi,m] ="
131  << std::right << std::scientific << std::setprecision(8)
132  << std::setw(16) << this->iPt()
133  << std::setw(16) << this->cotTh()
134  << std::setw(16) << this->phi()
135  << std::setw(16) << this->m();
136 
137  out<<outx.str();
138 
139  return out;
140 }

◆ e()

double P4IPtCotThPhiMBase::e ( ) const
virtualinherited

energy

Implements I4Momentum.

Definition at line 61 of file P4IPtCotThPhiMBase.cxx.

62 {
63  const double theM=this->m();
64  const double theP=this->p();
65  if (theM==0.) return theP ;
66  else return std::sqrt(theP*theP+theM*theM);
67 }

◆ errors()

const I4MomentumError * P4IPtCotThPhiM::errors ( ) const
virtualinherited

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

Reimplemented from P4IPtCotThPhiMBase.

Definition at line 20 of file P4IPtCotThPhiM.cxx.

21 {
22  return 0;
23 }

◆ et()

double P4IPtCotThPhiMBase::et ( ) const
virtualinherited

transverse energy defined to be e*sin(theta)

Implements I4Momentum.

Definition at line 69 of file P4IPtCotThPhiMBase.cxx.

70 {
71  const double theCotTh=this->cotTh();
72  return this->e()/std::sqrt(1+theCotTh*theCotTh);
73 }

◆ eta()

double P4IPtCotThPhiMBase::eta ( ) const
virtualinherited

pseudo rapidity

Implements I4Momentum.

Definition at line 76 of file P4IPtCotThPhiMBase.cxx.

77 {
78  const double theCotTh=this->cotTh();
79  const double aux=std::sqrt(1+theCotTh*theCotTh);
80  return -0.5*log((aux-theCotTh)/(aux+theCotTh));
81  }

◆ 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 P4IPtCotThPhiMBase::hlv ( ) const
virtualinherited

CLHEP HepLorentzVector.

Implements I4Momentum.

Definition at line 113 of file P4IPtCotThPhiMBase.cxx.

114 {
115  //minimize the number of calculation and dereference
116  const double thePt=this->pt();
117  const double theM=this->m();
118  const double thePx=thePt*this->cosPhi();
119  const double thePy=thePt*this->sinPhi();
120  const double thePz=thePt*this->cotTh();
121  const double theE=std::sqrt(thePt*thePt+thePz*thePz+theM*theM);
122 
123  return CLHEP::HepLorentzVector(thePx,thePy,thePz,theE);
124 }

◆ iPt()

double P4IPtCotThPhiM::iPt ( ) const
inlinevirtualinherited

get inverse pT data member

Implements I4Momentum.

Definition at line 100 of file P4IPtCotThPhiM.h.

101 { return m_iPt;}

◆ kind()

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

tells what kind of P4XYZT this is

Implements I4Momentum.

Definition at line 60 of file P4IPtCotThPhiMBase.h.

60 { return I4Momentum::P4IPTCOTTHPHIM; };

◆ m()

double P4IPtCotThPhiM::m ( ) const
inlinevirtualinherited

get m data member

Implements I4Momentum.

Definition at line 109 of file P4IPtCotThPhiM.h.

110 { return m_m;}

◆ m2()

double P4IPtCotThPhiMBase::m2 ( ) const
virtualinherited

mass squared

Implements I4Momentum.

Definition at line 31 of file P4IPtCotThPhiMBase.cxx.

31  {
32  const double theM = this->m();
33  return theM*theM;
34 }

◆ MuonCode()

int TrigMuonEF::MuonCode ( ) const
inline

Code for type of muon.

Definition at line 57 of file TrigMuonEF.h.

57 { return m_muonCode; }

◆ 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  }

◆ operator=()

TrigMuonEF& TrigMuonEF::operator= ( const TrigMuonEF rhs)
delete

Assignment operator.

◆ p()

double P4IPtCotThPhiMBase::p ( ) const
virtualinherited

momentum magnitude

Implements I4Momentum.

Definition at line 18 of file P4IPtCotThPhiMBase.cxx.

19 {
20  const double theCotTh=this->cotTh();
21  return std::sqrt(1+theCotTh*theCotTh)/this->iPt() ;
22 }

◆ p2()

double P4IPtCotThPhiMBase::p2 ( ) const
virtualinherited

square of momentum magnitude

Implements I4Momentum.

Definition at line 24 of file P4IPtCotThPhiMBase.cxx.

25 {
26  const double theCotTh=this->cotTh();
27  const double theI_Pt=this->iPt();
28  return (1+theCotTh*theCotTh)/(theI_Pt*theI_Pt) ;
29 }

◆ phi()

double P4IPtCotThPhiM::phi ( ) const
inlinevirtualinherited

get phi data member

Implements I4Momentum.

Definition at line 106 of file P4IPtCotThPhiM.h.

107 { return m_phi;}

◆ pt()

double P4IPtCotThPhiMBase::pt ( ) const
virtualinherited

transverse momentum

Implements I4Momentum.

Definition at line 12 of file P4IPtCotThPhiMBase.cxx.

13  {
14  return 1./this->iPt();
15  }

◆ px()

double P4IPtCotThPhiMBase::px ( ) const
virtualinherited

x component of momentum

Implements I4Momentum.

Definition at line 91 of file P4IPtCotThPhiMBase.cxx.

92  { return this->cosPhi()/this->iPt();
93  }

◆ py()

double P4IPtCotThPhiMBase::py ( ) const
virtualinherited

y component of momentum

Implements I4Momentum.

Definition at line 95 of file P4IPtCotThPhiMBase.cxx.

96  { return this->sinPhi()/this->iPt();
97  }

◆ pz()

double P4IPtCotThPhiMBase::pz ( ) const
virtualinherited

z component of momentum

Implements I4Momentum.

Definition at line 99 of file P4IPtCotThPhiMBase.cxx.

100  { return this->cotTh()/this->iPt();
101  }

◆ rapidity()

double P4IPtCotThPhiMBase::rapidity ( ) const
virtualinherited

rapidity

Implements I4Momentum.

Definition at line 84 of file P4IPtCotThPhiMBase.cxx.

85  {
86  const double theE=this->e();
87  const double thePz=this->pz();
88  return 0.5*std::log((theE+thePz)/(theE-thePz));
89  }

◆ RoINum()

std::string TrigMuonEF::RoINum ( ) const
inline

Seeding algorithm RoI number.

Definition at line 60 of file TrigMuonEF.h.

60 { return m_roi; }

◆ set4Mom() [1/3]

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

set all 4-mom from CLHEP HepLorentzVector

Reimplemented from P4IPtCotThPhiMBase.

Definition at line 139 of file P4IPtCotThPhiM.h.

140 {
141  m_iPt=1./theHlv.perp();
142  m_cotTh=theHlv.pz()*m_iPt;
143  m_phi=theHlv.phi();
144  m_m=theHlv.m();
145 }

◆ set4Mom() [2/3]

void P4IPtCotThPhiM::set4Mom ( const I4Momentum theI4Mom)
inlinevirtualinherited

set all 4-mom from another I4Momentum reference

Reimplemented from P4IPtCotThPhiMBase.

Definition at line 125 of file P4IPtCotThPhiM.h.

126 {
127  m_iPt=theI4Mom.iPt();
128  m_cotTh=theI4Mom.cotTh();
129  m_phi=theI4Mom.phi();
130  m_m=theI4Mom.m();
131 }

◆ set4Mom() [3/3]

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

set all 4-mom from another I4Momentum pointer

Reimplemented from P4IPtCotThPhiMBase.

Definition at line 133 of file P4IPtCotThPhiM.h.

134 {
135  this->set4Mom(*theI4Mom);
136 }

◆ set_Charge()

void TrigMuonEF::set_Charge ( double  theCharge)

Set Charge.

set data member

Definition at line 52 of file TrigMuonEF.cxx.

52  {
53  m_charge = theCharge;
54 }

◆ set_muonCode()

void TrigMuonEF::set_muonCode ( int  theMuonCode)

Set MuonCode.

set data member

Definition at line 42 of file TrigMuonEF.cxx.

42  {
43  m_muonCode = theMuonCode;
44 }

◆ set_RoINum()

void TrigMuonEF::set_RoINum ( const std::string &  theRoINum)

Set RoINum.

set data member

Definition at line 47 of file TrigMuonEF.cxx.

47  {
48  m_roi = theRoINum;
49 }

◆ 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  }

◆ setCotTh()

void P4IPtCotThPhiM::setCotTh ( double  theCotTh)
inlinevirtualinherited

set cot(theta) data member

Definition at line 115 of file P4IPtCotThPhiM.h.

116 { m_cotTh=theCotTh;}

◆ setIPt()

void P4IPtCotThPhiM::setIPt ( double  theIPt)
inlinevirtualinherited

set inverse pT data member

Definition at line 112 of file P4IPtCotThPhiM.h.

113 { m_iPt=theIPt;}

◆ setM()

void P4IPtCotThPhiM::setM ( double  theM)
inlinevirtualinherited

set m data member

Definition at line 121 of file P4IPtCotThPhiM.h.

122 { m_m=theM;}

◆ setPhi()

void P4IPtCotThPhiM::setPhi ( double  thePhi)
inlinevirtualinherited

set phi data member

Definition at line 118 of file P4IPtCotThPhiM.h.

119 { m_phi=thePhi;}

◆ 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  }

◆ sinPhi()

double P4IPtCotThPhiMBase::sinPhi ( ) const
virtualinherited

sinus phi

Implements I4Momentum.

Definition at line 108 of file P4IPtCotThPhiMBase.cxx.

109 {
110  return std::sin(this->phi());
111 }

◆ sinTh()

double P4IPtCotThPhiMBase::sinTh ( ) const
virtualinherited

sinus theta

Implements I4Momentum.

Definition at line 41 of file P4IPtCotThPhiMBase.cxx.

42 {
43  const double theCotTh=this->cotTh();
44  return 1./std::sqrt(1+theCotTh*theCotTh) ;
45 }

◆ tanTh()

double P4IPtCotThPhiMBase::tanTh ( ) const
virtualinherited

tan theta

Implements I4Momentum.

Definition at line 36 of file P4IPtCotThPhiMBase.cxx.

37 {
38  return 1./this->cotTh() ;
39 }

Member Data Documentation

◆ m_charge

double TrigMuonEF::m_charge
private

Definition at line 70 of file TrigMuonEF.h.

◆ m_cotTh

double P4IPtCotThPhiM::m_cotTh
protectedinherited

Definition at line 74 of file P4IPtCotThPhiM.h.

◆ m_iPt

double P4IPtCotThPhiM::m_iPt
protectedinherited

Definition at line 73 of file P4IPtCotThPhiM.h.

◆ m_m

double P4IPtCotThPhiM::m_m
protectedinherited

Definition at line 76 of file P4IPtCotThPhiM.h.

◆ m_muonCode

int TrigMuonEF::m_muonCode
private

what kind of track we are dealing with (Moore, StandAlone, Combined)

Definition at line 68 of file TrigMuonEF.h.

◆ m_phi

double P4IPtCotThPhiM::m_phi
protectedinherited

Definition at line 75 of file P4IPtCotThPhiM.h.

◆ m_roi

std::string TrigMuonEF::m_roi
private

Definition at line 69 of file TrigMuonEF.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:
P4IPtCotThPhiMBase::sinPhi
virtual double sinPhi() const
sinus phi
Definition: P4IPtCotThPhiMBase.cxx:108
IAthenaBarCode::UNDEFINEDBARCODE
static const AthenaBarCode_t UNDEFINEDBARCODE
Definition: AthenaKernel/AthenaKernel/IAthenaBarCode.h:52
TrigMuonEF::Charge
double Charge() const
Charge.
Definition: TrigMuonEF.h:63
P4IPtCotThPhiM::set4Mom
virtual void set4Mom(const I4Momentum &theI4Mom)
set all 4-mom from another I4Momentum reference
Definition: P4IPtCotThPhiM.h:125
P4IPtCotThPhiMBase::pz
virtual double pz() const
z component of momentum
Definition: P4IPtCotThPhiMBase.cxx:99
I4Momentum::P4IPTCOTTHPHIM
@ P4IPTCOTTHPHIM
Definition: I4Momentum.h:33
P4IPtCotThPhiM::m_phi
double m_phi
Definition: P4IPtCotThPhiM.h:75
P4IPtCotThPhiM::P4IPtCotThPhiM
P4IPtCotThPhiM()
default constructor
Definition: P4IPtCotThPhiM.h:80
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
P4IPtCotThPhiM::m_cotTh
double m_cotTh
Definition: P4IPtCotThPhiM.h:74
drawFromPickle.cos
cos
Definition: drawFromPickle.py:36
TrigMuonEF::m_muonCode
int m_muonCode
what kind of track we are dealing with (Moore, StandAlone, Combined)
Definition: TrigMuonEF.h:68
I4Momentum::cotTh
virtual double cotTh() const =0
cottan theta
P4IPtCotThPhiMBase::p
virtual double p() const
momentum magnitude
Definition: P4IPtCotThPhiMBase.cxx:18
P4IPtCotThPhiM::m_m
double m_m
Definition: P4IPtCotThPhiM.h:76
P4IPtCotThPhiMBase::e
virtual double e() const
energy
Definition: P4IPtCotThPhiMBase.cxx:61
P4IPtCotThPhiM::m_iPt
double m_iPt
Definition: P4IPtCotThPhiM.h:73
I4Momentum::phi
virtual double phi() const =0
phi in [-pi,pi[
I4Momentum::P4PTETAPHIM
@ P4PTETAPHIM
Definition: I4Momentum.h:33
I4Momentum::UNKNOWN
@ UNKNOWN
Definition: I4Momentum.h:33
TrigMuonEF::m_charge
double m_charge
Definition: TrigMuonEF.h:70
P4IPtCotThPhiMBase::cosPhi
virtual double cosPhi() const
cosinus phi
Definition: P4IPtCotThPhiMBase.cxx:103
TrigMuonEF::m_roi
std::string m_roi
Definition: TrigMuonEF.h:69
I4Momentum::m
virtual double m() const =0
mass
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
drawFromPickle.sin
sin
Definition: drawFromPickle.py:36
IAthenaBarCode::UNDEFINEDVERSION
static const AthenaBarCode_t UNDEFINEDVERSION
Definition: AthenaKernel/AthenaKernel/IAthenaBarCode.h:53
I4Momentum::P4EETAPHIM
@ P4EETAPHIM
Definition: I4Momentum.h:33
I4Momentum::iPt
virtual double iPt() const =0
inverse of transverse momentum
P4IPtCotThPhiMBase::pt
virtual double pt() const
transverse momentum
Definition: P4IPtCotThPhiMBase.cxx:12
I4Momentum::P4PXPYPZE
@ P4PXPYPZE
Definition: I4Momentum.h:33