ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
AtEventDisplay
AtSidebar
AtSidebarInfoMacro.cxx
Go to the documentation of this file.
1
#include "
AtSidebarInfoMacro.h
"
2
3
#include <FairLogger.h>
// for endl, basic_ostream, cout, ostream
4
namespace
DataHandling
{
5
class
AtSubject;
6
}
7
8
ClassImp
(
AtSidebarInfoMacro
);
9
10
void
AtSidebarInfoMacro::FillFrame
()
11
{
12
AddInfoBox
(fLabel);
13
}
14
15
void
AtSidebarInfoMacro::Update
(
DataHandling::AtSubject
*changedSubject)
16
{
17
if
(changedSubject == &fEntryNumber) {
18
LOG(info) << fFunction();
19
SetInfoString
(fLabel, fFunction());
20
}
21
}
AtSidebarInfoMacro
Definition:
AtSidebarInfoMacro.h:24
AtSidebarInfoMacro::FillFrame
void FillFrame() override
Definition:
AtSidebarInfoMacro.cxx:10
AtSidebarAddon::SetInfoString
void SetInfoString(std::string label, TString value)
Definition:
AtSidebarAddon.cxx:72
AtSidebarInfoMacro::Update
void Update(DataHandling::AtSubject *sub) override
Definition:
AtSidebarInfoMacro.cxx:15
DataHandling
Definition:
AtDataObserver.h:4
AtSidebarAddon::AddInfoBox
void AddInfoBox(std::string label)
Definition:
AtSidebarAddon.cxx:18
DataHandling::AtSubject
Definition:
AtDataSubject.h:24
AtSidebarInfoMacro.h
ClassImp
ClassImp(AtSidebarInfoMacro)
Generated on Sat Nov 11 2023 15:30:37 for ATTPCROOT by
1.8.18