#include <TDragonEvent.h>
This class contains unpacked Dragon data which is placed into subevent vectors. Each vector may contain many subevents, and each subevent may contain ADC and TDC data. Singles data (i.e. where only gamma-rays or only heavy-ions are detected) is placed into GMEM and HMEM subevents (corresponding to the hardware module where the data originated). Coincidence data (i.e. where a gamma-ray and heavy-ion are detected within a certain small time period of each other) are placed into CGME or CHME subevents. This is the class that is currently written to a ROOT tree if the correct TDragonRun methods are called, and is really just a container class for TSubEvents.
Definition at line 16 of file TDragonEvent.h.
Public Member Functions | |
TDragonEvent () | |
virtual | ~TDragonEvent () |
void | Clear (const Char_t *="") |
void | Print (const Char_t *="") const |
void | AddHmemSubEvent (const TSubEvent &) |
void | AddGmemSubEvent (const TSubEvent &) |
void | AddChmeSubEvent (const TSubEvent &) |
void | AddCgmeSubEvent (const TSubEvent &) |
const vector< TSubEvent > & | GetHmemSubEvents () const |
const vector< TSubEvent > & | GetGmemSubEvents () const |
const vector< TSubEvent > & | GetChmeSubEvents () const |
const vector< TSubEvent > & | GetCgmeSubEvents () const |
Private Attributes | |
vector< TSubEvent > | fHmemSubEvents |
vector< TSubEvent > | fGmemSubEvents |
vector< TSubEvent > | fChmeSubEvents |
vector< TSubEvent > | fCgmeSubEvents |
|
Default constructor. Definition at line 31 of file TDragonEvent.cxx. |
|
Default destructor. Definition at line 37 of file TDragonEvent.cxx. |
|
Clear all the data held in this class.
Definition at line 43 of file TDragonEvent.cxx. References fCgmeSubEvents, fChmeSubEvents, fGmemSubEvents, and fHmemSubEvents. |
|
Print data held in this class. The virtual Print() method of each type of TSubEvent is called for each TSubEvent in the vector if the option is 'a'.
Definition at line 54 of file TDragonEvent.cxx. References fCgmeSubEvents, fChmeSubEvents, fGmemSubEvents, and fHmemSubEvents. |
|
Add a HMEM subevent to the fHmemSubEvents vector. These are singles events form heavy-ion memory unit.
Definition at line 58 of file TDragonEvent.h. References fHmemSubEvents. |
|
Add a GMEM subevent to the fGmemSubEvents vector. These are singles events from the gamma-ray memory unit.
Definition at line 67 of file TDragonEvent.h. References fGmemSubEvents. |
|
Add a CHME subevent to the fChmeSubEvents vector. These are coincident events form heavy-ion memory unit.
Definition at line 76 of file TDragonEvent.h. References fChmeSubEvents. |
|
Add a CGME subevent to the fCgmeSubEvents vector. These are coincident events from the gamma-ray memory unit.
Definition at line 89 of file TDragonEvent.h. References fCgmeSubEvents. |
|
Retrieve the heavy-ion memory subevents vector.
const vector<TSubEvent> &subs = GetHmemSubEvents(); for (size_t i = 0; i < subs.size(); i++) { const vector<TDataItem<UShort_t> > &adcs(subs[i].GetAdcs()); for (size_t j = 0; j < adcs.size(); j++) adcs[j].Print(); } Definition at line 102 of file TDragonEvent.h. |
|
Retrieve the gamma-ray memory subevents vector.
const vector<TSubEvent> &subs = GetGmemSubEvents(); for (size_t i = 0; i < subs.size(); i++) { const vector<TDataItem<UShort_t> > &tdcs(subs[i].GetCfTdcs()); for (size_t j = 0; j < tdcs.size(); j++) tdcs[j].Print(); } Definition at line 123 of file TDragonEvent.h. |
|
Retrieve the heavy-ion memory subevents vector.
const vector<TSubEvent> &subs = GetChmeSubEvents(); for (size_t i = 0; i < subs.size(); i++) { const vector<TDataItem<UShort_t> > &tdcs(subs[i].GetTdcs()); for (size_t j = 0; j < tdcs.size(); j++) tdcs[j].Print(); }
Definition at line 144 of file TDragonEvent.h. |
|
Retrieve the gamma-ray memory subevents vector.
const vector<TSubEvent> &subs = GetCgmeSubEvents(); for (size_t i = 0; i < subs.size(); i++) { const vector<TDataItem<UShort_t> > &tdcs(subs[i].GetTdcs()); for (size_t j = 0; j < tdcs.size(); j++) tdcs[j].Print(); }
Definition at line 169 of file TDragonEvent.h. |
|
The vector containing HMEM subevents. Each subevent contains many heavy-ion memory singles events, which contain ADC and TDC data. Definition at line 36 of file TDragonEvent.h. |
|
The vector containing GMEM subevents. Each subevent can contain many gamma-ray memory singles events, which contain ADC, TDC and constant-fraction TDC data. Definition at line 41 of file TDragonEvent.h. |
|
The vector containing CHME subevents. Each subevent contains many heavy-ion memory coincidence events, which contain ADC and TDC data. Definition at line 46 of file TDragonEvent.h. |
|
The vector containing CGME subevents. Each subevent can contain many gamma-ray memory coincidence events, which contain ADC, TDC and constant-fraction TDC data. Definition at line 51 of file TDragonEvent.h. |