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