#include <SimHitHandle_SiHit.h>
Definition at line 26 of file SimHitHandle_SiHit.h.
◆ SimHitHandle_SiHit()
| SimHitHandle_SiHit::SimHitHandle_SiHit |
( |
const SiHit * | h | ) |
|
Definition at line 40 of file SimHitHandle_SiHit.cxx.
42{
43 if (!h)
44 VP1Msg::message(
"SimHitHandle_SiHit constructor ERROR: Received null hit pointer");
45}
static void message(const QString &, IVP1System *sys=0)
◆ ~SimHitHandle_SiHit()
| SimHitHandle_SiHit::~SimHitHandle_SiHit |
( |
| ) |
|
|
virtual |
◆ actualMomentum()
| virtual double SimHitHandleBase::actualMomentum |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ actualPDGCodeFromSimHit()
| virtual int SimHitHandleBase::actualPDGCodeFromSimHit |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
◆ cacheMomentum()
| void SimHitHandleBase::cacheMomentum |
( |
| ) |
|
|
inlineinherited |
◆ charge()
| double SimHitHandleBase::charge |
( |
| ) |
const |
|
inlineinherited |
◆ createTrackParameters()
Implements SimHitHandleBase.
Definition at line 125 of file SimHitHandle_SiHit.cxx.
126{
127
130 bool ok;
132 if (!ok) {
133 VP1Msg::message(
"SimHitHandle_SiHit::createTrackParameters ERROR: Could not find particle charge (pdg="
134 +QString::number(
pdg())+
"). Assuming charge=+1.");
136 } else {
139 }
141 } else {
143 }
144
146 if (mom<=0) {
147 VP1Msg::message(
"SimHitHandle_SiHit::createTrackParameters ERROR: Unknown momentum. Using 1 GeV");
149 }
150
152
153
154
155
156
157
158
159
160
161
165
167
168
170
171 return new Trk::Perigee(0, 0,
u.phi(),
u.theta(), c/mom, globpos);
172}
void setCharge(const double &c)
Amg::Vector3D momentumDirection() const
SimHitHandle_SiHit(const SiHit *)
Amg::Vector3D posStart() const
static void messageVerbose(const QString &)
static double particleCharge(const int &pdgcode, bool &ok)
static QString str(const QString &s)
Eigen::Matrix< double, 3, 1 > Vector3D
ParametersT< TrackParametersDim, Charged, PerigeeSurface > Perigee
@ u
Enums for curvilinear frames.
◆ hasCharge()
| bool SimHitHandleBase::hasCharge |
( |
| ) |
const |
|
inlineinherited |
◆ hitTime()
| double SimHitHandle_SiHit::hitTime |
( |
| ) |
const |
|
virtual |
◆ momentum()
| double SimHitHandleBase::momentum |
( |
| ) |
const |
|
inlineinherited |
◆ momentumDirection()
◆ particleLink()
◆ pdg()
| int SimHitHandleBase::pdg |
( |
| ) |
const |
|
inlineinherited |
◆ posEnd()
◆ posStart()
◆ setCharge()
| void SimHitHandleBase::setCharge |
( |
const double & | c | ) |
|
|
inlineinherited |
◆ setFakeMomentum()
| void SimHitHandleBase::setFakeMomentum |
( |
const double & | m | ) |
|
|
inlineinherited |
◆ setPDG()
| void SimHitHandleBase::setPDG |
( |
int | pdg | ) |
|
|
inlineprivateinherited |
◆ simBarCode()
Definition at line 48 of file SimHitHandleBase.h.
virtual const HepMcParticleLink & particleLink() const =0
◆ type()
| QString SimHitHandle_SiHit::type |
( |
| ) |
const |
|
inlinevirtual |
◆ m_charge
| double SimHitHandleBase::m_charge |
|
privateinherited |
◆ m_d
| Imp* SimHitHandle_SiHit::m_d |
|
private |
◆ m_fakemom
| double SimHitHandleBase::m_fakemom |
|
privateinherited |
◆ m_pdgId
| int SimHitHandleBase::m_pdgId |
|
privateinherited |
◆ m_trackPars
The documentation for this class was generated from the following files: