Belle II Software development
CDCSimpleSimulation::SimpleSimHit Struct Reference

Structure to accomdate information about the individual hits during the simluation. More...

Public Member Functions

 SimpleSimHit (const CDCWireHit &wireHit, size_t iMCTrack, ERightLeft rlInfo)
 Constructor from limited truth information Mainly used by the manually prepared event.
 
 SimpleSimHit (const CDCWireHit &wireHit, size_t iMCTrack, ERightLeft rlInfo, const Vector3D &pos3D, double arcLength2D=NAN, double trueDriftLength=NAN)
 Constructor from complete truth information.
 

Public Attributes

CDCWireHit m_wireHit
 Memory for the wire hit instance that will be given to the reconstruction.
 
size_t m_iMCTrack
 Memory for the true index of the track this hit is contained in.
 
ERightLeft m_rlInfo
 Memory for the true right left passage information.
 
Vector3D m_pos3D = m_wireHit.getRefPos3D()
 Memory for the true position on the track closest to the wire.
 
double m_arcLength2D = NAN
 Memory for the true two dimensional arc length on the helix to this hit.
 
double m_trueDriftLength = NAN
 Memory for the true drift length from the true position to the wire.
 

Detailed Description

Structure to accomdate information about the individual hits during the simluation.

Definition at line 49 of file CDCSimpleSimulation.h.

Constructor & Destructor Documentation

◆ SimpleSimHit() [1/2]

SimpleSimHit ( const CDCWireHit wireHit,
size_t  iMCTrack,
ERightLeft  rlInfo 
)
inline

Constructor from limited truth information Mainly used by the manually prepared event.

Definition at line 55 of file CDCSimpleSimulation.h.

57 :
58 m_wireHit(wireHit),
59 m_iMCTrack(iMCTrack),
60 m_rlInfo(rlInfo)
61 {}
CDCWireHit m_wireHit
Memory for the wire hit instance that will be given to the reconstruction.
ERightLeft m_rlInfo
Memory for the true right left passage information.
size_t m_iMCTrack
Memory for the true index of the track this hit is contained in.

◆ SimpleSimHit() [2/2]

SimpleSimHit ( const CDCWireHit wireHit,
size_t  iMCTrack,
ERightLeft  rlInfo,
const Vector3D pos3D,
double  arcLength2D = NAN,
double  trueDriftLength = NAN 
)
inline

Constructor from complete truth information.

Mainly used in the simple simulation procedure.

Definition at line 67 of file CDCSimpleSimulation.h.

72 :
73 m_wireHit(wireHit),
74 m_iMCTrack(iMCTrack),
75 m_rlInfo(rlInfo),
76 m_pos3D(pos3D),
77 m_arcLength2D(arcLength2D),
78 m_trueDriftLength(trueDriftLength)
79 {}
Vector3D m_pos3D
Memory for the true position on the track closest to the wire.
double m_arcLength2D
Memory for the true two dimensional arc length on the helix to this hit.
double m_trueDriftLength
Memory for the true drift length from the true position to the wire.

Member Data Documentation

◆ m_arcLength2D

double m_arcLength2D = NAN

Memory for the true two dimensional arc length on the helix to this hit.

Definition at line 94 of file CDCSimpleSimulation.h.

◆ m_iMCTrack

size_t m_iMCTrack

Memory for the true index of the track this hit is contained in.

Definition at line 85 of file CDCSimpleSimulation.h.

◆ m_pos3D

Vector3D m_pos3D = m_wireHit.getRefPos3D()

Memory for the true position on the track closest to the wire.

Definition at line 91 of file CDCSimpleSimulation.h.

◆ m_rlInfo

ERightLeft m_rlInfo

Memory for the true right left passage information.

Definition at line 88 of file CDCSimpleSimulation.h.

◆ m_trueDriftLength

double m_trueDriftLength = NAN

Memory for the true drift length from the true position to the wire.

Definition at line 97 of file CDCSimpleSimulation.h.

◆ m_wireHit

CDCWireHit m_wireHit

Memory for the wire hit instance that will be given to the reconstruction.

Definition at line 82 of file CDCSimpleSimulation.h.


The documentation for this struct was generated from the following file: