Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NeuRad_tests
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vratislav Chudoba
NeuRad_tests
Commits
917b7f74
Commit
917b7f74
authored
Feb 09, 2017
by
Vratislav Chudoba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Way to smoothing.
parent
76a5422f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
AEvent.cpp
dataClasses/AEvent.cpp
+9
-2
AEvent.h
dataClasses/AEvent.h
+1
-1
No files found.
dataClasses/AEvent.cpp
View file @
917b7f74
...
@@ -28,7 +28,7 @@ AEvent::~AEvent() {
...
@@ -28,7 +28,7 @@ AEvent::~AEvent() {
}
}
void
AEvent
::
ProcessEvent
()
{
void
AEvent
::
ProcessEvent
(
Bool_t
bSmooth
)
{
if
(
fInputEvent
==
NULL
)
{
if
(
fInputEvent
==
NULL
)
{
Warning
(
"AEvent::ProcessEvent"
,
"Input event wasn't set. Function won't be processed."
);
Warning
(
"AEvent::ProcessEvent"
,
"Input event wasn't set. Function won't be processed."
);
...
@@ -51,6 +51,11 @@ void AEvent::ProcessEvent() {
...
@@ -51,6 +51,11 @@ void AEvent::ProcessEvent() {
SetMaxAmplitudes
();
SetMaxAmplitudes
();
SetGraphs
();
SetGraphs
();
if
(
bSmooth
==
kTRUE
)
{
SmoothGraphs
();
}
FindFrontProperties
();
FindFrontProperties
();
SetLED
();
SetLED
();
// SetGraphs();
// SetGraphs();
...
@@ -59,7 +64,7 @@ void AEvent::ProcessEvent() {
...
@@ -59,7 +64,7 @@ void AEvent::ProcessEvent() {
SetChargeLED
();
SetChargeLED
();
SetChargeTF
();
SetChargeTF
();
SmoothGraphs
();
//
SmoothGraphs();
return
;
return
;
...
@@ -158,6 +163,8 @@ void AEvent::SmoothGraphs() {
...
@@ -158,6 +163,8 @@ void AEvent::SmoothGraphs() {
}
}
fGraphSignal
->
Clone
return
;
return
;
}
}
...
...
dataClasses/AEvent.h
View file @
917b7f74
...
@@ -92,7 +92,7 @@ public:
...
@@ -92,7 +92,7 @@ public:
Double_t
GetOnefAmpPos
(
Int_t
i
);
Double_t
GetOnefAmpPos
(
Int_t
i
);
void
ProcessEvent
();
void
ProcessEvent
(
Bool_t
bSmooth
=
kFALSE
);
void
SetInputEvent
(
RawEvent
**
event
);
void
SetInputEvent
(
RawEvent
**
event
);
void
SetCFratio
(
Double_t
ratio
)
{
fCFratio
=
ratio
;
};
void
SetCFratio
(
Double_t
ratio
)
{
fCFratio
=
ratio
;
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment