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

#include <TrigMuonEFTrack.h>

Inheritance diagram for TrigMuonEFTrack:
Collaboration diagram for TrigMuonEFTrack:

Public Types

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

Public Member Functions

 TrigMuonEFTrack ()
 Default constructor. More...
 
 TrigMuonEFTrack (double theIPt, double theCotTh, double thePhi, double theM)
 Default constructor. More...
 
 TrigMuonEFTrack (const TrigMuonEFTrack &rhs)
 Copy constructor. More...
 
TrigMuonEFTrackoperator= (const TrigMuonEFTrack &rhs)
 Assignement operator. More...
 
 ~TrigMuonEFTrack ()
 Destructor. More...
 
void setPerigee (double iPt, double cotTh, double phi, double mass)
 set data member More...
 
double Charge () const
 
double charge () const
 
void setCharge (double theCharge)
 
double d0 () const
 
void setD0 (double d0)
 
double z0 () const
 
void setZ0 (double z0)
 
double chi2 () const
 
void setChi2 (double chi2)
 
double chi2prob () const
 
void setChi2prob (double chi2prob)
 
double posX () const
 
void setPosX (double posx)
 
double posY () const
 
void setPosY (double posy)
 
double posZ () const
 
void setPosZ (double posz)
 
unsigned short int NRpcHitsPhi () const
 
void setNRpcHitsPhi (unsigned short int nRpcHitsPhi)
 
unsigned short int NTgcHitsPhi () const
 
void setNTgcHitsPhi (unsigned short int nTgcHitsPhi)
 
unsigned short int NCscHitsPhi () const
 
void setNCscHitsPhi (unsigned short int nCscHitsPhi)
 
unsigned short int NRpcHitsEta () const
 
void setNRpcHitsEta (unsigned short int nRpcHitsEta)
 
unsigned short int NTgcHitsEta () const
 
void setNTgcHitsEta (unsigned short int nTgcHitsEta)
 
unsigned short int NCscHitsEta () const
 
void setNCscHitsEta (unsigned short int nCscHitsEta)
 
unsigned short int NMdtHits () const
 
void setNMdtHits (unsigned short int nMdtHits)
 
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 int CHARGE_NA = -999
 
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

double m_charge
 
double m_d0
 
double m_z0
 
double m_chi2
 
double m_chi2prob
 
double m_posx
 
double m_posy
 
double m_posz
 
unsigned short int m_nMdtHitsPhi
 
unsigned short int m_nRpcHitsPhi
 
unsigned short int m_nTgcHitsPhi
 
unsigned short int m_nCscHitsPhi
 
unsigned short int m_nMdtHitsEta
 
unsigned short int m_nRpcHitsEta
 
unsigned short int m_nTgcHitsEta
 
unsigned short int m_nCscHitsEta
 
unsigned short int m_nMdtHits
 

Detailed Description

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

◆ TrigMuonEFTrack() [1/3]

TrigMuonEFTrack::TrigMuonEFTrack ( )

Default constructor.

Definition at line 33 of file TrigMuonEFTrack.cxx.

33  :
34  P4IPtCotThPhiM( 0., 0., 0., 0. ),
36  m_d0 (0),
37  m_z0 (0),
38  m_chi2 (0),
39  m_chi2prob (0),
40  m_posx (0),
41  m_posy (0),
42  m_posz (0),
43  m_nMdtHitsPhi (0),
44  m_nRpcHitsPhi (0),
45  m_nTgcHitsPhi (0),
46  m_nCscHitsPhi (0),
47  m_nMdtHitsEta (0),
48  m_nRpcHitsEta (0),
49  m_nTgcHitsEta (0),
50  m_nCscHitsEta (0),
51  m_nMdtHits (0)
52  {
53  }

◆ TrigMuonEFTrack() [2/3]

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

Default constructor.

Definition at line 55 of file TrigMuonEFTrack.cxx.

55  :
56  P4IPtCotThPhiM(theIPt, theCotTh, thePhi ,theM ),
58  m_d0 (0),
59  m_z0 (0),
60  m_chi2 (0),
61  m_chi2prob (0),
62  m_posx (0),
63  m_posy (0),
64  m_posz (0),
65  m_nMdtHitsPhi (0),
66  m_nRpcHitsPhi (0),
67  m_nTgcHitsPhi (0),
68  m_nCscHitsPhi (0),
69  m_nMdtHitsEta (0),
70  m_nRpcHitsEta (0),
71  m_nTgcHitsEta (0),
72  m_nCscHitsEta (0),
73  m_nMdtHits (0)
74  {
75  }

◆ TrigMuonEFTrack() [3/3]

TrigMuonEFTrack::TrigMuonEFTrack ( const TrigMuonEFTrack rhs)

Copy constructor.

Definition at line 77 of file TrigMuonEFTrack.cxx.

77  :
78  I4Momentum(rhs),
79  P4IPtCotThPhiMBase( rhs ),
80  INavigable(rhs),
83  P4IPtCotThPhiM( rhs ),
85  m_charge( rhs.m_charge ),
86  m_d0 (rhs.m_d0),
87  m_z0 (rhs.m_z0),
88  m_chi2 (rhs.m_chi2),
89  m_chi2prob (rhs.m_chi2prob),
90  m_posx (rhs.m_posx),
91  m_posy (rhs.m_posy),
92  m_posz (rhs.m_posz),
101  m_nMdtHits (0)
102  { }

◆ ~TrigMuonEFTrack()

TrigMuonEFTrack::~TrigMuonEFTrack ( )

Destructor.

Definition at line 141 of file TrigMuonEFTrack.cxx.

141 {}

Member Function Documentation

◆ Charge()

double TrigMuonEFTrack::Charge ( ) const
inline

Definition at line 51 of file TrigMuonEFTrack.h.

51 { return m_charge; }

◆ charge()

double TrigMuonEFTrack::charge ( ) const
inline

Definition at line 52 of file TrigMuonEFTrack.h.

52 { return this->Charge(); }

◆ chi2()

double TrigMuonEFTrack::chi2 ( ) const
inline

Definition at line 79 of file TrigMuonEFTrack.h.

80  {
81  return m_chi2;
82  }

◆ chi2prob()

double TrigMuonEFTrack::chi2prob ( ) const
inline

Definition at line 89 of file TrigMuonEFTrack.h.

90  {
91  return m_chi2prob;
92  }

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

◆ d0()

double TrigMuonEFTrack::d0 ( ) const
inline

Definition at line 59 of file TrigMuonEFTrack.h.

60  {
61  return m_d0;
62  }

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

◆ NCscHitsEta()

unsigned short int TrigMuonEFTrack::NCscHitsEta ( ) const
inline

Definition at line 179 of file TrigMuonEFTrack.h.

180  {
181  return m_nCscHitsEta;
182  }

◆ NCscHitsPhi()

unsigned short int TrigMuonEFTrack::NCscHitsPhi ( ) const
inline

Definition at line 149 of file TrigMuonEFTrack.h.

150  {
151  return m_nCscHitsPhi;
152  }

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

◆ NMdtHits()

unsigned short int TrigMuonEFTrack::NMdtHits ( ) const
inline

Definition at line 190 of file TrigMuonEFTrack.h.

191  {
192  return m_nMdtHits;
193  }

◆ NRpcHitsEta()

unsigned short int TrigMuonEFTrack::NRpcHitsEta ( ) const
inline

Definition at line 159 of file TrigMuonEFTrack.h.

160  {
161  return m_nRpcHitsEta;
162  }

◆ NRpcHitsPhi()

unsigned short int TrigMuonEFTrack::NRpcHitsPhi ( ) const
inline

Definition at line 129 of file TrigMuonEFTrack.h.

130  {
131  return m_nRpcHitsPhi;
132  }

◆ NTgcHitsEta()

unsigned short int TrigMuonEFTrack::NTgcHitsEta ( ) const
inline

Definition at line 169 of file TrigMuonEFTrack.h.

170  {
171  return m_nTgcHitsEta;
172  }

◆ NTgcHitsPhi()

unsigned short int TrigMuonEFTrack::NTgcHitsPhi ( ) const
inline

Definition at line 139 of file TrigMuonEFTrack.h.

140  {
141  return m_nTgcHitsPhi;
142  }

◆ operator=()

TrigMuonEFTrack & TrigMuonEFTrack::operator= ( const TrigMuonEFTrack rhs)

Assignement operator.

Definition at line 105 of file TrigMuonEFTrack.cxx.

106 {
107  if ( this != &rhs ) {
108  P4IPtCotThPhiM::operator=( rhs );
109  m_charge = rhs.m_charge;
110  m_d0 = rhs.m_d0;
111  m_z0 = rhs.m_z0;
112  m_chi2 = rhs.m_chi2;
113  m_chi2prob = rhs.m_chi2prob;
114  m_posx = rhs.m_posx;
115  m_posy = rhs.m_posy;
116  m_posz = rhs.m_posz;
125  m_nMdtHits = rhs.m_nMdtHits;
126  }
127  return *this;
128 }

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

◆ posX()

double TrigMuonEFTrack::posX ( ) const
inline

Definition at line 98 of file TrigMuonEFTrack.h.

99  {
100  return m_posx;
101  }

◆ posY()

double TrigMuonEFTrack::posY ( ) const
inline

Definition at line 108 of file TrigMuonEFTrack.h.

109  {
110  return m_posy;
111  }

◆ posZ()

double TrigMuonEFTrack::posZ ( ) const
inline

Definition at line 118 of file TrigMuonEFTrack.h.

119  {
120  return m_posz;
121  }

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

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

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

◆ setCharge()

void TrigMuonEFTrack::setCharge ( double  theCharge)
inline

Definition at line 54 of file TrigMuonEFTrack.h.

55  {
56  this->m_charge = theCharge;
57  }

◆ setChi2()

void TrigMuonEFTrack::setChi2 ( double  chi2)
inline

Definition at line 84 of file TrigMuonEFTrack.h.

85  {
86  this->m_chi2 = chi2;
87  }

◆ setChi2prob()

void TrigMuonEFTrack::setChi2prob ( double  chi2prob)
inline

Definition at line 94 of file TrigMuonEFTrack.h.

95  {
96  this->m_chi2prob = chi2prob;
97  }

◆ setCotTh()

void P4IPtCotThPhiM::setCotTh ( double  theCotTh)
inlinevirtualinherited

set cot(theta) data member

Definition at line 115 of file P4IPtCotThPhiM.h.

116 { m_cotTh=theCotTh;}

◆ setD0()

void TrigMuonEFTrack::setD0 ( double  d0)
inline

Definition at line 64 of file TrigMuonEFTrack.h.

65  {
66  this->m_d0 = d0;
67  }

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

◆ setNCscHitsEta()

void TrigMuonEFTrack::setNCscHitsEta ( unsigned short int  nCscHitsEta)
inline

Definition at line 184 of file TrigMuonEFTrack.h.

185  {
186  this->m_nCscHitsEta = nCscHitsEta;
187  }

◆ setNCscHitsPhi()

void TrigMuonEFTrack::setNCscHitsPhi ( unsigned short int  nCscHitsPhi)
inline

Definition at line 154 of file TrigMuonEFTrack.h.

155  {
156  this->m_nCscHitsPhi = nCscHitsPhi;
157  }

◆ setNMdtHits()

void TrigMuonEFTrack::setNMdtHits ( unsigned short int  nMdtHits)
inline

Definition at line 195 of file TrigMuonEFTrack.h.

196  {
197  this->m_nMdtHits =nMdtHits;
198  }

◆ setNRpcHitsEta()

void TrigMuonEFTrack::setNRpcHitsEta ( unsigned short int  nRpcHitsEta)
inline

Definition at line 164 of file TrigMuonEFTrack.h.

165  {
166  this->m_nRpcHitsEta = nRpcHitsEta;
167  }

◆ setNRpcHitsPhi()

void TrigMuonEFTrack::setNRpcHitsPhi ( unsigned short int  nRpcHitsPhi)
inline

Definition at line 134 of file TrigMuonEFTrack.h.

135  {
136  this->m_nRpcHitsPhi = nRpcHitsPhi;
137  }

◆ setNTgcHitsEta()

void TrigMuonEFTrack::setNTgcHitsEta ( unsigned short int  nTgcHitsEta)
inline

Definition at line 174 of file TrigMuonEFTrack.h.

175  {
176  this->m_nTgcHitsEta = nTgcHitsEta;
177  }

◆ setNTgcHitsPhi()

void TrigMuonEFTrack::setNTgcHitsPhi ( unsigned short int  nTgcHitsPhi)
inline

Definition at line 144 of file TrigMuonEFTrack.h.

145  {
146  this->m_nTgcHitsPhi = nTgcHitsPhi;
147  }

◆ setPerigee()

void TrigMuonEFTrack::setPerigee ( double  iPt,
double  cotTh,
double  phi,
double  mass 
)

set data member

Definition at line 131 of file TrigMuonEFTrack.cxx.

132 {
133  m_iPt = iPt;
134  m_cotTh = cotTh;
135  m_phi = phi;
136  m_m = mass;
137  return;
138 }

◆ setPhi()

void P4IPtCotThPhiM::setPhi ( double  thePhi)
inlinevirtualinherited

set phi data member

Definition at line 118 of file P4IPtCotThPhiM.h.

119 { m_phi=thePhi;}

◆ setPosX()

void TrigMuonEFTrack::setPosX ( double  posx)
inline

Definition at line 103 of file TrigMuonEFTrack.h.

104  {
105  this->m_posx = posx;
106  }

◆ setPosY()

void TrigMuonEFTrack::setPosY ( double  posy)
inline

Definition at line 113 of file TrigMuonEFTrack.h.

114  {
115  this->m_posy = posy;
116  }

◆ setPosZ()

void TrigMuonEFTrack::setPosZ ( double  posz)
inline

Definition at line 123 of file TrigMuonEFTrack.h.

124  {
125  this->m_posz = posz;
126  }

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

◆ setZ0()

void TrigMuonEFTrack::setZ0 ( double  z0)
inline

Definition at line 74 of file TrigMuonEFTrack.h.

75  {
76  this->m_z0 = z0;
77  }

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

◆ z0()

double TrigMuonEFTrack::z0 ( ) const
inline

Definition at line 69 of file TrigMuonEFTrack.h.

70  {
71  return m_z0;
72  }

Member Data Documentation

◆ CHARGE_NA

const int TrigMuonEFTrack::CHARGE_NA = -999
static

Definition at line 46 of file TrigMuonEFTrack.h.

◆ m_charge

double TrigMuonEFTrack::m_charge
private

Definition at line 202 of file TrigMuonEFTrack.h.

◆ m_chi2

double TrigMuonEFTrack::m_chi2
private

Definition at line 205 of file TrigMuonEFTrack.h.

◆ m_chi2prob

double TrigMuonEFTrack::m_chi2prob
private

Definition at line 206 of file TrigMuonEFTrack.h.

◆ m_cotTh

double P4IPtCotThPhiM::m_cotTh
protectedinherited

Definition at line 74 of file P4IPtCotThPhiM.h.

◆ m_d0

double TrigMuonEFTrack::m_d0
private

Definition at line 203 of file TrigMuonEFTrack.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_nCscHitsEta

unsigned short int TrigMuonEFTrack::m_nCscHitsEta
private

Definition at line 217 of file TrigMuonEFTrack.h.

◆ m_nCscHitsPhi

unsigned short int TrigMuonEFTrack::m_nCscHitsPhi
private

Definition at line 213 of file TrigMuonEFTrack.h.

◆ m_nMdtHits

unsigned short int TrigMuonEFTrack::m_nMdtHits
private

Definition at line 218 of file TrigMuonEFTrack.h.

◆ m_nMdtHitsEta

unsigned short int TrigMuonEFTrack::m_nMdtHitsEta
private

Definition at line 214 of file TrigMuonEFTrack.h.

◆ m_nMdtHitsPhi

unsigned short int TrigMuonEFTrack::m_nMdtHitsPhi
private

Definition at line 210 of file TrigMuonEFTrack.h.

◆ m_nRpcHitsEta

unsigned short int TrigMuonEFTrack::m_nRpcHitsEta
private

Definition at line 215 of file TrigMuonEFTrack.h.

◆ m_nRpcHitsPhi

unsigned short int TrigMuonEFTrack::m_nRpcHitsPhi
private

Definition at line 211 of file TrigMuonEFTrack.h.

◆ m_nTgcHitsEta

unsigned short int TrigMuonEFTrack::m_nTgcHitsEta
private

Definition at line 216 of file TrigMuonEFTrack.h.

◆ m_nTgcHitsPhi

unsigned short int TrigMuonEFTrack::m_nTgcHitsPhi
private

Definition at line 212 of file TrigMuonEFTrack.h.

◆ m_phi

double P4IPtCotThPhiM::m_phi
protectedinherited

Definition at line 75 of file P4IPtCotThPhiM.h.

◆ m_posx

double TrigMuonEFTrack::m_posx
private

Definition at line 207 of file TrigMuonEFTrack.h.

◆ m_posy

double TrigMuonEFTrack::m_posy
private

Definition at line 208 of file TrigMuonEFTrack.h.

◆ m_posz

double TrigMuonEFTrack::m_posz
private

Definition at line 209 of file TrigMuonEFTrack.h.

◆ m_z0

double TrigMuonEFTrack::m_z0
private

Definition at line 204 of file TrigMuonEFTrack.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:
TrigMuonEFTrack::m_charge
double m_charge
Definition: TrigMuonEFTrack.h:202
TrigMuonEFTrack::m_posx
double m_posx
Definition: TrigMuonEFTrack.h:207
P4IPtCotThPhiMBase::sinPhi
virtual double sinPhi() const
sinus phi
Definition: P4IPtCotThPhiMBase.cxx:108
P4IPtCotThPhiMBase
Definition: P4IPtCotThPhiMBase.h:28
I4Momentum
Definition: I4Momentum.h:31
TrigMuonEFTrack::m_posz
double m_posz
Definition: TrigMuonEFTrack.h:209
IAthenaBarCode::UNDEFINEDBARCODE
static const AthenaBarCode_t UNDEFINEDBARCODE
Definition: AthenaKernel/AthenaKernel/IAthenaBarCode.h:52
TrigMuonEFTrack::m_nRpcHitsPhi
unsigned short int m_nRpcHitsPhi
Definition: TrigMuonEFTrack.h:211
Base_Fragment.mass
mass
Definition: Sherpa_i/share/common/Base_Fragment.py:59
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
IAthenaBarCode::IAthenaBarCode
IAthenaBarCode()
Definition: AthenaKernel/AthenaKernel/IAthenaBarCode.h:59
I4Momentum::P4IPTCOTTHPHIM
@ P4IPTCOTTHPHIM
Definition: I4Momentum.h:33
TrigMuonEFTrack::m_z0
double m_z0
Definition: TrigMuonEFTrack.h:204
P4IPtCotThPhiM::m_phi
double m_phi
Definition: P4IPtCotThPhiM.h:75
TrigMuonEFTrack::Charge
double Charge() const
Definition: TrigMuonEFTrack.h:51
P4IPtCotThPhiM::P4IPtCotThPhiM
P4IPtCotThPhiM()
default constructor
Definition: P4IPtCotThPhiM.h:80
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
TrigMuonEFTrack::d0
double d0() const
Definition: TrigMuonEFTrack.h:59
P4IPtCotThPhiM::m_cotTh
double m_cotTh
Definition: P4IPtCotThPhiM.h:74
NavigableTerminalNode::NavigableTerminalNode
NavigableTerminalNode()
Definition: NavigableTerminalNode.h:27
TrigMuonEFTrack::m_nCscHitsPhi
unsigned short int m_nCscHitsPhi
Definition: TrigMuonEFTrack.h:213
drawFromPickle.cos
cos
Definition: drawFromPickle.py:36
TrigMuonEFTrack::m_nMdtHitsEta
unsigned short int m_nMdtHitsEta
Definition: TrigMuonEFTrack.h:214
TrigMuonEFTrack::m_nCscHitsEta
unsigned short int m_nCscHitsEta
Definition: TrigMuonEFTrack.h:217
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
TrigMuonEFTrack::m_nTgcHitsEta
unsigned short int m_nTgcHitsEta
Definition: TrigMuonEFTrack.h:216
TrigMuonEFTrack::m_posy
double m_posy
Definition: TrigMuonEFTrack.h:208
P4IPtCotThPhiM::m_iPt
double m_iPt
Definition: P4IPtCotThPhiM.h:73
INavigable
Definition: INavigable.h:18
I4Momentum::phi
virtual double phi() const =0
phi in [-pi,pi[
P4IPtCotThPhiM::phi
virtual double phi() const
get phi data member
Definition: P4IPtCotThPhiM.h:106
I4Momentum::P4PTETAPHIM
@ P4PTETAPHIM
Definition: I4Momentum.h:33
I4Momentum::UNKNOWN
@ UNKNOWN
Definition: I4Momentum.h:33
TrigMuonEFTrack::m_chi2prob
double m_chi2prob
Definition: TrigMuonEFTrack.h:206
P4IPtCotThPhiMBase::cosPhi
virtual double cosPhi() const
cosinus phi
Definition: P4IPtCotThPhiMBase.cxx:103
TrigMuonEFTrack::m_nRpcHitsEta
unsigned short int m_nRpcHitsEta
Definition: TrigMuonEFTrack.h:215
TrigMuonEFTrack::chi2
double chi2() const
Definition: TrigMuonEFTrack.h:79
TrigMuonEFTrack::CHARGE_NA
static const int CHARGE_NA
Definition: TrigMuonEFTrack.h:46
TrigMuonEFTrack::chi2prob
double chi2prob() const
Definition: TrigMuonEFTrack.h:89
TrigMuonEFTrack::m_d0
double m_d0
Definition: TrigMuonEFTrack.h:203
I4Momentum::m
virtual double m() const =0
mass
TrigMuonEFTrack::z0
double z0() const
Definition: TrigMuonEFTrack.h:69
TrigMuonEFTrack::m_nTgcHitsPhi
unsigned short int m_nTgcHitsPhi
Definition: TrigMuonEFTrack.h:212
INavigable4Momentum
Definition: INavigable4Momentum.h:21
TrigMuonEFTrack::m_nMdtHitsPhi
unsigned short int m_nMdtHitsPhi
Definition: TrigMuonEFTrack.h:210
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
P4IPtCotThPhiM::iPt
virtual double iPt() const
get inverse pT data member
Definition: P4IPtCotThPhiM.h:100
TrigMuonEFTrack::m_nMdtHits
unsigned short int m_nMdtHits
Definition: TrigMuonEFTrack.h:218
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
TrigMuonEFTrack::m_chi2
double m_chi2
Definition: TrigMuonEFTrack.h:205
I4Momentum::P4PXPYPZE
@ P4PXPYPZE
Definition: I4Momentum.h:33
P4IPtCotThPhiM::cotTh
virtual double cotTh() const
get cot(theta) data member
Definition: P4IPtCotThPhiM.h:103