Belle II Software development
|
SVDRecoHit - an extended form of SVDHit containing geometry information. More...
#include <SVDRecoHit.h>
Public Member Functions | |
SVDRecoHit () | |
Default constructor for ROOT IO. | |
SVDRecoHit (const SVDTrueHit *hit, bool uDirection, float sigma=-1) | |
Construct SVDRecoHit from a SVDTrueHit for Monte Carlo based tracking. | |
SVDRecoHit (const SVDCluster *hit, const genfit::TrackCandHit *trackCandHit=nullptr) | |
Construct SVDRecoHit from a SVD cluster. | |
virtual | ~SVDRecoHit () |
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 * | getCluster () const |
Get pointer to the Cluster used when creating this RecoHit, can be nullptr if created from something else. | |
bool | isU () const |
Is the coordinate u or v? | |
float | getPosition () const |
Get coordinate. | |
float | getPositionVariance () const |
Get coordinate variance. | |
float | getEnergyDep () const |
Get deposited energy. | |
float | getRotation () const |
Get rotation angle. | |
virtual std::vector< genfit::MeasurementOnPlane * > | constructMeasurementsOnPlane (const genfit::StateOnPlane &state) const override |
Methods that actually interface to Genfit. | |
virtual const genfit::AbsHMatrix * | constructHMatrix (const genfit::AbsTrackRep *) const override |
Methods that actually interface to Genfit. | |
Private Types | |
enum | { HIT_DIMENSIONS = 1 } |
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_cluster |
transient member (not written out during streaming) | |
bool | m_isU |
transient member (not written out during streaming) | |
float | m_energyDep |
deposited energy. | |
float | m_rotationPhi |
angle of the plane rotation, for u in wedge sensors. | |
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 47 of file SVDRecoHit.h.
|
private |
Enumerator | |
---|---|
HIT_DIMENSIONS | sensitive Dimensions of the Hit |
Definition at line 115 of file SVDRecoHit.h.
SVDRecoHit | ( | ) |
Default constructor for ROOT IO.
Definition at line 23 of file SVDRecoHit.cc.
SVDRecoHit | ( | const SVDTrueHit * | hit, |
bool | uDirection, | ||
float | sigma = -1 |
||
) |
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 sigma along u or v, depending on uDirection.
If the error is set to <0, the resolution will be set to pitch/sqrt(12).
hit | SVDTrueHit to use as base |
uDirection | If true, the hit has u coordinate, otherwise v |
sigma | Error of the hit coordinate |
Definition at line 30 of file SVDRecoHit.cc.
|
explicit |
Construct SVDRecoHit from a SVD cluster.
hit | SVDCluster to use as base. |
trackCandHit | FIXME: Parameter sigma is no longer used and will be removed. |
Definition at line 58 of file SVDRecoHit.cc.
|
inlinevirtual |
|
private |
Apply planar deformation of sensors.
Definition at line 115 of file SVDRecoHit.cc.
|
override |
Creating a deep copy of this hit.
Overrides the method inherited from GFRecoHit.
Definition at line 110 of file SVDRecoHit.cc.
|
inlineoverridevirtual |
|
overridevirtual |
Methods that actually interface to Genfit.
Definition at line 179 of file SVDRecoHit.cc.
|
inline |
Get pointer to the Cluster used when creating this RecoHit, can be nullptr if created from something else.
Definition at line 88 of file SVDRecoHit.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Get pointer to the TrueHit used when creating this RecoHit, can be nullptr if created from something else.
Definition at line 85 of file SVDRecoHit.h.
|
inline |
|
private |
Set up Detector plane information.
Definition at line 89 of file SVDRecoHit.cc.
|
private |
transient member (not written out during streaming)
Pointer to the Cluster used to generate this hit
Definition at line 121 of file SVDRecoHit.h.
|
private |
deposited energy.
Definition at line 123 of file SVDRecoHit.h.
|
private |
transient member (not written out during streaming)
True if the hit has u-coordinate, false if v.
Definition at line 122 of file SVDRecoHit.h.
|
private |
angle of the plane rotation, for u in wedge sensors.
Definition at line 125 of file SVDRecoHit.h.
|
private |
Unique sensor identifier.
Definition at line 117 of file SVDRecoHit.h.
|
private |
Pointer to the Truehit used to generate this hit.
Definition at line 119 of file SVDRecoHit.h.