![]() |
KaliVeda
Toolkit for HIC analysis
|
GUI for finding/fixing mass identification intervals.
Created by KVClassFactory on Mon Jan 23 10:03:13 2017 Author: Diego Gruyer
Definition at line 34 of file KVItvFinderDialog.h.
#include <KVItvFinderDialog.h>
Public Types | |
enum | { M_SAVE , M_NEW , M_DEL , M_MASS , M_LOG , M_UNZOOM } |
Private Member Functions | |
void | delete_painter_from_painter_list (KVPIDIntervalPainter *) |
void | remove_interval_from_interval_set (interval_set *itvs, interval *itv, bool remove_fit=true) |
RQ_OBJECT ("KVZAFinderDialog") | |
Private Attributes | |
interval_set * | current_interval_set = nullptr |
TCanvas * | fCanvas |
KVList * | fCustoms |
TList | fFunc |
KVIDZAFromZGrid * | fGrid |
TH2 * | fHisto |
KVListView * | fIntervalListView |
KVListView * | fIntervalSetListView |
KVList | fItvPaint |
TH1 * | fLinearHisto |
TGTransientFrame * | fMain |
Int_t | fNbButtons |
Int_t | fNextIntervalZ |
Int_t | fNpeaks [30] |
Int_t | fNPoints |
TVirtualPad * | fPad |
TGraph * | fPoints |
Double_t | fRat |
Double_t | fSig |
TSpectrum | fSpectrum |
TGButton * | fTBbuttons [50] |
TGToolBar * | fToolBar |
TGToolBar * | fToolBar2 |
KVPIDIntervalPainter * | last_drawn_interval |
Static Private Attributes | |
static KVNameValueList | mass_fit_parameters |
for user control of multi-gaussian fit More... | |
anonymous enum |
Enumerator | |
---|---|
M_SAVE | |
M_NEW | |
M_DEL | |
M_MASS | |
M_LOG | |
M_UNZOOM |
Definition at line 76 of file KVItvFinderDialog.h.
KVItvFinderDialog::KVItvFinderDialog | ( | KVIDZAFromZGrid * | gg, |
TH2 * | hh | ||
) |
Definition at line 58 of file KVItvFinderDialog.cpp.
|
inlinevirtual |
Definition at line 86 of file KVItvFinderDialog.h.
void KVItvFinderDialog::AddInterval | ( | double | pid | ) |
Definition at line 799 of file KVItvFinderDialog.cpp.
void KVItvFinderDialog::ClearInterval | ( | interval_set * | itvs | ) |
empty an interval set, effectively removing it from the interval sets which will be saved with the grid.
we also remove any previous fits from the grid's parameters
Definition at line 434 of file KVItvFinderDialog.cpp.
|
private |
remove painter from list and modify the 'left_painter' and 'right_painter' references in any adjacent painters/intervals, then delete painter
Definition at line 41 of file KVItvFinderDialog.cpp.
void KVItvFinderDialog::DisplayPIDint | ( | ) |
Definition at line 289 of file KVItvFinderDialog.cpp.
|
inline |
Definition at line 113 of file KVItvFinderDialog.h.
|
inline |
Definition at line 110 of file KVItvFinderDialog.h.
void KVItvFinderDialog::DrawInterval | ( | interval_set * | itvs, |
bool | label = 0 |
||
) |
Definition at line 403 of file KVItvFinderDialog.cpp.
void KVItvFinderDialog::DrawIntervals | ( | ) |
Definition at line 389 of file KVItvFinderDialog.cpp.
void KVItvFinderDialog::ExportToGrid | ( | ) |
Write all PID intervals in grid parameters "PIDRANGE", "PIDRANGE%d", etc.
Definition at line 660 of file KVItvFinderDialog.cpp.
Definition at line 1365 of file KVItvFinderDialog.cpp.
void KVItvFinderDialog::FitIsotopes | ( | ) |
fit the PID spectrum for the currently selected interval set (Z).
for an interval with N isotopes, we use N gaussians plus an exponential (decreasing) background. each gaussian has the same width. the centroids of the gaussians are first fixed to the positions of the PID markers, the intensity and width of the peaks (plus the background) are fitted. then another fit is performed without constraining the centroids.
finally the PID markers (PID of each interval) are modified according to the fitted centroid positions.
Definition at line 1119 of file KVItvFinderDialog.cpp.
Definition at line 1415 of file KVItvFinderDialog.cpp.
|
inline |
Definition at line 91 of file KVItvFinderDialog.h.
void KVItvFinderDialog::HandleKey | ( | ) |
Definition at line 1330 of file KVItvFinderDialog.cpp.
void KVItvFinderDialog::Identify | ( | ) |
KVBase::OpenContextMenu("Identify(double,double)",this);.
Definition at line 568 of file KVItvFinderDialog.cpp.
void KVItvFinderDialog::Identify | ( | double | sigma, |
double | ratio | ||
) |
Definition at line 578 of file KVItvFinderDialog.cpp.
void KVItvFinderDialog::LinearizeHisto | ( | int | nbins | ) |
Definition at line 470 of file KVItvFinderDialog.cpp.
void KVItvFinderDialog::MassesDown | ( | ) |
Definition at line 1002 of file KVItvFinderDialog.cpp.
void KVItvFinderDialog::MassesUp | ( | ) |
Definition at line 960 of file KVItvFinderDialog.cpp.
void KVItvFinderDialog::NewInterval | ( | ) |
Definition at line 694 of file KVItvFinderDialog.cpp.
void KVItvFinderDialog::NewIntervalSet | ( | ) |
Definition at line 899 of file KVItvFinderDialog.cpp.
void KVItvFinderDialog::PrintHelp | ( | ) |
Definition at line 1354 of file KVItvFinderDialog.cpp.
Definition at line 1431 of file KVItvFinderDialog.cpp.
|
private |
Definition at line 912 of file KVItvFinderDialog.cpp.
void KVItvFinderDialog::RemoveFit | ( | ) |
Remove fit of currently selected interval set from pad.
Definition at line 1304 of file KVItvFinderDialog.cpp.
void KVItvFinderDialog::RemoveInterval | ( | ) |
Definition at line 927 of file KVItvFinderDialog.cpp.
|
private |
void KVItvFinderDialog::SaveGrid | ( | ) |
Definition at line 606 of file KVItvFinderDialog.cpp.
void KVItvFinderDialog::SelectionITVChanged | ( | ) |
Definition at line 308 of file KVItvFinderDialog.cpp.
void KVItvFinderDialog::SetFitParameters | ( | ) |
Open dialog to modify parameters for multigauss mass fit.
Definition at line 1288 of file KVItvFinderDialog.cpp.
void KVItvFinderDialog::SetLogy | ( | ) |
Definition at line 1086 of file KVItvFinderDialog.cpp.
|
inline |
Definition at line 95 of file KVItvFinderDialog.h.
void KVItvFinderDialog::TestIdent | ( | ) |
fGrid->SetOnlyZId(0);
Definition at line 1064 of file KVItvFinderDialog.cpp.
void KVItvFinderDialog::UnzoomHisto | ( | ) |
Definition at line 1097 of file KVItvFinderDialog.cpp.
void KVItvFinderDialog::UpdateLists | ( | ) |
Definition at line 1043 of file KVItvFinderDialog.cpp.
void KVItvFinderDialog::UpdatePIDList | ( | ) |
Definition at line 328 of file KVItvFinderDialog.cpp.
void KVItvFinderDialog::ZoomOnCanvas | ( | ) |
Display the interval set for a given Z when the user double clicks on it.
Definition at line 347 of file KVItvFinderDialog.cpp.
|
private |
Definition at line 70 of file KVItvFinderDialog.h.
|
private |
Definition at line 38 of file KVItvFinderDialog.h.
|
private |
Definition at line 47 of file KVItvFinderDialog.h.
|
private |
Definition at line 60 of file KVItvFinderDialog.h.
|
private |
Definition at line 51 of file KVItvFinderDialog.h.
|
private |
Definition at line 52 of file KVItvFinderDialog.h.
|
private |
Definition at line 49 of file KVItvFinderDialog.h.
|
private |
Definition at line 48 of file KVItvFinderDialog.h.
|
private |
Definition at line 55 of file KVItvFinderDialog.h.
|
private |
Definition at line 53 of file KVItvFinderDialog.h.
|
private |
Definition at line 37 of file KVItvFinderDialog.h.
|
private |
Definition at line 44 of file KVItvFinderDialog.h.
|
private |
Definition at line 63 of file KVItvFinderDialog.h.
|
private |
Definition at line 61 of file KVItvFinderDialog.h.
|
private |
Definition at line 59 of file KVItvFinderDialog.h.
|
private |
Definition at line 39 of file KVItvFinderDialog.h.
|
private |
Definition at line 58 of file KVItvFinderDialog.h.
|
private |
Definition at line 65 of file KVItvFinderDialog.h.
|
private |
Definition at line 65 of file KVItvFinderDialog.h.
|
private |
Definition at line 57 of file KVItvFinderDialog.h.
|
private |
Definition at line 43 of file KVItvFinderDialog.h.
|
private |
Definition at line 41 of file KVItvFinderDialog.h.
|
private |
Definition at line 42 of file KVItvFinderDialog.h.
|
private |
Definition at line 67 of file KVItvFinderDialog.h.
|
staticprivate |
for user control of multi-gaussian fit
Definition at line 72 of file KVItvFinderDialog.h.