ConvertData Class Reference
[modules - functions to process raw data in series]

Convert the raw data pointer to useable variables. More...

#include <ConvertData.hh>

Inheritance diagram for ConvertData:
BaseModule ParameterList VParameterNode

List of all members.

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.

Detailed Description

Convert the raw data pointer to useable variables.

Definition at line 20 of file ConvertData.hh.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on 20 Jun 2014 for daqman by  doxygen 1.6.1