9 #include "ERNeuRadRawEvent.h" 11 ERNeuRadRawEvent::ERNeuRadRawEvent() :
13 TNamed(
"ERNeuRadRawEvent",
"ERNeuRadRawEvent"),
21 ERNeuRadRawEvent::ERNeuRadRawEvent(
const Int_t npoints) : fNPoints(npoints) {
27 ERNeuRadRawEvent::~ERNeuRadRawEvent() {
31 void ERNeuRadRawEvent::Init() {
36 void ERNeuRadRawEvent::Reset() {
38 for (Int_t i = 0; i < fNPoints; i++) {
48 void ERNeuRadRawEvent::PrintTime(Int_t i) {
49 cout << fTime[i] << endl;
52 void ERNeuRadRawEvent::PrintAmp(Int_t i) {
53 cout << fAmp[i] << endl;
56 void ERNeuRadRawEvent::SetAmp(Double_t a, Int_t i) {
59 Error(
"ERNeuRadRawEvent::SetAmp",
"Array with raw amplitudes is overloaded!");
66 void ERNeuRadRawEvent::SetTime(Double_t t, Int_t i) {
68 Error(
"ERNeuRadRawEvent::SetTime",
"Array with raw times is overloaded!");
75 Double_t ERNeuRadRawEvent::GetTime(Int_t i) {
79 Double_t ERNeuRadRawEvent::GetAmp(Int_t i) {
83 void ERNeuRadRawEvent::SetStartTime(Double_t t) {
88 void ERNeuRadRawEvent::SetFinishTime(Double_t t) {
93 void ERNeuRadRawEvent::SetEvent(Int_t t) {