CbmRoot
|
data class for hit information in PSD More...
#include <CbmPsdMCbmHit.h>
Public Member Functions | |
CbmPsdMCbmHit () | |
CbmPsdMCbmHit (uint32_t moduleId, uint32_t sectionId, double energy, double time) | |
virtual | ~CbmPsdMCbmHit () |
virtual std::string | ToString () const |
int32_t | GetModuleID () const |
Index of PSD module @value module index []. | |
double | GetSectionID () const |
Index of PSD section @value section index []. | |
double | GetEdep () const |
Energy deposited in PSD section @value Energy [a.u.]. | |
int32_t | GetTime () const |
Time of the signal @value Time [ns]. | |
void | SetModuleID (uint32_t mod) |
void | SetSectionID (uint32_t sec) |
void | SetEdep (double edep) |
void | SetTime (double time) |
Private Attributes | |
uint32_t | fuModuleId = 0 |
uint32_t | fuSectionId = 0 |
Module index. | |
double | fdEdep = 0. |
Section index. | |
double | fdTime = -1. |
Energy deposition. | |
data class for hit information in PSD
A hit in the PSD is an energy measurement in a PSD section
Definition at line 28 of file CbmPsdMCbmHit.h.
CbmPsdMCbmHit::CbmPsdMCbmHit | ( | ) |
Default constructor
Definition at line 19 of file CbmPsdMCbmHit.cxx.
CbmPsdMCbmHit::CbmPsdMCbmHit | ( | uint32_t | moduleId, |
uint32_t | sectionId, | ||
double | energy, | ||
double | time ) |
Constructor with all parameters
moduleId | Triggered module index |
sectionId | Triggered section index |
energy | Energy deposition |
time | Hit time [ns] |
Definition at line 23 of file CbmPsdMCbmHit.cxx.
|
virtual |
Destructor
Definition at line 34 of file CbmPsdMCbmHit.cxx.
|
inline |
Energy deposited in PSD section @value Energy [a.u.].
Definition at line 66 of file CbmPsdMCbmHit.h.
References fdEdep.
Referenced by CbmPsdMCbmQaReal::Exec().
|
inline |
Index of PSD module @value module index [].
Accessors
Definition at line 54 of file CbmPsdMCbmHit.h.
References fuModuleId.
Referenced by CbmPsdMCbmQaReal::Exec().
|
inline |
Index of PSD section @value section index [].
Definition at line 60 of file CbmPsdMCbmHit.h.
References fuSectionId.
Referenced by CbmPsdMCbmQaReal::Exec().
|
inline |
Time of the signal @value Time [ns].
Definition at line 72 of file CbmPsdMCbmHit.h.
References fdTime.
|
inline |
Definition at line 78 of file CbmPsdMCbmHit.h.
References fdEdep.
Referenced by CbmPsdMCbmHitProducer::AddHit().
|
inline |
Modifiers
Definition at line 76 of file CbmPsdMCbmHit.h.
References fuModuleId.
Referenced by CbmPsdMCbmHitProducer::AddHit().
|
inline |
Definition at line 77 of file CbmPsdMCbmHit.h.
References fuSectionId.
Referenced by CbmPsdMCbmHitProducer::AddHit().
|
inline |
Definition at line 79 of file CbmPsdMCbmHit.h.
References fdTime.
Referenced by CbmPsdMCbmHitProducer::AddHit().
|
virtual |
Info to string
Definition at line 38 of file CbmPsdMCbmHit.cxx.
|
private |
Section index.
Definition at line 84 of file CbmPsdMCbmHit.h.
|
private |
Energy deposition.
Definition at line 85 of file CbmPsdMCbmHit.h.
|
private |
Definition at line 82 of file CbmPsdMCbmHit.h.
Referenced by GetModuleID(), and SetModuleID().
|
private |
Module index.
Definition at line 83 of file CbmPsdMCbmHit.h.
Referenced by GetSectionID(), and SetSectionID().