 |
Belle II Software
release-05-01-25
|
13 #include <framework/gearbox/Unit.h>
14 #include <framework/gearbox/Const.h>
15 #include <tracking/dataobjects/RecoTrack.h>
16 #include <genfit/MeasuredStateOnPlane.h>
33 const double A_Si = 28.085;
44 const double A =
A_Si,
49 return K / 2 * Z / A * z * z * rho;
59 const double A =
A_Si,
62 return std::sqrt(rho * Z / A) * 28.816 *
Unit::eV;
73 double betaGamma = mom / mass;
74 if (betaGamma <= 100)
return 0.0;
75 double beta2 = 1. / (1. + 1. / betaGamma / betaGamma);
77 return xi * log(2 * mass * xi / pow(
hbarWp(), 2) + 0.2);
91 return VxdID(
id / 1000, (
id % 1000) / 10,
id % 10);
101 std::shared_ptr<TrackState> getTrackStateOnModule(
const VXD::SensorInfoBase& pxdSensorInfo,
102 RecoTrack& recoTrack,
double lambda = 0.0);
const double rho_Si
Silicon density in g cm^-3.
static const double cm
Standard units with the value = 1.
Class to uniquely identify a any structure of the PXD and SVD.
unsigned short getPXDModuleID(const VxdID &sensorID)
Helper function to get DHE id like module id from VxdID.
#StateOnPlane with additional covariance matrix.
baseType getLadderNumber() const
Get the ladder id.
Base class to provide Sensor Information for PXD and SVD.
double xiBeta2_L(const int Z=Z_Si, const double A=A_Si, const double rho=rho_Si, const int z=1)
xi = (K/2)*(Z/A)*z*z*(rho*L)/beta2 in MeV
static const double electronMass
electron mass
double hbarWp(const int Z=Z_Si, const double A=A_Si, const double rho=rho_Si)
hbarWp = sqrt(rho*Z/A)*28.816 in eV
genfit::MeasuredStateOnPlane TrackState
Helper function to get a track state on a module.
const double A_Si
Atomic mass of silicon in g mol^-1.
static const double MeV
[megaelectronvolt]
This is the Reconstruction Event-Data Model Track.
static const double eV
[electronvolt]
VxdID getVxdIDFromPXDModuleID(const unsigned short &id)
Helper function to get VxdID from DHE id like module iid.
Abstract base class for different kinds of events.
baseType getSensorNumber() const
Get the sensor id.
double getDeltaP(const double mom, const double length, const double mass=Const::electronMass)
helper function to estimate the most probable energy loss for a given track length.
const int Z_Si
Const and Const expressions Only valid when g_mol is the default unit.
baseType getLayerNumber() const
Get the layer id.
static const double g_cm3
Practical units with the value set at 1.