GRSISort
Created by P.C. Bender
Developement Team: P.C. Bender, R. Dunlop, V. Bildstein
An extension of the ROOT analysis Framework
TBGSubtraction Class Reference

This class implements a GUI to perform projections of a 2D-Matrix with proper background subtraction.

Definition at line 42 of file TBGSubtraction.h.

Public Member Functions

 TBGSubtraction (TH2 *mat, const char *gate_axis="x", int maxBinning=20)
 
 ~TBGSubtraction () override
 
void AxisComboSelected ()
 
void ClickedBGButton1 ()
 
void ClickedBGButton2 ()
 
void DoAllGates ()
 
void DoEntry (Long_t)
 
void DoGateCanvasZoomed ()
 
void DoGateProjection ()
 
void DoPeakFit ()
 
void DoProjectionCanvasZoomed ()
 
void DoSlider (Int_t pos=0)
 
void DrawAllMarkers ()
 
void DrawBGMarkers1 ()
 
void DrawBGMarkers2 ()
 
void DrawGateMarkers ()
 
void DrawOnNewCanvas ()
 
void DrawPeak ()
 
void DrawPeakMarkers ()
 
void GateStatusInfo (Int_t event, Int_t px, Int_t py, TObject *selected)
 
void MakeBGHisto1 ()
 
void MakeBGHisto2 ()
 
void MakeGateHisto ()
 
void PeakComboSelected ()
 
void ProjectionStatusInfo (Int_t event, Int_t px, Int_t py, TObject *selected)
 
void SetStatusFromUpdateCheckButton ()
 
void UpdateBackground ()
 
void UpdatePeakSliders ()
 
void UpdateProjectionSliders ()
 
void WriteHistograms ()
 

Private Types

enum  EEntries {
  kBGParamEntry, kGateLowEntry, kGateHighEntry, kPeakLowEntry,
  kPeakHighEntry, kPeakEntry, kBGLowEntry1, kBGHighEntry1,
  kBGLowEntry2, kBGHighEntry2, kWrite2FileNameEntry, kHistogramDescriptionEntry,
  kComboAxisEntry, kComboPeakEntry, kBGCheckButton1, kBGCheckButton2,
  kAutoUpdateCheckButton
}
 
enum  EPeaks { kGauss = 0, kRWPeak = 1, kABPeak = 2, kAB3Peak = 3 }
 
enum  ESliders {
  kGateSlider, kBGSlider1, kBGSlider2, kPeakSlider,
  kBinningSlider
}
 

Private Member Functions

void BuildInterface ()
 
void Disconnect ()
 
void DrawBGMarkers (TGCheckButton *&check_button, GMarker *&low_marker, GMarker *&high_marker, TGNumberEntry *&low_entry, TGNumberEntry *&high_entry, Int_t color=kBlue)
 
void InitializeInterface ()
 
void MakeConnections ()
 
void RebinProjection ()
 
void ResetInterface ()
 
void StatusInfo (Int_t event, Int_t px, Int_t py, TObject *selected)
 
void UpdateBGSlider1 ()
 
void UpdateBGSlider2 ()
 
void UpdateBinningSlider ()
 
void UpdateGateSlider ()
 

Private Attributes

TGCheckButton * fAutoUpdateCheckButton {nullptr}
 
TGComboBox * fAxisCombo {nullptr}
 
TGCheckButton * fBGCheckButton1 {nullptr}
 
TGCheckButton * fBGCheckButton2 {nullptr}
 
TGHorizontalFrame * fBGEntryFrame1 {nullptr}
 
TGHorizontalFrame * fBGEntryFrame2 {nullptr}
 
TGNumberEntry * fBGEntryHigh1 {nullptr}
 
TGNumberEntry * fBGEntryHigh2 {nullptr}
 
TGNumberEntry * fBGEntryLow1 {nullptr}
 
TGNumberEntry * fBGEntryLow2 {nullptr}
 
TH1 * fBGHist1 {nullptr}
 
TH1 * fBGHist2 {nullptr}
 
TGNumberEntry * fBGParamEntry {nullptr}
 
TGHorizontalFrame * fBGParamFrame {nullptr}
 
TGLabel * fBGParamLabel {nullptr}
 
TGDoubleHSlider * fBGSlider1 {nullptr}
 
TGDoubleHSlider * fBGSlider2 {nullptr}
 
TGHorizontalFrame * fBinningFrame {nullptr}
 
TGLabel * fBinningLabel {nullptr}
 
TGHSlider * fBinningSlider {nullptr}
 
TGLayoutHints * fBly {nullptr}
 
TGLayoutHints * fBly1 {nullptr}
 
TGHorizontalFrame * fButtonFrame {nullptr}
 
TFile * fCurrentFile {nullptr}
 
TGHorizontalFrame * fDescriptionFrame {nullptr}
 
Bool_t fForceUpdate
 
Int_t fGateAxis
 
TRootEmbeddedCanvas * fGateCanvas {nullptr}
 
TGHorizontalFrame * fGateEntryFrame {nullptr}
 
TGNumberEntry * fGateEntryHigh {nullptr}
 
TGNumberEntry * fGateEntryLow {nullptr}
 
TGVerticalFrame * fGateFrame {nullptr}
 
TH1 * fGateHist {nullptr}
 
TGDoubleHSlider * fGateSlider {nullptr}
 
GMarkerfHighBGMarker1 {nullptr}
 
GMarkerfHighBGMarker2 {nullptr}
 
GMarkerfHighGateMarker {nullptr}
 
GMarkerfHighPeakMarker {nullptr}
 
TGTextEntry * fHistogramDescription {nullptr}
 
TGLayoutHints * fLayoutCanvases {nullptr}
 
TGLayoutHints * fLayoutParam {nullptr}
 
GMarkerfLowBGMarker1 {nullptr}
 
GMarkerfLowBGMarker2 {nullptr}
 
GMarkerfLowGateMarker {nullptr}
 
GMarkerfLowPeakMarker {nullptr}
 
TGMainFrame * fMain {nullptr}
 
TH2 * fMatrix {nullptr}
 
Int_t fMaxBinning {20}
 
TSinglePeakfPeak {nullptr}
 
TGComboBox * fPeakCombo {nullptr}
 
TGTextButton * fPeakFitButton {nullptr}
 
TGHorizontalFrame * fPeakFitFrame {nullptr}
 
TPeakFitterfPeakFitter {nullptr}
 
Double_t fPeakHighLimit
 
Double_t fPeakHighValue
 
Int_t fPeakId
 
Double_t fPeakLowLimit
 
Double_t fPeakLowValue
 
GMarkerfPeakMarker {nullptr}
 
TGTripleHSlider * fPeakSlider {nullptr}
 
Double_t fPeakValue
 
TH1 * fProjection {nullptr}
 
TRootEmbeddedCanvas * fProjectionCanvas {nullptr}
 
TGVerticalFrame * fProjectionFrame {nullptr}
 
TGStatusBar * fProjectionStatus {nullptr}
 
TH1 * fSubtractedBinHist {nullptr}
 
TH1 * fSubtractedHist {nullptr}
 
TGTextButton * fWrite2FileButton {nullptr}
 
TGTextEntry * fWrite2FileName {nullptr}
 

#include <TBGSubtraction.h>

+ Inheritance diagram for TBGSubtraction:
+ Collaboration diagram for TBGSubtraction:

Member Enumeration Documentation

◆ EEntries

Enumerator
kBGParamEntry 
kGateLowEntry 
kGateHighEntry 
kPeakLowEntry 
kPeakHighEntry 
kPeakEntry 
kBGLowEntry1 
kBGHighEntry1 
kBGLowEntry2 
kBGHighEntry2 
kWrite2FileNameEntry 
kHistogramDescriptionEntry 
kComboAxisEntry 
kComboPeakEntry 
kBGCheckButton1 
kBGCheckButton2 
kAutoUpdateCheckButton 

Definition at line 53 of file TBGSubtraction.h.

◆ EPeaks

enum TBGSubtraction::EPeaks
private
Enumerator
kGauss 
kRWPeak 
kABPeak 
kAB3Peak 

Definition at line 72 of file TBGSubtraction.h.

◆ ESliders

Enumerator
kGateSlider 
kBGSlider1 
kBGSlider2 
kPeakSlider 
kBinningSlider 

Definition at line 46 of file TBGSubtraction.h.

Constructor & Destructor Documentation

◆ TBGSubtraction()

TBGSubtraction::TBGSubtraction ( TH2 *  mat,
const char *  gate_axis = "x",
int  maxBinning = 20 
)

Definition at line 16 of file TBGSubtraction.cxx.

◆ ~TBGSubtraction()

TBGSubtraction::~TBGSubtraction ( )
override

Member Function Documentation

◆ AxisComboSelected()

void TBGSubtraction::AxisComboSelected ( )

◆ BuildInterface()

◆ ClickedBGButton1()

void TBGSubtraction::ClickedBGButton1 ( )

Definition at line 476 of file TBGSubtraction.cxx.

References fBGCheckButton1, and fBGParamEntry.

◆ ClickedBGButton2()

void TBGSubtraction::ClickedBGButton2 ( )

◆ Disconnect()

void TBGSubtraction::Disconnect ( )
private

Disconnect Canvases to recognize that they have been zoomed This function includes setting the slider, and drawing the gate markers.

Definition at line 112 of file TBGSubtraction.cxx.

References fAutoUpdateCheckButton, fAxisCombo, fBGCheckButton1, fBGCheckButton2, fBGEntryHigh1, fBGEntryHigh2, fBGEntryLow1, fBGEntryLow2, fBGParamEntry, fBGSlider1, fBGSlider2, fBinningSlider, fGateCanvas, fGateEntryHigh, fGateEntryLow, fGateSlider, fPeakCombo, fPeakFitButton, fPeakSlider, fProjectionCanvas, and fWrite2FileButton.

Referenced by ~TBGSubtraction().

◆ DoAllGates()

void TBGSubtraction::DoAllGates ( )

◆ DoEntry()

◆ DoGateCanvasZoomed()

void TBGSubtraction::DoGateCanvasZoomed ( )

◆ DoGateProjection()

◆ DoPeakFit()

◆ DoProjectionCanvasZoomed()

◆ DoSlider()

◆ DrawAllMarkers()

void TBGSubtraction::DrawAllMarkers ( )

◆ DrawBGMarkers()

void TBGSubtraction::DrawBGMarkers ( TGCheckButton *&  check_button,
GMarker *&  low_marker,
GMarker *&  high_marker,
TGNumberEntry *&  low_entry,
TGNumberEntry *&  high_entry,
Int_t  color = kBlue 
)
private

◆ DrawBGMarkers1()

void TBGSubtraction::DrawBGMarkers1 ( )

◆ DrawBGMarkers2()

void TBGSubtraction::DrawBGMarkers2 ( )

◆ DrawGateMarkers()

◆ DrawOnNewCanvas()

void TBGSubtraction::DrawOnNewCanvas ( )

Definition at line 1117 of file TBGSubtraction.cxx.

References fSubtractedBinHist.

◆ DrawPeak()

void TBGSubtraction::DrawPeak ( )

Definition at line 471 of file TBGSubtraction.cxx.

References TSinglePeak::Draw(), and fPeak.

Referenced by DoPeakFit().

◆ DrawPeakMarkers()

◆ GateStatusInfo()

void TBGSubtraction::GateStatusInfo ( Int_t  event,
Int_t  px,
Int_t  py,
TObject *  selected 
)

Definition at line 1171 of file TBGSubtraction.cxx.

References fGateCanvas, and StatusInfo().

◆ InitializeInterface()

◆ MakeBGHisto1()

void TBGSubtraction::MakeBGHisto1 ( )

Definition at line 924 of file TBGSubtraction.cxx.

References fBGEntryHigh1, fBGEntryLow1, fBGHist1, fBGSlider1, fGateAxis, fMatrix, and fProjectionCanvas.

Referenced by DoAllGates(), and DoSlider().

◆ MakeBGHisto2()

void TBGSubtraction::MakeBGHisto2 ( )

Definition at line 947 of file TBGSubtraction.cxx.

References fBGEntryHigh2, fBGEntryLow2, fBGHist2, fBGSlider2, fGateAxis, and fMatrix.

Referenced by DoAllGates(), and DoSlider().

◆ MakeConnections()

void TBGSubtraction::MakeConnections ( )
private

Connect Canvases to recognize that they have been zoomed This function includes setting the slider, and drawing the gate markers.

Definition at line 52 of file TBGSubtraction.cxx.

References fAutoUpdateCheckButton, fAxisCombo, fBGCheckButton1, fBGCheckButton2, fBGEntryHigh1, fBGEntryHigh2, fBGEntryLow1, fBGEntryLow2, fBGParamEntry, fBGSlider1, fBGSlider2, fBinningSlider, fGateCanvas, fGateEntryHigh, fGateEntryLow, fGateSlider, fPeakCombo, fPeakFitButton, fPeakSlider, fProjectionCanvas, and fWrite2FileButton.

◆ MakeGateHisto()

void TBGSubtraction::MakeGateHisto ( )

Definition at line 903 of file TBGSubtraction.cxx.

References fAxisCombo, fGateAxis, fGateEntryHigh, fGateEntryLow, fGateHist, fGateSlider, and fMatrix.

Referenced by DoAllGates(), and DoSlider().

◆ PeakComboSelected()

void TBGSubtraction::PeakComboSelected ( )

◆ ProjectionStatusInfo()

void TBGSubtraction::ProjectionStatusInfo ( Int_t  event,
Int_t  px,
Int_t  py,
TObject *  selected 
)

Definition at line 1177 of file TBGSubtraction.cxx.

References fProjectionCanvas, and StatusInfo().

◆ RebinProjection()

void TBGSubtraction::RebinProjection ( )
private

Definition at line 1207 of file TBGSubtraction.cxx.

References DrawPeakMarkers(), fBinningSlider, fGateCanvas, fSubtractedBinHist, and fSubtractedHist.

Referenced by DoSlider().

◆ ResetInterface()

◆ SetStatusFromUpdateCheckButton()

void TBGSubtraction::SetStatusFromUpdateCheckButton ( )

◆ StatusInfo()

void TBGSubtraction::StatusInfo ( Int_t  event,
Int_t  px,
Int_t  py,
TObject *  selected 
)
private

Definition at line 1183 of file TBGSubtraction.cxx.

References fProjectionStatus.

Referenced by GateStatusInfo(), and ProjectionStatusInfo().

◆ UpdateBackground()

void TBGSubtraction::UpdateBackground ( )

◆ UpdateBGSlider1()

void TBGSubtraction::UpdateBGSlider1 ( )
private

Definition at line 491 of file TBGSubtraction.cxx.

References fBGEntryHigh1, fBGEntryLow1, and fBGSlider1.

Referenced by DoEntry(), and UpdateProjectionSliders().

◆ UpdateBGSlider2()

void TBGSubtraction::UpdateBGSlider2 ( )
private

Definition at line 497 of file TBGSubtraction.cxx.

References fBGEntryHigh2, fBGEntryLow2, and fBGSlider2.

Referenced by DoEntry(), and UpdateProjectionSliders().

◆ UpdateBinningSlider()

void TBGSubtraction::UpdateBinningSlider ( )
private

Definition at line 522 of file TBGSubtraction.cxx.

References fBinningSlider, and fMaxBinning.

Referenced by ResetInterface().

◆ UpdateGateSlider()

void TBGSubtraction::UpdateGateSlider ( )
private

Definition at line 485 of file TBGSubtraction.cxx.

References fGateEntryHigh, fGateEntryLow, and fGateSlider.

Referenced by DoEntry(), and UpdateProjectionSliders().

◆ UpdatePeakSliders()

void TBGSubtraction::UpdatePeakSliders ( )

◆ UpdateProjectionSliders()

void TBGSubtraction::UpdateProjectionSliders ( )

◆ WriteHistograms()

void TBGSubtraction::WriteHistograms ( )

Member Data Documentation

◆ fAutoUpdateCheckButton

TGCheckButton* TBGSubtraction::fAutoUpdateCheckButton {nullptr}
private

◆ fAxisCombo

TGComboBox* TBGSubtraction::fAxisCombo {nullptr}
private

◆ fBGCheckButton1

TGCheckButton* TBGSubtraction::fBGCheckButton1 {nullptr}
private

◆ fBGCheckButton2

TGCheckButton* TBGSubtraction::fBGCheckButton2 {nullptr}
private

◆ fBGEntryFrame1

TGHorizontalFrame* TBGSubtraction::fBGEntryFrame1 {nullptr}
private

Definition at line 129 of file TBGSubtraction.h.

Referenced by BuildInterface().

◆ fBGEntryFrame2

TGHorizontalFrame* TBGSubtraction::fBGEntryFrame2 {nullptr}
private

Definition at line 130 of file TBGSubtraction.h.

Referenced by BuildInterface().

◆ fBGEntryHigh1

TGNumberEntry* TBGSubtraction::fBGEntryHigh1 {nullptr}
private

◆ fBGEntryHigh2

TGNumberEntry* TBGSubtraction::fBGEntryHigh2 {nullptr}
private

◆ fBGEntryLow1

TGNumberEntry* TBGSubtraction::fBGEntryLow1 {nullptr}
private

◆ fBGEntryLow2

TGNumberEntry* TBGSubtraction::fBGEntryLow2 {nullptr}
private

◆ fBGHist1

TH1* TBGSubtraction::fBGHist1 {nullptr}
private

Definition at line 87 of file TBGSubtraction.h.

Referenced by DoGateProjection(), MakeBGHisto1(), and WriteHistograms().

◆ fBGHist2

TH1* TBGSubtraction::fBGHist2 {nullptr}
private

Definition at line 88 of file TBGSubtraction.h.

Referenced by DoGateProjection(), MakeBGHisto2(), and WriteHistograms().

◆ fBGParamEntry

TGNumberEntry* TBGSubtraction::fBGParamEntry {nullptr}
private

◆ fBGParamFrame

TGHorizontalFrame* TBGSubtraction::fBGParamFrame {nullptr}
private

Definition at line 127 of file TBGSubtraction.h.

Referenced by BuildInterface().

◆ fBGParamLabel

TGLabel* TBGSubtraction::fBGParamLabel {nullptr}
private

Definition at line 103 of file TBGSubtraction.h.

Referenced by BuildInterface().

◆ fBGSlider1

TGDoubleHSlider* TBGSubtraction::fBGSlider1 {nullptr}
private

◆ fBGSlider2

TGDoubleHSlider* TBGSubtraction::fBGSlider2 {nullptr}
private

◆ fBinningFrame

TGHorizontalFrame* TBGSubtraction::fBinningFrame {nullptr}
private

Definition at line 126 of file TBGSubtraction.h.

Referenced by BuildInterface().

◆ fBinningLabel

TGLabel* TBGSubtraction::fBinningLabel {nullptr}
private

Definition at line 104 of file TBGSubtraction.h.

Referenced by BuildInterface().

◆ fBinningSlider

TGHSlider* TBGSubtraction::fBinningSlider {nullptr}
private

◆ fBly

TGLayoutHints* TBGSubtraction::fBly {nullptr}
private

Definition at line 109 of file TBGSubtraction.h.

Referenced by BuildInterface().

◆ fBly1

TGLayoutHints* TBGSubtraction::fBly1 {nullptr}
private

Definition at line 110 of file TBGSubtraction.h.

Referenced by BuildInterface().

◆ fButtonFrame

TGHorizontalFrame* TBGSubtraction::fButtonFrame {nullptr}
private

Definition at line 132 of file TBGSubtraction.h.

Referenced by BuildInterface().

◆ fCurrentFile

TFile* TBGSubtraction::fCurrentFile {nullptr}
private

Definition at line 149 of file TBGSubtraction.h.

◆ fDescriptionFrame

TGHorizontalFrame* TBGSubtraction::fDescriptionFrame {nullptr}
private

Definition at line 131 of file TBGSubtraction.h.

Referenced by BuildInterface().

◆ fForceUpdate

Bool_t TBGSubtraction::fForceUpdate
private

Definition at line 153 of file TBGSubtraction.h.

◆ fGateAxis

Int_t TBGSubtraction::fGateAxis
private

◆ fGateCanvas

TRootEmbeddedCanvas* TBGSubtraction::fGateCanvas {nullptr}
private

◆ fGateEntryFrame

TGHorizontalFrame* TBGSubtraction::fGateEntryFrame {nullptr}
private

Definition at line 128 of file TBGSubtraction.h.

Referenced by BuildInterface().

◆ fGateEntryHigh

TGNumberEntry* TBGSubtraction::fGateEntryHigh {nullptr}
private

◆ fGateEntryLow

TGNumberEntry* TBGSubtraction::fGateEntryLow {nullptr}
private

◆ fGateFrame

TGVerticalFrame* TBGSubtraction::fGateFrame {nullptr}
private

Definition at line 123 of file TBGSubtraction.h.

Referenced by BuildInterface().

◆ fGateHist

TH1* TBGSubtraction::fGateHist {nullptr}
private

Definition at line 86 of file TBGSubtraction.h.

Referenced by DoGateProjection(), MakeGateHisto(), and WriteHistograms().

◆ fGateSlider

TGDoubleHSlider* TBGSubtraction::fGateSlider {nullptr}
private

◆ fHighBGMarker1

GMarker* TBGSubtraction::fHighBGMarker1 {nullptr}
private

Definition at line 142 of file TBGSubtraction.h.

Referenced by DrawBGMarkers1(), and ~TBGSubtraction().

◆ fHighBGMarker2

GMarker* TBGSubtraction::fHighBGMarker2 {nullptr}
private

Definition at line 144 of file TBGSubtraction.h.

Referenced by DrawBGMarkers2(), and ~TBGSubtraction().

◆ fHighGateMarker

GMarker* TBGSubtraction::fHighGateMarker {nullptr}
private

Definition at line 140 of file TBGSubtraction.h.

Referenced by DrawGateMarkers(), and ~TBGSubtraction().

◆ fHighPeakMarker

GMarker* TBGSubtraction::fHighPeakMarker {nullptr}
private

Definition at line 146 of file TBGSubtraction.h.

Referenced by DrawPeakMarkers(), and ~TBGSubtraction().

◆ fHistogramDescription

TGTextEntry* TBGSubtraction::fHistogramDescription {nullptr}
private

Definition at line 115 of file TBGSubtraction.h.

Referenced by BuildInterface(), and WriteHistograms().

◆ fLayoutCanvases

TGLayoutHints* TBGSubtraction::fLayoutCanvases {nullptr}
private

Definition at line 111 of file TBGSubtraction.h.

Referenced by BuildInterface().

◆ fLayoutParam

TGLayoutHints* TBGSubtraction::fLayoutParam {nullptr}
private

Definition at line 112 of file TBGSubtraction.h.

Referenced by BuildInterface().

◆ fLowBGMarker1

GMarker* TBGSubtraction::fLowBGMarker1 {nullptr}
private

Definition at line 141 of file TBGSubtraction.h.

Referenced by DrawBGMarkers1(), and ~TBGSubtraction().

◆ fLowBGMarker2

GMarker* TBGSubtraction::fLowBGMarker2 {nullptr}
private

Definition at line 143 of file TBGSubtraction.h.

Referenced by DrawBGMarkers2(), and ~TBGSubtraction().

◆ fLowGateMarker

GMarker* TBGSubtraction::fLowGateMarker {nullptr}
private

Definition at line 139 of file TBGSubtraction.h.

Referenced by DrawGateMarkers(), and ~TBGSubtraction().

◆ fLowPeakMarker

GMarker* TBGSubtraction::fLowPeakMarker {nullptr}
private

Definition at line 145 of file TBGSubtraction.h.

Referenced by DrawPeakMarkers(), and ~TBGSubtraction().

◆ fMain

TGMainFrame* TBGSubtraction::fMain {nullptr}
private

Definition at line 81 of file TBGSubtraction.h.

◆ fMatrix

TH2* TBGSubtraction::fMatrix {nullptr}
private

Definition at line 84 of file TBGSubtraction.h.

Referenced by AxisComboSelected(), MakeBGHisto1(), MakeBGHisto2(), and MakeGateHisto().

◆ fMaxBinning

Int_t TBGSubtraction::fMaxBinning {20}
private

maximum binning possible with binning slider (hard-coded, for now?)

Definition at line 164 of file TBGSubtraction.h.

Referenced by BuildInterface(), and UpdateBinningSlider().

◆ fPeak

TSinglePeak* TBGSubtraction::fPeak {nullptr}
private

the peak to be fit (will be a class that inherits from TSinglePeak)

Definition at line 160 of file TBGSubtraction.h.

Referenced by DoPeakFit(), DrawPeak(), and PeakComboSelected().

◆ fPeakCombo

TGComboBox* TBGSubtraction::fPeakCombo {nullptr}
private

◆ fPeakFitButton

TGTextButton* TBGSubtraction::fPeakFitButton {nullptr}
private

◆ fPeakFitFrame

TGHorizontalFrame* TBGSubtraction::fPeakFitFrame {nullptr}
private

Definition at line 125 of file TBGSubtraction.h.

Referenced by BuildInterface().

◆ fPeakFitter

TPeakFitter* TBGSubtraction::fPeakFitter {nullptr}
private

the peak fitter that fPeak is added to

Definition at line 161 of file TBGSubtraction.h.

Referenced by DoPeakFit(), and PeakComboSelected().

◆ fPeakHighLimit

Double_t TBGSubtraction::fPeakHighLimit
private

upper limit for peak slider range

Definition at line 155 of file TBGSubtraction.h.

Referenced by DoGateCanvasZoomed(), ResetInterface(), and UpdatePeakSliders().

◆ fPeakHighValue

Double_t TBGSubtraction::fPeakHighValue
private

high range for fit

Definition at line 157 of file TBGSubtraction.h.

Referenced by DoGateCanvasZoomed(), DoPeakFit(), DoSlider(), DrawPeakMarkers(), ResetInterface(), and UpdatePeakSliders().

◆ fPeakId

Int_t TBGSubtraction::fPeakId
private

the current ID of the peak

Definition at line 162 of file TBGSubtraction.h.

Referenced by PeakComboSelected().

◆ fPeakLowLimit

Double_t TBGSubtraction::fPeakLowLimit
private

lower limit for peak slider range

Definition at line 154 of file TBGSubtraction.h.

Referenced by DoGateCanvasZoomed(), ResetInterface(), and UpdatePeakSliders().

◆ fPeakLowValue

Double_t TBGSubtraction::fPeakLowValue
private

low range for fit

Definition at line 156 of file TBGSubtraction.h.

Referenced by DoGateCanvasZoomed(), DoPeakFit(), DoSlider(), DrawPeakMarkers(), ResetInterface(), and UpdatePeakSliders().

◆ fPeakMarker

GMarker* TBGSubtraction::fPeakMarker {nullptr}
private

Definition at line 147 of file TBGSubtraction.h.

Referenced by DrawPeakMarkers(), and ~TBGSubtraction().

◆ fPeakSlider

TGTripleHSlider* TBGSubtraction::fPeakSlider {nullptr}
private

◆ fPeakValue

Double_t TBGSubtraction::fPeakValue
private

centroid for fit

Definition at line 158 of file TBGSubtraction.h.

Referenced by DoGateCanvasZoomed(), DoPeakFit(), DoSlider(), DrawPeakMarkers(), ResetInterface(), and UpdatePeakSliders().

◆ fProjection

TH1* TBGSubtraction::fProjection {nullptr}
private

◆ fProjectionCanvas

TRootEmbeddedCanvas* TBGSubtraction::fProjectionCanvas {nullptr}
private

◆ fProjectionFrame

TGVerticalFrame* TBGSubtraction::fProjectionFrame {nullptr}
private

Definition at line 124 of file TBGSubtraction.h.

Referenced by BuildInterface().

◆ fProjectionStatus

TGStatusBar* TBGSubtraction::fProjectionStatus {nullptr}
private

Definition at line 120 of file TBGSubtraction.h.

Referenced by BuildInterface(), and StatusInfo().

◆ fSubtractedBinHist

TH1* TBGSubtraction::fSubtractedBinHist {nullptr}
private

◆ fSubtractedHist

TH1* TBGSubtraction::fSubtractedHist {nullptr}
private

Definition at line 89 of file TBGSubtraction.h.

Referenced by DoGateProjection(), RebinProjection(), and WriteHistograms().

◆ fWrite2FileButton

TGTextButton* TBGSubtraction::fWrite2FileButton {nullptr}
private

◆ fWrite2FileName

TGTextEntry* TBGSubtraction::fWrite2FileName {nullptr}
private

Definition at line 114 of file TBGSubtraction.h.

Referenced by BuildInterface(), and WriteHistograms().