KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVTestIDGridDialog Class Reference

Detailed Description

GUI for testing identification grids.

Definition at line 24 of file KVTestIDGridDialog.h.

#include <KVTestIDGridDialog.h>

Public Member Functions

 KVTestIDGridDialog (const TGWindow *p=0, const TGWindow *main=0, UInt_t w=1, UInt_t h=1, KVIDGraph *g=0, TH2 *data_histo=0)
 
virtual ~KVTestIDGridDialog ()
 
Bool_t CheckNameOK (const TString &name)
 
void CloseWindow ()
 
void DoClose ()
 
void DrawChart (TVirtualPad *cc, Int_t zmin, Int_t zmax, Int_t nmin, Int_t nmax)
 
void TestGrid ()
 

Private Member Functions

void add_histo (TH1 *h)
 

Private Attributes

TGHorizontalFramefButtonsFrame
 
TGTextButtonfCloseButton
 
TGHorizontalFramefHdataFrame
 
TGTextEntryfHdataNameEntry
 
TGLabelfHdataNameLabel
 
TGNumberEntryfHzrealBinsEntry
 
TGHorizontalFramefHzrealBinsFrame
 
TGLabelfHzrealBinsLabel
 
TGGroupFramefHzrealFrame
 
TGTextEntryfHzrealNameEntry
 
TGHorizontalFramefHzrealNameFrame
 
TGLabelfHzrealNameLabel
 
TGNumberEntryfHzrealXmaxEntry
 
TGLabelfHzrealXmaxLabel
 
TGNumberEntryfHzrealXminEntry
 
TGLabelfHzrealXminLabel
 
TGNumberEntryfHzvsdeXBinsEntry
 
TGHorizontalFramefHzvsdeXBinsFrame
 
TGLabelfHzvsdeXBinsLabel
 
TGNumberEntryfHzvsdeXmaxEntry
 
TGLabelfHzvsdeXmaxLabel
 
TGNumberEntryfHzvsdeXminEntry
 
TGLabelfHzvsdeXminLabel
 
TGGroupFramefHzvseFrame
 
TGTextEntryfHzvseNameEntry
 
TGHorizontalFramefHzvseNameFrame
 
TGLabelfHzvseNameLabel
 
TGNumberEntryfHzvseXBinsEntry
 
TGHorizontalFramefHzvseXBinsFrame
 
TGLabelfHzvseXBinsLabel
 
TGNumberEntryfHzvseXmaxEntry
 
TGLabelfHzvseXmaxLabel
 
TGNumberEntryfHzvseXminEntry
 
TGLabelfHzvseXminLabel
 
TGNumberEntryfHzvseYBinsEntry
 
TGHorizontalFramefHzvseYBinsFrame
 
TGLabelfHzvseYBinsLabel
 
TGNumberEntryfHzvseYmaxEntry
 
TGLabelfHzvseYmaxLabel
 
TGNumberEntryfHzvseYminEntry
 
TGLabelfHzvseYminLabel
 
TGTransientFramefMain
 
TGHProgressBarfProgressBar
 
KVIDGraphfSelectedGrid
 
TGTextButtonfTestButton
 
KVHashList histos
 
std::unique_ptr< TCanvasresultsCanvas
 
std::unique_ptr< KVCanvasresultsKVCanvas
 

Static Private Attributes

static TString fNameData = "htemp"
 
static TString fNameZreal = "hzreal"
 
static TString fNameZvsE = "hzvse"
 
static Int_t hzrealbins = 500
 
static Int_t hzrealxmax = 100
 
static Int_t hzrealxmin = 0
 
static Int_t hzvsdexbins = 500
 
static Double_t hzvsdexmax = 5000
 
static Double_t hzvsdexmin = 0
 
static Int_t hzvsexbins = 500
 
static Double_t hzvsexmax = 5000
 
static Double_t hzvsexmin = 0
 
static Int_t hzvseybins = 500
 
static Int_t hzvseymax = 100
 
static Int_t hzvseymin = 0
 

Constructor & Destructor Documentation

◆ KVTestIDGridDialog()

KVTestIDGridDialog::KVTestIDGridDialog ( const TGWindow p = 0,
const TGWindow main = 0,
UInt_t  w = 1,
UInt_t  h = 1,
KVIDGraph g = 0,
TH2 data_histo = 0 
)

Definition at line 39 of file KVTestIDGridDialog.cpp.

◆ ~KVTestIDGridDialog()

KVTestIDGridDialog::~KVTestIDGridDialog ( )
virtual

Definition at line 274 of file KVTestIDGridDialog.cpp.

Member Function Documentation

◆ add_histo()

void KVTestIDGridDialog::add_histo ( TH1 h)
inlineprivate

Definition at line 99 of file KVTestIDGridDialog.h.

◆ CheckNameOK()

Bool_t KVTestIDGridDialog::CheckNameOK ( const TString name)
inline

Definition at line 115 of file KVTestIDGridDialog.h.

◆ CloseWindow()

void KVTestIDGridDialog::CloseWindow ( )

Definition at line 269 of file KVTestIDGridDialog.cpp.

◆ DoClose()

void KVTestIDGridDialog::DoClose ( )

Definition at line 264 of file KVTestIDGridDialog.cpp.

◆ DrawChart()

void KVTestIDGridDialog::DrawChart ( TVirtualPad cc,
Int_t  zmin,
Int_t  zmax,
Int_t  nmin,
Int_t  nmax 
)

Definition at line 594 of file KVTestIDGridDialog.cpp.

◆ TestGrid()

void KVTestIDGridDialog::TestGrid ( )

Definition at line 282 of file KVTestIDGridDialog.cpp.

Member Data Documentation

◆ fButtonsFrame

TGHorizontalFrame* KVTestIDGridDialog::fButtonsFrame
private

Definition at line 74 of file KVTestIDGridDialog.h.

◆ fCloseButton

TGTextButton* KVTestIDGridDialog::fCloseButton
private

Definition at line 76 of file KVTestIDGridDialog.h.

◆ fHdataFrame

TGHorizontalFrame* KVTestIDGridDialog::fHdataFrame
private

Definition at line 30 of file KVTestIDGridDialog.h.

◆ fHdataNameEntry

TGTextEntry* KVTestIDGridDialog::fHdataNameEntry
private

Definition at line 32 of file KVTestIDGridDialog.h.

◆ fHdataNameLabel

TGLabel* KVTestIDGridDialog::fHdataNameLabel
private

Definition at line 31 of file KVTestIDGridDialog.h.

◆ fHzrealBinsEntry

TGNumberEntry* KVTestIDGridDialog::fHzrealBinsEntry
private

Definition at line 42 of file KVTestIDGridDialog.h.

◆ fHzrealBinsFrame

TGHorizontalFrame* KVTestIDGridDialog::fHzrealBinsFrame
private

Definition at line 38 of file KVTestIDGridDialog.h.

◆ fHzrealBinsLabel

TGLabel* KVTestIDGridDialog::fHzrealBinsLabel
private

Definition at line 39 of file KVTestIDGridDialog.h.

◆ fHzrealFrame

TGGroupFrame* KVTestIDGridDialog::fHzrealFrame
private

Definition at line 34 of file KVTestIDGridDialog.h.

◆ fHzrealNameEntry

TGTextEntry* KVTestIDGridDialog::fHzrealNameEntry
private

Definition at line 37 of file KVTestIDGridDialog.h.

◆ fHzrealNameFrame

TGHorizontalFrame* KVTestIDGridDialog::fHzrealNameFrame
private

Definition at line 35 of file KVTestIDGridDialog.h.

◆ fHzrealNameLabel

TGLabel* KVTestIDGridDialog::fHzrealNameLabel
private

Definition at line 36 of file KVTestIDGridDialog.h.

◆ fHzrealXmaxEntry

TGNumberEntry* KVTestIDGridDialog::fHzrealXmaxEntry
private

Definition at line 44 of file KVTestIDGridDialog.h.

◆ fHzrealXmaxLabel

TGLabel* KVTestIDGridDialog::fHzrealXmaxLabel
private

Definition at line 41 of file KVTestIDGridDialog.h.

◆ fHzrealXminEntry

TGNumberEntry* KVTestIDGridDialog::fHzrealXminEntry
private

Definition at line 43 of file KVTestIDGridDialog.h.

◆ fHzrealXminLabel

TGLabel* KVTestIDGridDialog::fHzrealXminLabel
private

Definition at line 40 of file KVTestIDGridDialog.h.

◆ fHzvsdeXBinsEntry

TGNumberEntry* KVTestIDGridDialog::fHzvsdeXBinsEntry
private

Definition at line 61 of file KVTestIDGridDialog.h.

◆ fHzvsdeXBinsFrame

TGHorizontalFrame* KVTestIDGridDialog::fHzvsdeXBinsFrame
private

Definition at line 57 of file KVTestIDGridDialog.h.

◆ fHzvsdeXBinsLabel

TGLabel* KVTestIDGridDialog::fHzvsdeXBinsLabel
private

Definition at line 58 of file KVTestIDGridDialog.h.

◆ fHzvsdeXmaxEntry

TGNumberEntry* KVTestIDGridDialog::fHzvsdeXmaxEntry
private

Definition at line 63 of file KVTestIDGridDialog.h.

◆ fHzvsdeXmaxLabel

TGLabel* KVTestIDGridDialog::fHzvsdeXmaxLabel
private

Definition at line 60 of file KVTestIDGridDialog.h.

◆ fHzvsdeXminEntry

TGNumberEntry* KVTestIDGridDialog::fHzvsdeXminEntry
private

Definition at line 62 of file KVTestIDGridDialog.h.

◆ fHzvsdeXminLabel

TGLabel* KVTestIDGridDialog::fHzvsdeXminLabel
private

Definition at line 59 of file KVTestIDGridDialog.h.

◆ fHzvseFrame

TGGroupFrame* KVTestIDGridDialog::fHzvseFrame
private

Definition at line 46 of file KVTestIDGridDialog.h.

◆ fHzvseNameEntry

TGTextEntry* KVTestIDGridDialog::fHzvseNameEntry
private

Definition at line 49 of file KVTestIDGridDialog.h.

◆ fHzvseNameFrame

TGHorizontalFrame* KVTestIDGridDialog::fHzvseNameFrame
private

Definition at line 47 of file KVTestIDGridDialog.h.

◆ fHzvseNameLabel

TGLabel* KVTestIDGridDialog::fHzvseNameLabel
private

Definition at line 48 of file KVTestIDGridDialog.h.

◆ fHzvseXBinsEntry

TGNumberEntry* KVTestIDGridDialog::fHzvseXBinsEntry
private

Definition at line 54 of file KVTestIDGridDialog.h.

◆ fHzvseXBinsFrame

TGHorizontalFrame* KVTestIDGridDialog::fHzvseXBinsFrame
private

Definition at line 50 of file KVTestIDGridDialog.h.

◆ fHzvseXBinsLabel

TGLabel* KVTestIDGridDialog::fHzvseXBinsLabel
private

Definition at line 51 of file KVTestIDGridDialog.h.

◆ fHzvseXmaxEntry

TGNumberEntry* KVTestIDGridDialog::fHzvseXmaxEntry
private

Definition at line 56 of file KVTestIDGridDialog.h.

◆ fHzvseXmaxLabel

TGLabel* KVTestIDGridDialog::fHzvseXmaxLabel
private

Definition at line 53 of file KVTestIDGridDialog.h.

◆ fHzvseXminEntry

TGNumberEntry* KVTestIDGridDialog::fHzvseXminEntry
private

Definition at line 55 of file KVTestIDGridDialog.h.

◆ fHzvseXminLabel

TGLabel* KVTestIDGridDialog::fHzvseXminLabel
private

Definition at line 52 of file KVTestIDGridDialog.h.

◆ fHzvseYBinsEntry

TGNumberEntry* KVTestIDGridDialog::fHzvseYBinsEntry
private

Definition at line 68 of file KVTestIDGridDialog.h.

◆ fHzvseYBinsFrame

TGHorizontalFrame* KVTestIDGridDialog::fHzvseYBinsFrame
private

Definition at line 64 of file KVTestIDGridDialog.h.

◆ fHzvseYBinsLabel

TGLabel* KVTestIDGridDialog::fHzvseYBinsLabel
private

Definition at line 65 of file KVTestIDGridDialog.h.

◆ fHzvseYmaxEntry

TGNumberEntry* KVTestIDGridDialog::fHzvseYmaxEntry
private

Definition at line 70 of file KVTestIDGridDialog.h.

◆ fHzvseYmaxLabel

TGLabel* KVTestIDGridDialog::fHzvseYmaxLabel
private

Definition at line 67 of file KVTestIDGridDialog.h.

◆ fHzvseYminEntry

TGNumberEntry* KVTestIDGridDialog::fHzvseYminEntry
private

Definition at line 69 of file KVTestIDGridDialog.h.

◆ fHzvseYminLabel

TGLabel* KVTestIDGridDialog::fHzvseYminLabel
private

Definition at line 66 of file KVTestIDGridDialog.h.

◆ fMain

TGTransientFrame* KVTestIDGridDialog::fMain
private

Definition at line 28 of file KVTestIDGridDialog.h.

◆ fNameData

TString KVTestIDGridDialog::fNameData = "htemp"
staticprivate

Definition at line 80 of file KVTestIDGridDialog.h.

◆ fNameZreal

TString KVTestIDGridDialog::fNameZreal = "hzreal"
staticprivate

Definition at line 81 of file KVTestIDGridDialog.h.

◆ fNameZvsE

TString KVTestIDGridDialog::fNameZvsE = "hzvse"
staticprivate

Definition at line 82 of file KVTestIDGridDialog.h.

◆ fProgressBar

TGHProgressBar* KVTestIDGridDialog::fProgressBar
private

Definition at line 72 of file KVTestIDGridDialog.h.

◆ fSelectedGrid

KVIDGraph* KVTestIDGridDialog::fSelectedGrid
private

Definition at line 78 of file KVTestIDGridDialog.h.

◆ fTestButton

TGTextButton* KVTestIDGridDialog::fTestButton
private

Definition at line 75 of file KVTestIDGridDialog.h.

◆ histos

KVHashList KVTestIDGridDialog::histos
private

Definition at line 98 of file KVTestIDGridDialog.h.

◆ hzrealbins

Int_t KVTestIDGridDialog::hzrealbins = 500
staticprivate

Definition at line 83 of file KVTestIDGridDialog.h.

◆ hzrealxmax

Int_t KVTestIDGridDialog::hzrealxmax = 100
staticprivate

Definition at line 85 of file KVTestIDGridDialog.h.

◆ hzrealxmin

Int_t KVTestIDGridDialog::hzrealxmin = 0
staticprivate

Definition at line 84 of file KVTestIDGridDialog.h.

◆ hzvsdexbins

Int_t KVTestIDGridDialog::hzvsdexbins = 500
staticprivate

Definition at line 92 of file KVTestIDGridDialog.h.

◆ hzvsdexmax

Double_t KVTestIDGridDialog::hzvsdexmax = 5000
staticprivate

Definition at line 94 of file KVTestIDGridDialog.h.

◆ hzvsdexmin

Double_t KVTestIDGridDialog::hzvsdexmin = 0
staticprivate

Definition at line 93 of file KVTestIDGridDialog.h.

◆ hzvsexbins

Int_t KVTestIDGridDialog::hzvsexbins = 500
staticprivate

Definition at line 86 of file KVTestIDGridDialog.h.

◆ hzvsexmax

Double_t KVTestIDGridDialog::hzvsexmax = 5000
staticprivate

Definition at line 88 of file KVTestIDGridDialog.h.

◆ hzvsexmin

Double_t KVTestIDGridDialog::hzvsexmin = 0
staticprivate

Definition at line 87 of file KVTestIDGridDialog.h.

◆ hzvseybins

Int_t KVTestIDGridDialog::hzvseybins = 500
staticprivate

Definition at line 89 of file KVTestIDGridDialog.h.

◆ hzvseymax

Int_t KVTestIDGridDialog::hzvseymax = 100
staticprivate

Definition at line 91 of file KVTestIDGridDialog.h.

◆ hzvseymin

Int_t KVTestIDGridDialog::hzvseymin = 0
staticprivate

Definition at line 90 of file KVTestIDGridDialog.h.

◆ resultsCanvas

std::unique_ptr<TCanvas> KVTestIDGridDialog::resultsCanvas
private

Definition at line 96 of file KVTestIDGridDialog.h.

◆ resultsKVCanvas

std::unique_ptr<KVCanvas> KVTestIDGridDialog::resultsKVCanvas
private

Definition at line 97 of file KVTestIDGridDialog.h.