ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
AtSidebarPSA.h
Go to the documentation of this file.
1 #ifndef ATSIDEBARPSA_H
2 #define ATSIDEBARPSA_H
3 #include "AtSidebarAddon.h" // for AtSidebarAddon
4 
5 #include <Rtypes.h> // for THashConsistencyHolder, UInt_t, ClassDef...
6 
7 #include <GuiTypes.h> // for Pixel_t
8 
9 #include <string> // for allocator, string
10 class AtPSA;
11 class TBuffer;
12 class TClass;
13 class TGWindow;
14 class TMemberInspector;
15 
16 class AtSidebarPSA : public AtSidebarAddon {
17 protected:
19 
20  const std::string fThreshold{"Threshold"};
21 
22 public:
23  AtSidebarPSA(const TGWindow *p = nullptr, UInt_t w = 1, UInt_t h = 1, UInt_t options = 0,
24  Pixel_t back = GetDefaultFrameBackground())
25  : AtSidebarAddon(p, w, h, options, back)
26  {
27  }
28 
29  void SetPSA(AtPSA *psa) { fPSA = psa; }
30 
31  void SetThreshold();
32 
33  void FillFrame() override;
34 
36 };
37 
38 #endif
AtSidebarPSA::fThreshold
const std::string fThreshold
Definition: AtSidebarPSA.h:20
AtSidebarPSA::SetThreshold
void SetThreshold()
Definition: AtSidebarPSA.cxx:16
AtSidebarAddon
Definition: AtSidebarAddon.h:24
AtSidebarPSA::FillFrame
void FillFrame() override
Definition: AtSidebarPSA.cxx:9
AtSidebarPSA::fPSA
AtPSA * fPSA
Definition: AtSidebarPSA.h:18
AtSidebarPSA::SetPSA
void SetPSA(AtPSA *psa)
Definition: AtSidebarPSA.h:29
AtSidebarPSA::AtSidebarPSA
AtSidebarPSA(const TGWindow *p=nullptr, UInt_t w=1, UInt_t h=1, UInt_t options=0, Pixel_t back=GetDefaultFrameBackground())
Definition: AtSidebarPSA.h:23
AtSidebarAddon.h
AtPSA
Definition: AtPSA.h:27
AtSidebarPSA
Definition: AtSidebarPSA.h:16
AtSidebarPSA::ClassDefOverride
ClassDefOverride(AtSidebarPSA, 1)