46 VP1Msg::message(
"SimHitHandle_ForwardHit constructor ERROR: Received null hit pointer");
65 return m_d->thehit->pre().momentum.mag();
82 return m_d->thehit->pre().time;
94 return m_d->thehit->particleEncoding();
107 VP1Msg::message(
"SimHitHandle_ForwardHit::createTrackParameters ERROR: could not get Trk::StraightLineSurface");
116 VP1Msg::message(
"SimHitHandle_ForwardHit::createTrackParameters ERROR: Could not find particle charge (pdg="
117 +QString::number(
m_d->thehit->particleEncoding())+
"). Assuming charge=+1.");
This is an Identifier helper class for the Pixel subdetector.
This is an Identifier helper class for the SCT subdetector.
Header file for AthHistogramAlgorithm.
a link optimized in size for a GenParticle in a McEventCollection
void setCharge(const double &c)
const SimulationHit * thehit
Imp(const SimulationHit *h)
SimHitHandle_ForwardHit(const SimulationHit *)
const HepMcParticleLink & particleLink() const
Trk::TrackParameters * createTrackParameters() const
Amg::Vector3D posEnd() const
Amg::Vector3D posStart() const
int actualPDGCodeFromSimHit() const
double actualMomentum() const
Amg::Vector3D momentumDirection() const
virtual ~SimHitHandle_ForwardHit()
Class for a StraightLineSurface in the ATLAS detector to describe dirft tube and straw like detectors...
static void messageVerbose(const QString &)
static void message(const QString &, IVP1System *sys=0)
static double particleCharge(const int &pdgcode, bool &ok)
static QString str(const QString &s)
Amg::Transform3D CLHEPTranslate3DToEigen(const HepGeom::Translate3D &CLHEPtranslate3D)
Converts a CLHEP-based HepGeom::Translate3 into an Eigen-based Amg::Transform3D.
Amg::Vector3D Hep3VectorToEigen(const CLHEP::Hep3Vector &CLHEPvector)
Converts a CLHEP-based CLHEP::Hep3Vector into an Eigen-based Amg::Vector3D.
Eigen::Affine3d Transform3D
Eigen::Matrix< double, 3, 1 > Vector3D
ParametersT< TrackParametersDim, Charged, StraightLineSurface > AtaStraightLine
ParametersBase< TrackParametersDim, Charged > TrackParameters