![]() |
Belle II Software release-09-00-04
|
SVDRecoHit - an extended form of SVDHit containing geometry information. More...
#include <SVDRecoHit2D.h>


Public Member Functions | |
| SVDRecoHit2D () | |
| Default constructor for ROOT IO. | |
| SVDRecoHit2D (const SVDTrueHit *hit, const genfit::TrackCandHit *trackCandHit=nullptr, float sigmaU=-1, float sigmaV=-1) | |
| Construct SVDRecoHit from a SVDTrueHit for Monte Carlo based tracking. | |
| SVDRecoHit2D (VxdID::baseType vxdid, const double u, const double v, double sigmaU=-1, double sigmaV=-1) | |
| Construct SVDRecoHit directly from vxdid and coordinates without using a hit object from the storearray in the constructor. | |
| SVDRecoHit2D (const SVDCluster &uHit, const SVDCluster &vHit) | |
| Construct SVDRecoHit from a u- and v- SVDCluster. | |
| SVDRecoHit2D (const SVDRecoHit &uRecoHit, const SVDRecoHit &vRecoHit) | |
| Construct SVDRecoHit from a u- and v- (1D) SVDRecoHit. | |
| virtual | ~SVDRecoHit2D () |
| Destructor. | |
| genfit::AbsMeasurement * | clone () const override |
| Creating a deep copy of this hit. | |
| VxdID | getSensorID () const |
| Get the compact ID. | |
| const SVDTrueHit * | getTrueHit () const |
| Get pointer to the TrueHit used when creating this RecoHit, can be nullptr if created from something else. | |
| const SVDCluster * | getUCluster () const |
| Get pointer to the u cluster used to create this RecoHit. | |
| const SVDCluster * | getVCluster () const |
| Get pointer to the u cluster used to create this RecoHit. | |
| float | getU () const |
| Get u coordinate. | |
| float | getV () const |
| Get v coordinate. | |
| float | getUVariance () const |
| Get u coordinate variance. | |
| float | getVVariance () const |
| Get v coordinate variance. | |
| float | getUVCov () const |
| Get u-v error covariance. | |
| float | getEnergyDep () const |
| Get deposited energy. | |
| virtual std::vector< genfit::MeasurementOnPlane * > | constructMeasurementsOnPlane (const genfit::StateOnPlane &state) const override |
| Get deposited energy error. | |
Private Types | |
| enum | { HIT_DIMENSIONS = 2 } |
Private Member Functions | |
| void | setDetectorPlane () |
| Set up Detector plane information. | |
| TVectorD | applyPlanarDeformation (TVectorD rawHit, std::vector< double > planarParameters, const genfit::StateOnPlane &state) const |
| Apply planar deformation of sensors. | |
Private Attributes | |
| unsigned short | m_sensorID |
| Unique sensor identifier. | |
| const SVDTrueHit * | m_trueHit |
| Pointer to the Truehit used to generate this hit. | |
| const SVDCluster * | m_uCluster |
| Pointer to mother uCluster. | |
| const SVDCluster * | m_vCluster |
| Pointer to mother vCluster. | |
| float | m_energyDep |
| deposited energy. | |
SVDRecoHit - an extended form of SVDHit containing geometry information.
To create a list of SVDRecoHits for all SVDTrueHits belonging to one MCParticle do something like:
Definition at line 46 of file SVDRecoHit2D.h.
|
private |
| Enumerator | |
|---|---|
| HIT_DIMENSIONS | sensitive Dimensions of the Hit |
Definition at line 133 of file SVDRecoHit2D.h.
| SVDRecoHit2D | ( | ) |
Default constructor for ROOT IO.
Definition at line 23 of file SVDRecoHit2D.cc.
|
explicit |
Construct SVDRecoHit from a SVDTrueHit for Monte Carlo based tracking.
This requires a valid random number generator to be initialized at gRandom. The Hit position will be smeared using a gaussian smearing with sigmaU and sigmaV along u and v respectively
If one of the errors is set <0, a default resolution will be assumed for both values by dividing the pixel size by sqrt(12).
| hit | SVDTrueHit to use as base |
| trackCandHit | |
| sigmaU | Error of the Hit along u |
| sigmaV | Error of the Hit along v |
Definition at line 28 of file SVDRecoHit2D.cc.
| SVDRecoHit2D | ( | VxdID::baseType | vxdid, |
| const double | u, | ||
| const double | v, | ||
| double | sigmaU = -1, |
||
| double | sigmaV = -1 |
||
| ) |
Construct SVDRecoHit directly from vxdid and coordinates without using a hit object from the storearray in the constructor.
| vxdid | the vxd id so the reco hit knows on which sensor the measurment took place |
| u | coordinate of the Hit along u |
| v | coordinate of the Hit along v |
| sigmaU | Error of the Hit along u |
| sigmaV | Error of the Hit along v |
Definition at line 58 of file SVDRecoHit2D.cc.
| SVDRecoHit2D | ( | const SVDCluster & | uHit, |
| const SVDCluster & | vHit | ||
| ) |
Construct SVDRecoHit from a u- and v- SVDCluster.
| uHit | the u-type SVDCluster |
| vHit | the v-type SVDCluster |
Definition at line 80 of file SVDRecoHit2D.cc.
| SVDRecoHit2D | ( | const SVDRecoHit & | uRecoHit, |
| const SVDRecoHit & | vRecoHit | ||
| ) |
Construct SVDRecoHit from a u- and v- (1D) SVDRecoHit.
| uRecoHit | the u-type SVDRecoHit |
| vRecoHit | the v-type SVDRecoHit |
Definition at line 117 of file SVDRecoHit2D.cc.
|
inlinevirtual |
|
private |
Apply planar deformation of sensors.
Definition at line 173 of file SVDRecoHit2D.cc.
|
override |
Creating a deep copy of this hit.
Overrides the method inherited from GFRecoHit.
Definition at line 225 of file SVDRecoHit2D.cc.
|
overridevirtual |
Get deposited energy error.
Methods that actually interface to Genfit.
Definition at line 216 of file SVDRecoHit2D.cc.
|
inline |
|
inline |
|
inline |
Get pointer to the TrueHit used when creating this RecoHit, can be nullptr if created from something else.
Definition at line 103 of file SVDRecoHit2D.h.
|
inline |
|
inline |
Get pointer to the u cluster used to create this RecoHit.
Definition at line 105 of file SVDRecoHit2D.h.
|
inline |
Get u coordinate variance.
Definition at line 115 of file SVDRecoHit2D.h.
|
inline |
Get u-v error covariance.
Definition at line 119 of file SVDRecoHit2D.h.
|
inline |
|
inline |
Get pointer to the u cluster used to create this RecoHit.
Definition at line 107 of file SVDRecoHit2D.h.
|
inline |
Get v coordinate variance.
Definition at line 117 of file SVDRecoHit2D.h.
|
private |
Set up Detector plane information.
Definition at line 157 of file SVDRecoHit2D.cc.
|
private |
deposited energy.
Definition at line 140 of file SVDRecoHit2D.h.
|
private |
Unique sensor identifier.
Definition at line 135 of file SVDRecoHit2D.h.
|
private |
Pointer to the Truehit used to generate this hit.
Definition at line 136 of file SVDRecoHit2D.h.
|
private |
Pointer to mother uCluster.
Definition at line 137 of file SVDRecoHit2D.h.
|
private |
Pointer to mother vCluster.
Definition at line 138 of file SVDRecoHit2D.h.