This class is the derivate of HitXP, and complete it with a constructor that use all other complex types (classes) of basf2.
More...
|
| hitXPDerivate () |
| empty constructor
|
|
| hitXPDerivate (const SVDTrueHit &hit, const SVDCluster &cluster, const MCParticle &particle, const VXD::SensorInfoBase &sensor) |
| constructor for SVD hit with arguments: hit, cluster, particle, sensor info)
|
|
| hitXPDerivate (const PXDTrueHit &hit, const MCParticle &particle, const VXD::SensorInfoBase &sensor) |
| constructor for PXD hit with arguments: hit, particle, sensor info)
|
|
| ClassDef (hitXPDerivate, 2) |
| needed by root
|
|
ROOT::Math::XYZVector | getPositionMid () const |
| get the relative member
|
|
ROOT::Math::XYZVector | getPositionEntry () const |
| get the relative member
|
|
ROOT::Math::XYZVector | getPositionExit () const |
| get the relative member
|
|
ROOT::Math::XYZVector | getMomentumMid () const |
| get the relative member
|
|
ROOT::Math::XYZVector | getMomentumEntry () const |
| get the relative member
|
|
ROOT::Math::XYZVector | getMomentumExit () const |
| get the relative member
|
|
ROOT::Math::XYZVector | getPositionLocalMid () const |
| get the relative member
|
|
ROOT::Math::XYZVector | getPositionLocalEntry () const |
| get the relative member
|
|
ROOT::Math::XYZVector | getPositionLocalExit () const |
| get the relative member
|
|
ROOT::Math::XYZVector | getMomentumLocalMid () const |
| get the relative member
|
|
ROOT::Math::XYZVector | getMomentumLocalEntry () const |
| get the relative member
|
|
ROOT::Math::XYZVector | getMomentumLocalExit () const |
| get the relative member
|
|
int | getPDGID () const |
| get the relative member
|
|
ROOT::Math::XYZVector | getPosition0 () const |
| get the relative member
|
|
ROOT::Math::XYZVector | getMomentum0 () const |
| get the relative member
|
|
double | getTime () const |
| get the relative member
|
|
int | getSensorSensor () const |
| get the relative member
|
|
int | getSensorLadder () const |
| get the relative member
|
|
int | getSensorLayer () const |
| get the relative member
|
|
int | getClusterU () const |
| get the relative member
|
|
int | getClusterV () const |
| get the relative member
|
|
bool | isReconstructed () const |
| get the relative member
|
|
double | getCharge () const |
| get the relative member
|
|
void | setPositionMid (ROOT::Math::XYZVector position) |
| get the relative member
|
|
void | setPositionEntry (ROOT::Math::XYZVector position) |
| get the relative member
|
|
void | setPositionExit (ROOT::Math::XYZVector position) |
| get the relative member
|
|
void | setMomentumMid (ROOT::Math::XYZVector momentum) |
| get the relative member
|
|
void | setMomentumEntry (ROOT::Math::XYZVector momentum) |
| get the relative member
|
|
void | setMomentumExit (ROOT::Math::XYZVector momentum) |
| get the relative member
|
|
void | setPositionLocalMid (ROOT::Math::XYZVector position) |
| get the relative member
|
|
void | setPositionLocalEntry (ROOT::Math::XYZVector position) |
| get the relative member
|
|
void | setPositionLocalExit (ROOT::Math::XYZVector position) |
| get the relative member
|
|
void | setMomentumLocalMid (ROOT::Math::XYZVector momentum) |
| get the relative member
|
|
void | setMomentumLocalEntry (ROOT::Math::XYZVector momentum) |
| get the relative member
|
|
void | setMomentumLocalExit (ROOT::Math::XYZVector momentum) |
| get the relative member
|
|
void | setPDGID (int pdgid) |
| get the relative member
|
|
void | setPosition0 (ROOT::Math::XYZVector position) |
| get the relative member
|
|
void | setMomentum0 (ROOT::Math::XYZVector momentum) |
| get the relative member
|
|
void | setTime (double Time) |
| get the relative member
|
|
void | setSensorSensor (int sensor) |
| get the relative member
|
|
void | setSensorLayer (int layer) |
| get the relative member
|
|
void | setSensorLadder (int ladder) |
| get the relative member
|
|
void | setClusterU (int cluster) |
| get the relative member
|
|
void | setClusterV (int cluster) |
| get the relative member
|
|
void | setReconstructed (bool isReconstructed) |
| get the relative member
|
|
void | setCharge (double charge) |
| get the relative member
|
|
double | omega (ROOT::Math::XYZVector xx, ROOT::Math::XYZVector p, double charge) const |
| evaluates the parameter omega (1/curvature radius) of a helicoidal track starting from position and momentum of the hit input(hit position, hit momentum, hit charge) output(omega value)
|
|
double | tanLambda (ROOT::Math::XYZVector xx, ROOT::Math::XYZVector p) const |
| evaluates the parameter tanLambda (pz/pt) of a helicoidal track starting from position and momentum of the hit input(hit position, hit momentum) output(tanlambda value)
|
|
double | d0 (ROOT::Math::XYZVector xx, ROOT::Math::XYZVector p, double charge) const |
| evaluates the parameter d0 (impact parameter) of a helicoidal track starting from position and momentum of the hit input(hit position, hit momentum, hit charge) output(d0 value)
|
|
double | phi0 (const ROOT::Math::XYZVector &xx, ROOT::Math::XYZVector p, double charge) const |
| evaluates the parameter phi0 (angle between pT and x) of a helicoidal track starting from position and momentum of the hit input(hit position, hit momentum, hit charge) output(phi0 value)
|
|
double | z0 (ROOT::Math::XYZVector xx, ROOT::Math::XYZVector p, double charge) const |
| evaluates the parameter z0 (distance transverse plane-POCA) of a helicoidal track starting from position and momentum of the hit input(hit position, hit momentum, hit charge) output(z0 value)
|
|
double | getOmegaMid () const |
| evaluate relative parameter using midpoint position and momentum
|
|
double | getOmegaEntry () const |
| evaluate relative parameter using entrypoint position and momentum
|
|
double | getOmegaExit () const |
| evaluate relative parameter using exitpoint position and momentum
|
|
double | getOmega0 () const |
| evaluate relative parameter using IP position and momentum
|
|
double | getTanLambdaMid () const |
| evaluate relative parameter using midpoint position and momentum
|
|
double | getTanLambdaEntry () const |
| evaluate relative parameter using entrypoint position and momentum
|
|
double | getTanLambdaExit () const |
| evaluate relative parameter using exitpoint position and momentum
|
|
double | getTanLambda0 () const |
| evaluate relative parameter using IP position and momentum
|
|
double | getD0Mid () const |
| evaluate relative parameter using midpoint position and momentum
|
|
double | getD0Entry () const |
| evaluate relative parameter using entrypoint position and momentum
|
|
double | getD0Exit () const |
| evaluate relative parameter using exitpoint position and momentum
|
|
double | getD00 () const |
| evaluate relative parameter using IP position and momentum
|
|
double | getPhi0Mid () const |
| evaluate relative parameter using midpoint position and momentum
|
|
double | getPhi0Entry () const |
| evaluate relative parameter using entrypoint position and momentum
|
|
double | getPhi0Exit () const |
| evaluate relative parameter using exitpoint position and momentum
|
|
double | getPhi00 () const |
| evaluate relative parameter using IP position and momentum
|
|
double | getZ0Mid () const |
| evaluate relative parameter using midpoint position and momentum
|
|
double | getZ0Entry () const |
| evaluate relative parameter using entrypoint position and momentum
|
|
double | getZ0Exit () const |
| evaluate relative parameter using exitpoint position and momentum
|
|
double | getZ00 () const |
| evaluate relative parameter using IP position and momentum
|
|
| ClassDef (hitXP, 2) |
| needed by root
|
|
This class is the derivate of HitXP, and complete it with a constructor that use all other complex types (classes) of basf2.
It is necessary to build a hitXP object.
Definition at line 27 of file hitXPDerivate.h.
constructor for PXD hit with arguments: hit, particle, sensor info)
position at midpoint
position at entrypoint
position at exitpoint
momentum ad midpoint
momentum at entrypoint
momentum at exitpoint
local position at midpoint
local position at entrypoint
local position at exitpoint
local momentum at midpoint
local momentum ad entrypoint
local momentum at exitpoint
PDGID
position at IP
momentum at IP
time of the hit
sensor number
layer number
ladder number
d0 from particle info DO NOT USE, use the get
z0 from particle info DO NOT USE, use the get
phi0 from particle info DO NOT USE, use the get
omega from particle info DO NOT USE, use the get
omega from particle info DO NOT USE, use the get
flag of reconstructed
charge of the particle
Definition at line 51 of file hitXPDerivate.cc.
52{
53 m_positionMid = sensor.pointToGlobal(ROOT::Math::XYZVector(hit.getU(), hit.getV(), hit.getW()),
false);
54 m_positionEntry = sensor.pointToGlobal(ROOT::Math::XYZVector(hit.getEntryU(), hit.getEntryV(), hit.getEntryW()),
55 false);
56 m_positionExit = sensor.pointToGlobal(ROOT::Math::XYZVector(hit.getExitU(), hit.getExitV(), hit.getExitW()),
57 false);
58 m_momentumMid = sensor.vectorToGlobal(hit.getMomentum(),
false);
60 m_momentumExit = sensor.vectorToGlobal(hit.getExitMomentum(),
false);
63 m_positionLocalExit = ROOT::Math::XYZVector(hit.getExitU(), hit.getExitV(), hit.getExitW());
70 m_time = hit.getGlobalTime();
81 1.5)).getLambda());
84}