Convert the raw data pointer to useable variables. More...
#include <ConvertData.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 (EventPtr event) |
| Process a single event. Must be overridden. Return 0 if no error. | |
| void | SetHeadersOnly (bool setval=true) |
| bool | GetHeadersOnly () const |
| void | SetChOffset (int chan, double offset) |
| double | GetChOffset (int chan) |
| std::map< int, double > * | GetChOffsetMap () |
Static Public Member Functions | |
| static const std::string | GetDefaultName () |
Private Member Functions | |
| int | DecodeV172XData (const unsigned char *rawdata, uint32_t datasize, EventDataPtr data) |
Private Attributes | |
| uint64_t | start_time |
| start time of the run | |
| uint64_t | previous_event_time |
| time at which the previous event occurred | |
| std::map< int, double > | _offsets |
| software offset time in us | |
| V172X_Params * | _v172X_params |
| saved info for a v172x event | |
| runinfo * | _info |
| database information for this run | |
| long | _id_mismatches |
| Number of events with ID mismatch. | |
| bool | _headers_only |
| Only process data headers, not the bulk. | |
Convert the raw data pointer to useable variables.
Definition at line 20 of file ConvertData.hh.
1.6.1