Commit 917b7f74 authored by Vratislav Chudoba's avatar Vratislav Chudoba

Way to smoothing.

parent 76a5422f
......@@ -28,7 +28,7 @@ AEvent::~AEvent() {
}
void AEvent::ProcessEvent() {
void AEvent::ProcessEvent(Bool_t bSmooth) {
if (fInputEvent == NULL) {
Warning("AEvent::ProcessEvent", "Input event wasn't set. Function won't be processed.");
......@@ -51,6 +51,11 @@ void AEvent::ProcessEvent() {
SetMaxAmplitudes();
SetGraphs();
if (bSmooth == kTRUE) {
SmoothGraphs();
}
FindFrontProperties();
SetLED();
// SetGraphs();
......@@ -59,7 +64,7 @@ void AEvent::ProcessEvent() {
SetChargeLED();
SetChargeTF();
SmoothGraphs();
// SmoothGraphs();
return;
......@@ -158,6 +163,8 @@ void AEvent::SmoothGraphs() {
}
fGraphSignal->Clone
return;
}
......
......@@ -92,7 +92,7 @@ public:
Double_t GetOnefAmpPos(Int_t i);
void ProcessEvent();
void ProcessEvent(Bool_t bSmooth = kFALSE);
void SetInputEvent(RawEvent** event);
void SetCFratio(Double_t ratio) { fCFratio = ratio; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment