ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
AtEventDisplay
AtSidebar
PSA
AtSidebarPSADeconv.cxx
Go to the documentation of this file.
1
#include "
AtSidebarPSADeconv.h
"
2
3
#include "
AtPSA.h
"
// for AtPSA
4
#include "
AtPSADeconv.h
"
5
6
#include <FairLogger.h>
7
8
ClassImp
(
AtSidebarPSADeconv
);
9
10
void
AtSidebarPSADeconv::FillFrame
()
11
{
12
AtSidebarPSA::FillFrame
();
13
14
AddIntBox
(
fOrder
,
"SetFilterOrder()"
, 0, 16);
15
AddIntBox
(
fCutoff
,
"SetCutoffFreq()"
, 0, 512);
16
17
SetIntNumber
(
fOrder
,
dynamic_cast<
AtPSADeconv
*
>
(
fPSA
)->GetFilterOrder());
18
SetIntNumber
(
fCutoff
,
dynamic_cast<
AtPSADeconv
*
>
(
fPSA
)->GetCutoffFreq());
19
}
20
21
void
AtSidebarPSADeconv::SetFilterOrder
()
22
{
23
auto
value =
GetIntNumber
(
fOrder
);
24
dynamic_cast<
AtPSADeconv
*
>
(
fPSA
)->
SetFilterOrder
(value);
25
LOG(debug) <<
fOrder
<<
" set: "
<< value;
26
}
27
28
void
AtSidebarPSADeconv::SetCutoffFreq
()
29
{
30
auto
value =
GetIntNumber
(
fCutoff
);
31
dynamic_cast<
AtPSADeconv
*
>
(
fPSA
)->
SetCutoffFreq
(value);
32
LOG(debug) <<
fCutoff
<<
" set: "
<< value;
33
}
AtSidebarAddon::GetIntNumber
Long_t GetIntNumber(std::string label)
Definition:
AtSidebarAddon.cxx:63
AtSidebarPSADeconv::fCutoff
const std::string fCutoff
Definition:
AtSidebarPSADeconv.h:18
AtSidebarPSADeconv::SetFilterOrder
void SetFilterOrder()
Definition:
AtSidebarPSADeconv.cxx:21
AtSidebarPSADeconv::SetCutoffFreq
void SetCutoffFreq()
Definition:
AtSidebarPSADeconv.cxx:28
ClassImp
ClassImp(AtSidebarPSADeconv)
AtSidebarPSA::FillFrame
void FillFrame() override
Definition:
AtSidebarPSA.cxx:9
AtSidebarPSA::fPSA
AtPSA * fPSA
Definition:
AtSidebarPSA.h:18
AtSidebarAddon::AddIntBox
void AddIntBox(std::string label, std::string function, int min=0, int max=1)
Definition:
AtSidebarAddon.cxx:34
AtSidebarAddon::SetIntNumber
void SetIntNumber(std::string label, Long_t value)
Definition:
AtSidebarAddon.cxx:82
AtSidebarPSADeconv.h
AtSidebarPSADeconv::fOrder
const std::string fOrder
Definition:
AtSidebarPSADeconv.h:17
AtPSADeconv
Abstract base class for getting current through deconvolution.
Definition:
AtPSADeconv.h:38
AtPSA.h
AtSidebarPSADeconv::FillFrame
void FillFrame() override
Definition:
AtSidebarPSADeconv.cxx:10
AtSidebarPSADeconv
Definition:
AtSidebarPSADeconv.h:15
AtPSADeconv.h
Generated on Sat Nov 11 2023 15:30:37 for ATTPCROOT by
1.8.18