represents a mc hit in an emc crystal
More...
#include <BSEmcMCPoint.h>
represents a mc hit in an emc crystal
- Author
- S.Spataro
Definition at line 28 of file BSEmcMCPoint.h.
◆ BSEmcMCPoint() [1/3]
BSEmcMCPoint::BSEmcMCPoint |
( |
| ) |
|
◆ BSEmcMCPoint() [2/3]
BSEmcMCPoint::BSEmcMCPoint |
( |
Int_t |
t_trackID, |
|
|
Int_t |
t_detID, |
|
|
Int_t |
t_evtID, |
|
|
const TVector3 & |
t_pos, |
|
|
const TVector3 & |
t_mom, |
|
|
Double_t |
t_tof, |
|
|
Double_t |
t_length, |
|
|
Double_t |
t_eLoss, |
|
|
Bool_t |
t_entering = kFALSE , |
|
|
Bool_t |
t_exiting = kFALSE |
|
) |
| |
Constructor with arguments
- Parameters
-
trackID | Index of MCTrack |
detID | Detector ID |
posIn | Ccoordinates at entrance to active volume [cm] |
posOut | Coordinates at exit of active volume [cm] |
momIn | Momentum of track at entrance [GeV] |
momOut | Momentum of track at exit [GeV] |
tof | Time since event start [ns] |
length | Track length since creation [cm] |
eLoss | Energy deposit [GeV] |
entering | Existing particle entering the crystal (needed for MC match) |
exiting | Particle leaving the crystal (needed for MC match) |
◆ BSEmcMCPoint() [3/3]
◆ ~BSEmcMCPoint()
virtual BSEmcMCPoint::~BSEmcMCPoint |
( |
| ) |
|
|
virtual |
◆ GetClusterID()
Int_t BSEmcMCPoint::GetClusterID |
( |
| ) |
const |
|
inline |
◆ GetDetectorId()
Int_t BSEmcMCPoint::GetDetectorId |
( |
| ) |
const |
|
inline |
◆ GetEntering()
Bool_t BSEmcMCPoint::GetEntering |
( |
| ) |
const |
|
inline |
◆ GetExiting()
Bool_t BSEmcMCPoint::GetExiting |
( |
| ) |
const |
|
inline |
◆ GetPosition()
TVector3 BSEmcMCPoint::GetPosition |
( |
| ) |
const |
|
inline |
Definition at line 73 of file BSEmcMCPoint.h.
73 {
return TVector3{GetX(), GetY(), GetZ()}; }
◆ operator<()
Bool_t BSEmcMCPoint::operator< |
( |
const BSEmcMCPoint & |
t_rhs | ) |
const |
◆ Print()
virtual void BSEmcMCPoint::Print |
( |
const Option_t * |
t_opt | ) |
const |
|
virtual |
◆ SetClusterID()
void BSEmcMCPoint::SetClusterID |
( |
Int_t |
t_clusterId | ) |
|
|
inline |
◆ SetDetectorId()
void BSEmcMCPoint::SetDetectorId |
( |
Int_t |
t_detectorId | ) |
|
|
inline |
Definition at line 72 of file BSEmcMCPoint.h.
72 { fDetectorID = t_detectorId; }
◆ SetTrackID()
virtual void BSEmcMCPoint::SetTrackID |
( |
Int_t |
t_trackId | ) |
|
|
inlinevirtual |
Modifiers
Definition at line 60 of file BSEmcMCPoint.h.
References operator<(), and Print().
62 FairMCPoint::SetTrackID(t_trackId);
63 SetLink(FairLink(
"MCTrack", t_trackId));
◆ fClusterID
Int_t BSEmcMCPoint::fClusterID {-1} |
|
protected |
◆ fEntering
Bool_t BSEmcMCPoint::fEntering {kFALSE} |
|
protected |
◆ fExiting
Bool_t BSEmcMCPoint::fExiting {kFALSE} |
|
protected |
The documentation for this class was generated from the following file: