44 VP1Msg::message(
"SimHitHandle_SiHit constructor ERROR: Received null hit pointer");
58 int Barrel =
thehit->getBarrelEndcap();
103 return m_d->localToGlobal(
m_d->thehit->localStartPosition());
109 return m_d->localToGlobal(
m_d->thehit->localEndPosition());
115 return m_d->thehit->meanTime();
121 return m_d->thehit->particleLink();
133 VP1Msg::message(
"SimHitHandle_SiHit::createTrackParameters ERROR: Could not find particle charge (pdg="
134 +QString::number(
pdg())+
"). Assuming charge=+1.");
147 VP1Msg::message(
"SimHitHandle_SiHit::createTrackParameters ERROR: Unknown momentum. Using 1 GeV");
171 return new Trk::Perigee(0, 0, u.phi(), u.theta(), c/mom, globpos);
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
virtual const SiDetectorElement * getDetectorElement(const Identifier &id) const override
access to individual elements : via Identifier
virtual const SiDetectorElement * getDetectorElement(const Identifier &id) const override
access to individual elements via Identifier
Class to hold geometrical description of a silicon detector element.
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
For a single crystal.
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module, int side) const
For a single side of module.
void setCharge(const double &c)
bool ensureDetElemInit() const
const InDetDD::SiDetectorElement * detelem
Amg::Vector3D localToGlobal(const HepGeom::Point3D< double > &) const
const HepMcParticleLink & particleLink() const
Amg::Vector3D momentumDirection() const
virtual ~SimHitHandle_SiHit()
SimHitHandle_SiHit(const SiHit *)
Amg::Vector3D posEnd() const
Trk::TrackParameters * createTrackParameters() const
Amg::Vector3D posStart() const
static const InDetDD::SCT_DetectorManager * sctDetMgr()
static const InDetDD::PixelDetectorManager * pixelDetMgr()
static const PixelID * pixelIDHelper()
static const SCT_ID * sctIDHelper()
static void messageVerbose(const QString &)
static void messageDebug(const QString &)
static void message(const QString &, IVP1System *sys=0)
static double particleCharge(const int &pdgcode, bool &ok)
static QString str(const QString &s)
HepGeom::Transform3D EigenTransformToCLHEP(const Amg::Transform3D &eigenTransf)
Converts an Eigen-based Amg::Transform3D into a CLHEP-based HepGeom::Transform3D.
Eigen::Matrix< double, 3, 1 > Vector3D
ParametersT< TrackParametersDim, Charged, PerigeeSurface > Perigee
ParametersBase< TrackParametersDim, Charged > TrackParameters