RawData.h 527 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
/*
 * RawData.h
 *
 *  Created on: Dec 27, 2016
 *      Author: vratik
 */

#ifndef DATACLASSES_RAWDATA_H_
#define DATACLASSES_RAWDATA_H_

#include <iostream>

#include "TGraph.h"

using std::cout;
using std::endl;

class RawData {

private:
	Double_t Amp[1024];
	Double_t Time[1024];

public:
	RawData();
	virtual ~RawData();
	ClassDef(RawData,1);

	void Reset();

	const Double_t* GetAmp() const {
		return Amp;
	}

	const Double_t* GetTime() const {
		return Time;
	}

	void Print();
};

#endif /* DATACLASSES_RAWDATA_H_ */