Belle II Software
release-08-01-10
|
Interface class to the Monte Carlo information for individual hits. More...
#include <CDCMCHitLookUp.h>
Public Member Functions | |
CDCMCHitLookUp ()=default | |
Default constructor, needs to be public for initialization in CDCMCManager. | |
CDCMCHitLookUp (CDCMCHitLookUp &)=delete | |
Singleton: Delete copy constructor and assignment operator. | |
CDCMCHitLookUp & | operator= (const CDCMCHitLookUp &)=delete |
Operator =. | |
void | fill () const |
Method for forwarding a request to fill the Monte Carlo lookup tables from Python. | |
const Belle2::CDCSimHit * | getSimHit (const CDCHit *ptrHit) const |
Getter for the CDCSimHit which is related to the CDCHit contained in the given wire hit. | |
const Belle2::MCParticle * | getMCParticle (const CDCHit *ptrHit) const |
Getter for the MCParticle which is related to the CDCHit contained in the given wire hit. | |
const Vector2D | getRefPos2D (const CDCHit *ptrHit) const |
Getter for the two dimensional reference position of the wire the given hit is located on - mainly for the python event display. | |
float | getRefDriftLength (const CDCHit *ptrHit) const |
Getter for the reference drift length in the two dimensional projection. | |
const Vector3D | getRecoPos3D (const CDCHit *ptrHit) const |
Getter for the three dimensional position of the primary ionisation for the hit. | |
const Vector3D | getClosestPrimaryRecoPos3D (const CDCHit *ptrHit) const |
Getter for the three dimensional position of the ionisation of the primary simulated hit for the hit. | |
bool | isReassignedSecondary (const CDCHit *ptrHit) const |
Indicates if the hit was reassigned to a different mc particle because it was caused by a secondary. | |
const CDCSimHit * | getClosestPrimarySimHit (const CDCHit *ptrHit) const |
Getter for the closest simulated hit of a primary particle to the given hit - may return nullptr of no closest is found. | |
ITrackType | getMCTrackId (const CDCHit *ptrHit) const |
Returns the track id for the hit. | |
bool | isBackground (const CDCHit *ptrHit) const |
Returns if this hit is considered background. | |
Index | getInTrackId (const CDCHit *ptrHit) const |
Returns the position of the wire hit in the track along the travel direction. | |
Index | getInTrackSegmentId (const CDCHit *ptrHit) const |
Returns the id of the segment in the track. | |
Index | getNPassedSuperLayers (const CDCHit *ptrHit) const |
Returns the number of superlayers the track traversed until this hit. | |
Index | getNLoops (const CDCHit *ptrHit) const |
Returns the number of loops the track traversed until this hit. | |
ERightLeft | getRLInfo (const CDCHit *ptrHit) const |
Returns the true right left passage information. | |
Static Public Member Functions | |
static const CDCMCHitLookUp & | getInstance () |
Getter for the singletone instance. | |
Interface class to the Monte Carlo information for individual hits.
This class provides a stable interface for the underlying implementation for look ups into the Monte Carlo informations for the first stage of the algorithm.
Definition at line 31 of file CDCMCHitLookUp.h.