32#include "KVIDZALine.h"
33#include "KVIDCutLine.h"
106 TString _cl, _type(idline_class);
112 else _cl = idline_class;
114 if (_cl ==
"") _cl =
"KVIDLine";
115 if (!clas) clas =
gROOT->GetClass(_cl.
Data());
121 "%s is not a valid classname. No known class.", _cl.
Data());
126 "%s is not a valid class deriving from KVIDLine.",
153 if (
type ==
"OK" && cl ==
"KVIDLine") {
160 if (
type ==
"ID" && cl ==
"KVIDZLine") {
171 line->ReadAsciiFile(gridfile);
177 line->CopyGraph(oldcut);
201 if (
line->IsBetweenEndPoints(
x,
y, direction)) {
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
Line in ID grid used to delimit regions where no identification is possible.
void Add(TString, KVIDentifier *)
const KVList * GetIdentifiers() const
virtual KVIDentifier * New(const Char_t *)
Create new object of class "id_class" which derives from KVIDentifier.
Abstract base class for 2D identification grids in e.g. (dE,E) maps.
virtual void CalculateLineWidths()
void init()
Initialisations, used by constructors.
virtual TClass * DefaultOKLineClass()
KVIDLine * NewLine(const Char_t *idline_class="")
Int_t GetIDLinesEmbracingPoint(const Char_t *direction, Double_t x, Double_t y) const
virtual TClass * DefaultIDLineClass()
TObjArray fEmbracingLines
temporary array used by GetIDLinesEmbracingPoint
void ReadIdentifierFromAsciiFile(TString &name, TString &type, TString &cl, std::ifstream &gridfile)
Base class for lines/cuts used for particle identification in 2D data maps.
Base class for identification ridge lines corresponding to different nuclear species.
Base class for graphical cuts used in particle identification.
void * New(ENewType defConstructor=kClassNew, Bool_t quiet=kFALSE) const
Bool_t InheritsFrom(const char *cl) const override
void Clear(Option_t *option="") override
void Add(TObject *obj) override
virtual void Error(const char *method, const char *msgfmt,...) const
const char * Data() const