Belle II Software  release-08-01-10
CDCMCHitLookUp Class Reference

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.
 
CDCMCHitLookUpoperator= (const CDCMCHitLookUp &)=delete
 Operator =.
 
void fill () const
 Method for forwarding a request to fill the Monte Carlo lookup tables from Python.
 
const Belle2::CDCSimHitgetSimHit (const CDCHit *ptrHit) const
 Getter for the CDCSimHit which is related to the CDCHit contained in the given wire hit.
 
const Belle2::MCParticlegetMCParticle (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 CDCSimHitgetClosestPrimarySimHit (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 CDCMCHitLookUpgetInstance ()
 Getter for the singletone instance.
 

Detailed Description

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.


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