ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
AtEventDisplay
AtSidebar
PSA
AtSidebarPSA.cxx
Go to the documentation of this file.
1
#include "
AtSidebarPSA.h
"
2
3
#include "
AtPSA.h
"
4
5
#include <FairLogger.h>
6
7
ClassImp
(
AtSidebarPSA
);
8
9
void
AtSidebarPSA::FillFrame
()
10
{
11
AddIntBox
(
fThreshold
,
"SetThreshold()"
, 0, 4000);
12
13
SetIntNumber
(
fThreshold
,
fPSA
->
GetThreshold
());
14
}
15
16
void
AtSidebarPSA::SetThreshold
()
17
{
18
auto
value =
GetIntNumber
(
fThreshold
);
19
fPSA
->
SetThreshold
(value);
20
LOG(debug) <<
"Threshold set: "
<< value;
21
}
AtSidebarPSA::fThreshold
const std::string fThreshold
Definition:
AtSidebarPSA.h:20
AtSidebarAddon::GetIntNumber
Long_t GetIntNumber(std::string label)
Definition:
AtSidebarAddon.cxx:63
AtSidebarPSA::SetThreshold
void SetThreshold()
Definition:
AtSidebarPSA.cxx:16
AtPSA::SetThreshold
void SetThreshold(Int_t threshold)
Definition:
AtPSA.cxx:72
AtSidebarPSA.h
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
AtPSA::GetThreshold
int GetThreshold()
Definition:
AtPSA.h:60
AtPSA.h
AtSidebarPSA
Definition:
AtSidebarPSA.h:16
ClassImp
ClassImp(AtSidebarPSA)
Generated on Sat Nov 11 2023 15:30:37 for ATTPCROOT by
1.8.18