Processed data for a trigger which is stored in the ROOT tree. More...
#include <EventData.hh>
Public Types | |
enum | STATUS_FLAGS { NORMAL = 0, ID_MISMATCH = 1 } |
Public Member Functions | |
void | Clear () |
Reset all variables to defaults. | |
void | Print (int verbosity) |
ChannelData * | GetChannelByID (int id) |
Return channel info pointer by id, rather than vector index. | |
Pulse * | GetPulse (size_t pulsenum, int channel_id=ChannelData::CH_SUM) |
Get a pointer to the sum s1 pulse. | |
Roi * | GetROI (size_t region, int channel_id=ChannelData::CH_SUM) |
Static Public Member Functions | |
static const char * | GetBranchName () |
Public Attributes | |
int | run_id |
id of this run | |
int | event_id |
id of this event withing the run | |
uint64_t | status |
flag denoting event status | |
int | trigger_count |
number of triggers (including unaccepted triggers) | |
long | timestamp |
unix timestamp for the event | |
uint64_t | dt |
time since the last event in ns | |
uint64_t | event_time |
time since run start in ns | |
int | nchans |
physical channels that lit up | |
bool | saturated |
true if any channel hit the limit of its digitizer range | |
bool | pulses_aligned |
true if the pulse edges on all channels are aligned | |
std::vector< double > | generic |
vector of generic results for testing | |
std::vector< ChannelData > | channels |
results for each channel | |
std::vector< SumOfIntegral > | sum_of_int |
vector of sum of integrals for each pulse across all channels | |
std::vector< Roi > | roi_sum_of_int |
vector of sum of integrals for each region of interest across all channels | |
bool | s1_valid |
did we find a good s1 pulse? | |
bool | s1_fixed_valid |
is the s1_fixed variable valid? | |
bool | s2_valid |
did we find a good s2 pulse as well? | |
bool | s2_fixed_valid |
is the s2_fixed variable valid? | |
bool | s1s2_valid |
did we find clean s1 and s2 pulses with nothing else? | |
bool | s1s2_fixed_valid |
are both s1_ and s2_ fixed valid? | |
double | s1_start_time |
start time of s1 tagged pulse in microsec | |
double | s1_end_time |
start time of s1 tagged pulse in microsec | |
double | s2_start_time |
start time of s1 tagged pulse in microsec | |
double | s2_end_time |
start time of s1 tagged pulse in microsec | |
double | drift_time |
time between start of s1 and s2 pulses | |
double | s1_full |
s1 integral over the full identified pulse window | |
double | s2_full |
s2 integral over the full identified pulse window | |
double | s1_fixed |
s1 integral over a fixed window from pulse start | |
double | s2_fixed |
s2 integral over a fixed window from pulse start | |
double | max_s1 |
maximum value of s1 in a single channel | |
double | max_s2 |
maximum value of s2 in a single channel | |
int | max_s1_chan |
channel which had the highest s1 | |
int | max_s2_chan |
channel which had the highest s2 | |
double | f90_full |
fprompt value at 90 ns compared to the full s1 window | |
double | f90_fixed |
fprompt at 90 ns compared to fixed width s1 | |
double | gatti |
Gatti parameter for first pulse. | |
double | ll_r |
Log-likelihood ratio parameter for first pulse. | |
bool | position_valid |
did position recon actually run? | |
double | x |
reconstructed x position in cm | |
double | y |
reconstructed y position in cm | |
double | z |
reconstructed z position in cm | |
double | bary_valid |
was the barycenter calculated ? | |
double | bary_x |
position of the x barycenter in cm | |
double | bary_y |
position of the z barycenter in cm |
Processed data for a trigger which is stored in the ROOT tree.
Definition at line 28 of file EventData.hh.