9 #ifndef ERNeuRadAEvent_H 10 #define ERNeuRadAEvent_H 23 #include "ERNeuRadRawEvent.h" 75 Double_t fCFtimeDelay;
77 Double_t fNoiseRangeMin;
78 Double_t fNoiseRangeMax;
87 Float_t fPEAmplitudes[1024];
89 Float_t fPEAnodeTimes[1024];
108 Double_t GetEdgeSlope();
111 Double_t GetEdgeXi();
117 Double_t GetOnefTime(Int_t i);
119 Double_t GetOnefAmpPos(Int_t i);
121 void ProcessEvent(Bool_t bSmooth = kFALSE);
124 void SetCFratio(Double_t ratio) { fCFratio = ratio; };
127 void SetCFtimeDelay(Double_t timeDelay) { fCFtimeDelay = timeDelay; };
130 void SetNoiseRange(Double_t min, Double_t max) { fNoiseRangeMin = min; fNoiseRangeMax = max; };
133 void SetSmoothPoints(Int_t numofp) {fWinSize = numofp; };
143 TGraph* GetGraphCFD() {
148 TGraph* GetGraphSignal() {
153 void FindFrontProperties();
155 Double_t FindZeroLevel();
159 void SetChargeCFD(Int_t tmin = -3, Int_t tmax = 17);
164 void SetChargeLED(Int_t tmin = -3, Int_t tmax = 17);
166 void SetChargeTF(Int_t tmin = -3, Int_t tmax = 17);
173 void SetLED(Double_t threshold = 0.2);
177 TArrayF GetPEAmps() {
return fPEAmps;}
178 TArrayF GetPETimes() {
return fPETimes;}
179 void SetPETimes(TArrayF& fPETimesOLD) {fPETimesOLD.Copy(fPETimes);}
180 void SetPEAmps(TArrayF& fPEAmpsOLD) {fPEAmpsOLD.Copy(fPEAmps);}
183 Double_t GetStartTime();
184 void SetStartTime(Double_t t);
185 Double_t GetFinishTime();
186 void SetFinishTime(Double_t t);
187 void SetEvent(Int_t t);
188 Int_t GetEvent() {
return fEvent;}
192 void SetMaxAmplitudes();
class for processing raw data and getting amp and time properties of signal
class for raw data obtained from measurements or simulations