Belle II Software development
|
PXDRecoHit - an extended form of PXDCluster containing geometry information. More...
#include <PXDRecoHit.h>
Public Member Functions | |
PXDRecoHit () | |
Default constructor for ROOT IO. | |
PXDRecoHit (const PXDTrueHit *hit, const genfit::TrackCandHit *trackCandHit=NULL, float sigmaU=-1, float sigmaV=-1) | |
Construct PXDRecoHit from a PXDTrueHit for Monte Carlo based tracking. | |
PXDRecoHit (const PXDCluster *hit, float sigmaU, float sigmaV, float covUV) | |
Construct PXDRecoHit from a PXD cluster. | |
PXDRecoHit (const PXDCluster *hit, const genfit::TrackCandHit *trackCandHit=NULL) | |
Construct PXDRecoHit from a PXD cluster This constructor is intended as a temporary solution for people who want to test the impact of realistic clusters right now using the current tracking stack and before the final error handling is implemented. | |
genfit::AbsMeasurement * | clone () const override |
Creating a deep copy of this hit. | |
virtual std::vector< genfit::MeasurementOnPlane * > | constructMeasurementsOnPlane (const genfit::StateOnPlane &state) const override |
Methods that actually interface to Genfit. | |
VxdID | getSensorID () const |
Get the compact ID. | |
const PXDTrueHit * | getTrueHit () const |
Get pointer to the TrueHit used when creating this RecoHit, can be NULL if created from something else. | |
const PXDCluster * | getCluster () const |
Get pointer to the Cluster used when creating this RecoHit, can be NULL if created from something else. | |
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. | |
float | getShapeLikelyhood (const genfit::StateOnPlane &state) const |
Get deposited energy error. | |
virtual const genfit::AbsHMatrix * | constructHMatrix (const genfit::AbsTrackRep *) const override |
Construct the hessian matrix. | |
Private Types | |
enum | { HIT_DIMENSIONS = 2 } |
Private Member Functions | |
void | setDetectorPlane () |
Set up Detector plane information. | |
TVectorD | applyPlanarDeformation (TVectorD hitCoords, std::vector< double > planarParameters, const genfit::StateOnPlane &state) const |
Apply planar deformation of sensors. | |
Private Attributes | |
unsigned short | m_sensorID |
Unique sensor identifier. | |
const PXDTrueHit * | m_trueHit |
Pointer to the TrueHit used when creating this object. | |
const PXDCluster * | m_cluster |
transient member (not written out during streaming) | |
float | m_energyDep |
transient member (not written out during streaming) | |
PXDRecoHit - an extended form of PXDCluster containing geometry information.
To create a list of PXDRecoHits for all PXDTrueHits belonging to one MCParticle do something like:
Definition at line 49 of file PXDRecoHit.h.
|
private |
Enumerator | |
---|---|
HIT_DIMENSIONS | sensitive Dimensions of the Hit |
Definition at line 134 of file PXDRecoHit.h.
PXDRecoHit | ( | ) |
Default constructor for ROOT IO.
Definition at line 26 of file PXDRecoHit.cc.
|
explicit |
Construct PXDRecoHit from a PXDTrueHit 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 | PXDTrueHit to use as base |
trackCandHit | actually not used, should be removed? |
sigmaU | Error of the Hit along u |
sigmaV | Error of the Hit along v |
Definition at line 31 of file PXDRecoHit.cc.
|
explicit |
Construct PXDRecoHit from a PXD cluster.
For users that want to supply their own errors on construction
hit | PXDCluster to use as base |
sigmaU | Error of the Hit along u |
sigmaV | Error of the Hit along v |
covUV | Covariance between u and v |
Definition at line 61 of file PXDRecoHit.cc.
|
explicit |
Construct PXDRecoHit from a PXD cluster This constructor is intended as a temporary solution for people who want to test the impact of realistic clusters right now using the current tracking stack and before the final error handling is implemented.
The pitch / sqrt(12) will be added as measurement error estimation. This is of course not the exact error of the cluster and one cannot expect perfect tracking results when using this constructor
hit | PXDCluster to use as base |
trackCandHit | actually not used, should be removed? |
Definition at line 86 of file PXDRecoHit.cc.
|
private |
Apply planar deformation of sensors.
Definition at line 148 of file PXDRecoHit.cc.
|
override |
Creating a deep copy of this hit.
Definition at line 110 of file PXDRecoHit.cc.
|
inlineoverridevirtual |
Construct the hessian matrix.
Definition at line 130 of file PXDRecoHit.h.
|
overridevirtual |
Methods that actually interface to Genfit.
Definition at line 191 of file PXDRecoHit.cc.
|
inline |
Get pointer to the Cluster used when creating this RecoHit, can be NULL if created from something else.
Definition at line 106 of file PXDRecoHit.h.
|
inline |
|
inline |
float getShapeLikelyhood | ( | const genfit::StateOnPlane & | state | ) | const |
Get deposited energy error.
Get the likelyhood that cluster shape is likely to be created from track state.
Definition at line 136 of file PXDRecoHit.cc.
|
inline |
Get pointer to the TrueHit used when creating this RecoHit, can be NULL if created from something else.
Definition at line 104 of file PXDRecoHit.h.
|
inline |
|
inline |
Get u coordinate variance.
Definition at line 114 of file PXDRecoHit.h.
|
inline |
Get u-v error covariance.
Definition at line 118 of file PXDRecoHit.h.
|
inline |
|
inline |
Get v coordinate variance.
Definition at line 116 of file PXDRecoHit.h.
|
private |
Set up Detector plane information.
Definition at line 116 of file PXDRecoHit.cc.
|
private |
transient member (not written out during streaming)
Pointer to the Cluster used when creating this object
Definition at line 140 of file PXDRecoHit.h.
|
private |
transient member (not written out during streaming)
deposited energy.
Definition at line 141 of file PXDRecoHit.h.
|
private |
Unique sensor identifier.
Definition at line 136 of file PXDRecoHit.h.
|
private |
Pointer to the TrueHit used when creating this object.
Definition at line 138 of file PXDRecoHit.h.