Belle II Software development
|
Tools needed for the VXD momentum estimation to, e.g. More...
#include <VXDMomentumEstimationTools.h>
Public Member Functions | |
double | getDEDX (const ClusterType &cluster, const ROOT::Math::XYZVector &momentum, const ROOT::Math::XYZVector &position, short charge) const |
Main function: return dEdX for a cluster and the given momentum, position and charge seeds. | |
double | getDEDXWithThickness (const ClusterType &cluster) const |
Return dEdX but not with dX = path length but with dX = thickness of cluster. | |
double | getThicknessOfCluster (const ClusterType &cluster) const |
Return the thickness of a cluster. | |
double | getWidthOfCluster (const ClusterType &cluster) const |
Return the thickness of a cluster. | |
double | getLengthOfCluster (const ClusterType &cluster) const |
Return the thickness of a cluster. | |
double | getRadiusOfCluster (const ClusterType &cluster) const |
Returns the distance from the interaction point to the cluster in the r-phi-plane. | |
VxdID::baseType | getLayerOfCluster (const ClusterType &cluster) const |
Return the layer of the cluster. | |
VxdID::baseType | getLadderOfCluster (const ClusterType &cluster) const |
Return the ladder of the cluster. | |
VxdID::baseType | getSensorNumberOfCluster (const ClusterType &cluster) const |
Return the sensor number of the cluster. | |
VxdID::baseType | getSegmentNumberOfCluster (const ClusterType &cluster) const |
Return the segment number of the cluster. | |
double | getCalibratedCharge (const ClusterType &cluster) const |
Return the charge of the cluster (in ADC count) calibrated with a factor of ~0.6 for pxd hits. | |
ROOT::Math::XYZVector | getEntryMomentumOfMCParticle (const ClusterType &) const |
Return the momentum of the simulated MCParticle at this cluster (by using the TrueHit associated with this cluster) This method is implemented for the two cluster types differently below. | |
ROOT::Math::XYZVector | getEntryPositionOfMCParticle (const ClusterType &) const |
Return the entry position of the simulated MCParticle at this cluster (by using the TrueHit associated with this cluster) This method is implemented for the two cluster types differently below. | |
double | getPathLength (const ClusterType &cluster, const Helix &trajectory) const |
Return the path length of a particle with the given helix that goes through the cluster. | |
ROOT::Math::XYZVector | getEntryMomentumOfMCParticle (const PXDCluster &cluster) const |
We have to handle PXD and SVD differently here. | |
ROOT::Math::XYZVector | getEntryMomentumOfMCParticle (const SVDCluster &cluster) const |
We have to handle PXD and SVD differently here. | |
ROOT::Math::XYZVector | getEntryPositionOfMCParticle (const PXDCluster &cluster) const |
We have to handle PXD and SVD differently here. | |
ROOT::Math::XYZVector | getEntryPositionOfMCParticle (const SVDCluster &cluster) const |
We have to handle PXD and SVD differently here. | |
Static Public Member Functions | |
static const VXDMomentumEstimationTools & | getInstance () |
Use this class as singleton. | |
Private Member Functions | |
VXDMomentumEstimationTools () | |
Do not create this class. | |
VXDMomentumEstimationTools (const VXDMomentumEstimationTools &) | |
Do not create this class. | |
VXDMomentumEstimationTools & | operator= (const VXDMomentumEstimationTools &) |
Do not create this class. | |
double | getCalibration () const |
For SVD the calibration is 1, for PXD (see below) it is ~0.6. | |
double | getCalibration () const |
We only need a calibration for the PXD Clusters. | |
Private Attributes | |
const double | m_layerPositions [6] = {1.42, 2.18, 3.81, 8.0, 10.51, 13.51} |
the layer positions in the case we do not have a SpacePoint we can look at. | |
Tools needed for the VXD momentum estimation to, e.g.
calculate the path length or properties of the hits. Can also be used for other things.
Definition at line 32 of file VXDMomentumEstimationTools.h.
|
inlineprivate |
|
inline |
Return the charge of the cluster (in ADC count) calibrated with a factor of ~0.6 for pxd hits.
This factor can be seen in data (and is calculated from that) and has probably something to do with the different readout of the hit types.
Definition at line 149 of file VXDMomentumEstimationTools.h.
|
inlineprivate |
For SVD the calibration is 1, for PXD (see below) it is ~0.6.
Definition at line 221 of file VXDMomentumEstimationTools.h.
|
inline |
Main function: return dEdX for a cluster and the given momentum, position and charge seeds.
Definition at line 51 of file VXDMomentumEstimationTools.h.
|
inline |
Return dEdX but not with dX = path length but with dX = thickness of cluster.
Definition at line 63 of file VXDMomentumEstimationTools.h.
|
inline |
Return the momentum of the simulated MCParticle at this cluster (by using the TrueHit associated with this cluster) This method is implemented for the two cluster types differently below.
Definition at line 159 of file VXDMomentumEstimationTools.h.
|
inline |
Return the entry position of the simulated MCParticle at this cluster (by using the TrueHit associated with this cluster) This method is implemented for the two cluster types differently below.
Definition at line 167 of file VXDMomentumEstimationTools.h.
|
inlinestatic |
Use this class as singleton.
Definition at line 44 of file VXDMomentumEstimationTools.h.
|
inline |
Return the ladder of the cluster.
Definition at line 123 of file VXDMomentumEstimationTools.h.
|
inline |
Return the layer of the cluster.
Definition at line 115 of file VXDMomentumEstimationTools.h.
|
inline |
Return the thickness of a cluster.
Definition at line 88 of file VXDMomentumEstimationTools.h.
|
inline |
Return the path length of a particle with the given helix that goes through the cluster.
If the helix does not pass the cluster, return the thickness of the cluster instead. It is assumed that the cluster is passed from bottom to top and not transverse or something. Also we assume every cluster to not be tilted. This is wrong for the wedge cluster. We have to find a way to handle those cases correctly!
Definition at line 179 of file VXDMomentumEstimationTools.h.
|
inline |
Returns the distance from the interaction point to the cluster in the r-phi-plane.
Definition at line 96 of file VXDMomentumEstimationTools.h.
|
inline |
Return the segment number of the cluster.
Definition at line 139 of file VXDMomentumEstimationTools.h.
|
inline |
Return the sensor number of the cluster.
Definition at line 131 of file VXDMomentumEstimationTools.h.
|
inline |
Return the thickness of a cluster.
Definition at line 72 of file VXDMomentumEstimationTools.h.
|
inline |
Return the thickness of a cluster.
Definition at line 80 of file VXDMomentumEstimationTools.h.
|
private |
the layer positions in the case we do not have a SpacePoint we can look at.
Definition at line 218 of file VXDMomentumEstimationTools.h.