Example Detector.
More...
#include <TRGECLHit.h>
|
void | setEventId (int eventId) |
| The method to set event id.
|
|
void | setTCId (int TCId) |
| The method to set TC id.
|
|
void | setBeamBkgTag (int beambkgtag) |
| The method to set Beam Background tag.
|
|
void | setEnergyDep (double edep) |
| The method to set deposited energy.
|
|
void | setTimeAve (double TimeAve) |
| The method to set hit average time.
|
|
int | getEventId () const |
| The method to get event id.
|
|
int | getTCId () const |
| The method to get TC id.
|
|
double | getEnergyDep () const |
| The method to get deposited energy.
|
|
double | getTimeAve () const |
| The method to get hit average time.
|
|
int | getBeamBkgTag () const |
| The method to get Beam Background tag.
|
|
| TRGECLHit (int eventId, int TCId, int beambkgtag, double edep, double TimeAve) |
| Useful Constructor.
|
|
| ClassDef (TRGECLHit, 1) |
| the class title
|
|
Example Detector.
Definition at line 22 of file TRGECLHit.h.
◆ TRGECLHit() [1/2]
Definition at line 71 of file TRGECLHit.h.
72 {
73 m_eventId = 0;
74 m_TCId = 0;
75 m_edep = 0;
76 m_TimeAve = 0;
77 m_beambkgtag = 0;
78 }
◆ TRGECLHit() [2/2]
TRGECLHit |
( |
int | eventId, |
|
|
int | TCId, |
|
|
int | beambkgtag, |
|
|
double | edep, |
|
|
double | TimeAve ) |
|
inline |
Useful Constructor.
Definition at line 81 of file TRGECLHit.h.
88 {
89 m_eventId = eventId;
90 m_TCId = TCId;
91 m_edep = edep;
92 m_TimeAve = TimeAve;
93 m_beambkgtag = beambkgtag;
94
95 }
◆ getBeamBkgTag()
int getBeamBkgTag |
( |
| ) |
const |
|
inline |
The method to get Beam Background tag.
Definition at line 66 of file TRGECLHit.h.
66{return m_beambkgtag; }
◆ getEnergyDep()
double getEnergyDep |
( |
| ) |
const |
|
inline |
The method to get deposited energy.
Definition at line 61 of file TRGECLHit.h.
◆ getEventId()
The method to get event id.
Definition at line 55 of file TRGECLHit.h.
◆ getTCId()
The method to get TC id.
Definition at line 58 of file TRGECLHit.h.
◆ getTimeAve()
double getTimeAve |
( |
| ) |
const |
|
inline |
The method to get hit average time.
Definition at line 64 of file TRGECLHit.h.
◆ setBeamBkgTag()
void setBeamBkgTag |
( |
int | beambkgtag | ) |
|
|
inline |
The method to set Beam Background tag.
Definition at line 46 of file TRGECLHit.h.
46{ m_beambkgtag = beambkgtag; }
◆ setEnergyDep()
void setEnergyDep |
( |
double | edep | ) |
|
|
inline |
The method to set deposited energy.
Definition at line 49 of file TRGECLHit.h.
◆ setEventId()
void setEventId |
( |
int | eventId | ) |
|
|
inline |
The method to set event id.
Definition at line 40 of file TRGECLHit.h.
40{ m_eventId = eventId; }
◆ setTCId()
The method to set TC id.
Definition at line 43 of file TRGECLHit.h.
◆ setTimeAve()
void setTimeAve |
( |
double | TimeAve | ) |
|
|
inline |
The method to set hit average time.
Definition at line 52 of file TRGECLHit.h.
52{ m_TimeAve = TimeAve; }
◆ m_beambkgtag
◆ m_edep
Deposited energy of this hit.
Definition at line 34 of file TRGECLHit.h.
◆ m_eventId
The TC id of this hit.
Definition at line 27 of file TRGECLHit.h.
◆ m_TCId
The TC id of this hit.
Definition at line 30 of file TRGECLHit.h.
◆ m_TimeAve
The documentation for this class was generated from the following file: