TimeOfFlight finds the number of particles detected in the defined region of the channel and the arrive time of the earliest particle detected. More...
#include <TimeOfFlight.hh>
Public Member Functions | |
int | Initialize () |
Initialize the module before starting a run. Return 0 if no error. | |
int | Finalize () |
Finalize state after a run has processed. Return 0 if no error. | |
int | Process (ChannelData *chdata) |
Process a single channel in a single trigger. Return 0 if no error. | |
Static Public Member Functions | |
static const std::string | GetDefaultName () |
Private Attributes | |
double | search_begin_time |
time in us to start searching for particle signal | |
double | search_end_time |
time in us to end searching for particle signal | |
double | ref_threshold |
reference trigger threshold | |
double | threshold |
particle count threshold | |
int | ref_ch |
proton beam timing info channel | |
double | constant_fraction |
constant fraction of the maximum for locating the particle arrival time |
TimeOfFlight finds the number of particles detected in the defined region of the channel and the arrive time of the earliest particle detected.
Definition at line 15 of file TimeOfFlight.hh.