AculRaw.cpp 631 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
#include "AculRaw.h"

ClassImp(AculRaw);

AculRaw::AculRaw()		// it is possible to replace whole text in the constructor by use of the Reset() function
{
	trigger = 0;

	for (Int_t i = 0; i < 4; i++) {
		mwpcReg[i] = 0;
	}

	for (Int_t i = 0; i < BLOCKSNUMBER; i++) {
		for (Int_t j = 0; j < ADDRESSNUMBER; j++) {
			C3[i][j] = 0;
		}
	}

};

AculRaw::~AculRaw()
{
}

Int_t AculRaw::Reset()
{
	trigger = 0;

	for (Int_t i = 0; i < 4; i++) {
		mwpcReg[i] = 0;
	}

	for (Int_t i = 0; i < BLOCKSNUMBER; i++) {
		for (Int_t j = 0; j < ADDRESSNUMBER; j++) {
			C3[i][j] = 0;
		}
	}

	return 0;
}