Belle II Software  release-08-01-10
VXDMomentumEstimationTools< ClusterType > Class Template Reference

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. More...
 
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. More...
 
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 VXDMomentumEstimationToolsgetInstance ()
 Use this class as singleton.
 

Private Member Functions

 VXDMomentumEstimationTools ()
 Do not create this class.
 
 VXDMomentumEstimationTools (const VXDMomentumEstimationTools &)
 Do not create this class.
 
VXDMomentumEstimationToolsoperator= (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.
 

Detailed Description

template<class ClusterType>
class Belle2::VXDMomentumEstimationTools< ClusterType >

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.

Member Function Documentation

◆ getCalibratedCharge()

double getCalibratedCharge ( const ClusterType &  cluster) const
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.

150  {
151  const double charge = cluster.getCharge();
152  const double calibration = getCalibration();
153 
154  return calibration * charge;
155  }
double getCalibration() const
For SVD the calibration is 1, for PXD (see below) it is ~0.6.
double charge(int pdgCode)
Returns electric charge of a particle with given pdg code.
Definition: EvtPDLUtil.cc:44

◆ getPathLength()

double getPathLength ( const ClusterType &  cluster,
const Helix trajectory 
) const
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.


The documentation for this class was generated from the following file: