 |
Belle II Software
release-05-02-19
|
12 #include <tracking/trackFindingCDC/mclookup/ITrackType.h>
13 #include <tracking/trackFindingCDC/numerics/ERightLeft.h>
14 #include <tracking/trackFindingCDC/numerics/Index.h>
25 namespace TrackFindingCDC {
33 class CDCMCHitLookUp {
57 const Vector2D
getRefPos2D(
const CDCHit* ptrHit)
const;
91 Index
getNLoops(
const CDCHit* ptrHit)
const;
const Belle2::MCParticle * getMCParticle(const CDCHit *ptrHit) const
Getter for the MCParticle which is related to the CDCHit contained in the given wire hit.
float getRefDriftLength(const CDCHit *ptrHit) const
Getter for the reference drift length in the two dimensional projection.
HepGeom::Vector3D< double > Vector3D
3D Vector
const Vector3D getRecoPos3D(const CDCHit *ptrHit) const
Getter for the three dimensional position of the primary ionisation for the hit.
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 n...
Index getNPassedSuperLayers(const CDCHit *ptrHit) const
Returns the number of superlayers the track traversed until this hit.
ITrackType getMCTrackId(const CDCHit *ptrHit) const
Returns the track id 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 Vector2D getRefPos2D(const CDCHit *ptrHit) const
Getter for the two dimensional reference position of the wire the given hit is located on - mainly fo...
Abstract base class for different kinds of events.
Index getNLoops(const CDCHit *ptrHit) const
Returns the number of loops the track traversed until this hit.
ERightLeft
Enumeration to represent the distinct possibilities of the right left passage.
const Belle2::CDCSimHit * getSimHit(const CDCHit *ptrHit) const
Getter for the CDCSimHit which is related to the CDCHit contained in the given wire hit.
static const CDCMCHitLookUp & getInstance()
Getter for the singletone instance.
const Vector3D getClosestPrimaryRecoPos3D(const CDCHit *ptrHit) const
Getter for the three dimensional position of the ionisation of the primary simulated hit for the hit.
Index getInTrackId(const CDCHit *ptrHit) const
Returns the position of the wire hit in the track along the travel direction.
CDCMCHitLookUp()=default
Default constructor, needs to be public for initialization in CDCMCManager.
ERightLeft getRLInfo(const CDCHit *ptrHit) const
Returns the true right left passage information.
bool isBackground(const CDCHit *ptrHit) const
Returns if this hit is considered background.
A Class to store the Monte Carlo particle information.
Index getInTrackSegmentId(const CDCHit *ptrHit) const
Returns the id of the segment in the track.
void fill() const
Method for forwarding a request to fill the Monte Carlo lookup tables from Python.