Newer
Older
TestStandRepository / Software / TbNtupleMaker / Alibava / Data.h
@Federica Lionetto Federica Lionetto on 7 Oct 2014 534 bytes Added Software, Data, and AnalysisResults folders
#ifndef DATA_H_
#define DATA_H_

/**
 *  Data is received from the USB port with this format
 * 
 */
struct EventBlock
{
        unsigned int time;
        unsigned short temp;
        unsigned short data[256];
};



/**
 * We add value as an estra parameter when moving the
 * data within the application. It tells the value of
 * the variables which are scanned
 */
struct EventData : public EventBlock
{
        double value;
};

struct EventDataBlock : public EventData
{
        unsigned short header[32];
};

#endif /*DATA_H_*/