11#include "KVIDZAGrid.h"
12#include "KVIDZALine.h"
28 :
KVTGIDZ(name, function, xmin, xmax, npar, x_par, y_par)
98 return (
KVIDLine*)
g->Add(
"ID",
"KVIDZALine");
144 static Int_t Ziso[] = {
154 static Int_t Aiso[] = {
164 static Int_t nisotopes = 24;
165 static Int_t Zindex_start[] = { -1, 0, 3, 6, 9, 12, 15, 18, 21 };
166 static Int_t Zindex_stop[] = { -1, 2, 5, 8, 11, 14, 17, 20, 23 };
168 if (Z <= Ziso[nisotopes - 1]) {
171 for (
int iso = Zindex_start[Z]; iso <= Zindex_stop[Z]; iso++) {
176 Double_t idlab = 100. * Ziso[iso] + Aiso[iso];
191 for (
Int_t i = 0; i < npoints; i++) {
234 for (
Int_t i = 0; i < npoints; i++) {
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t g
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
Abstract base class for 2D identification grids in e.g. (dE,E) maps.
Base class for lines/cuts used for particle identification in 2D data maps.
static Int_t GetAFromZ(Double_t, Char_t mt)
Base class for charged particle Z & A identfication using functionals developed by L....
void AddLineToGrid(KVIDGrid *g, Int_t ID, Int_t npoints, Double_t xmin, Double_t xmax, Bool_t logscale=kFALSE)
virtual void SetIdent(KVIDLine *, Double_t ID)
virtual KVIDLine * AddLine(KVIDGrid *)
Add a new KVIDZALine to the grid.
Abstract base class for charged particle Z identfication using functionals developed by L....
Int_t fZorA
used for Z (1) or A (0) identification
Int_t fMassFormula
mass formula used to calculate A from Z (if Z identification used)
virtual void SetParName(Int_t ipar, const char *name)
virtual Double_t Eval(Double_t x, Double_t y=0, Double_t z=0, Double_t t=0) const
virtual void SetParameter(const TString &name, Double_t value)
virtual void SetPoint(Int_t i, Double_t x, Double_t y)
Double_t Max(Double_t a, Double_t b)