RawData.cpp 454 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
/*
 * RawData.cpp
 *
 *  Created on: Dec 27, 2016
 *      Author: vratik
 */

#include "RawData.h"

RawData::RawData() {
	// TODO Auto-generated constructor stub

	TGraph gr;

}

RawData::~RawData() {
	// TODO Auto-generated destructor stub
}

void RawData::Reset() {

23
	for (Int_t i = 0; i < NCELLS; i++) {
24 25 26 27 28 29 30 31
		Amp[i] = 0;
		Time[i] = 0;
	}


}

void RawData::Print() {
32
	for (Int_t i = 0; i < NCELLS; i++) {
33 34 35 36
		cout << Amp[i] << endl;
//		Time[i] = 0;
	}
}