9 TString KVZAFinderDialog::fAList =
"1,4,7,9,11,12,14,16,19,21,23,25,27,29,31,34,37,40,41";
24 if ((fZmin < 0) && fGrid) fZmin = ((
KVIDentifier*)fGrid->GetIdentifiers()->First())->GetPID();
25 if ((fZmax < 0) && fGrid) fZmax = ((
KVIDentifier*)fGrid->GetIdentifiers()->Last())->GetPID();
29 fMain->Connect(
"CloseWindow()",
"KVSpIdGUI",
this,
"DoClose()");
30 fMain->DontCallClose();
37 fZminLabel =
new TGLabel(fZpFrame,
"Zmin ");
43 fZmaxLabel =
new TGLabel(fZpFrame,
" Zmax ");
49 fZbinLabel =
new TGLabel(fZpFrame,
" Bins ");
58 fALabel =
new TGLabel(fApFrame,
"A ");
76 fProgressBar->ShowPosition();
77 fProgressBar->SetBarColor(
"green");
82 fTestButton =
new TGTextButton(fButtonsFrame,
"&Process");
83 fTestButton->Connect(
"Clicked()",
"KVZAFinderDialog",
this,
"ProcessIdentification()");
84 fCloseButton =
new TGTextButton(fButtonsFrame,
"&Close");
85 fCloseButton->Connect(
"Clicked()",
"KVZAFinderDialog",
this,
"DoClose()");
87 fButtonsFrame->AddFrame(fTestButton,
91 fButtonsFrame->AddFrame(fCloseButton,
103 fMain->MapSubwindows();
104 fMain->Resize(fMain->GetDefaultSize());
107 fMain->CenterOnParent();
109 fMain->SetWindowName(
"Masses Identification");
187 toto.Connect(
"Increment(Float_t)",
"TGHProgressBar",
200 toto.Disconnect(
"IncrementLinear(Float_t)",
202 toto.Disconnect(
"Increment(Float_t)",
KVIDGridEditor * gIDGridEditor
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
Base class for particle identification in a 2D map.
KVList * GetIdentifiers() const
Identification grid editor GUI ,.
void SetGrid(KVIDGraph *gg, Bool_t histo=true)
void StartViewer()
Close();.
Identification grid with lines corresponding to different nuclear isotopes (KVIDZALine)
Base class for graphical cuts used in particle identification.
virtual TObject * Last() const
virtual TObject * First() const
Dialog box for KVZALineFinder class.
TGNumberEntry * fZminEntry
TGHProgressBar * fLinearBar
TGTextButton * fCloseButton
TGTextButton * fTestButton
virtual ~KVZAFinderDialog()
Destructor.
TGNumberEntry * fZmaxEntry
TGHProgressBar * fProgressBar
void ProcessIdentification()
KVZAFinderDialog(KVIDGraph *g=0, TH2 *data_histo=0)
static Int_t fStepsByLine
(try to) find mass lines from charge lines
void SetNbinsByZ(Int_t binByZ)
void SetAList(const char *Alist)
void ProcessIdentification(Int_t zmin=-1, Int_t zmax=-1)
virtual Long_t GetIntNumber() const
void SetRange(Float_t min, Float_t max)
const char * GetText() const
const char * Data() const
static void SingleShot(Int_t milliSec, const char *receiver_class, void *receiver, const char *method)
const long double g
masses