106 TString _cl, _type(idline_class);
110 if (_type ==
"ID") clas = DefaultIDLineClass();
111 else if (_type ==
"OK") clas = DefaultOKLineClass();
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);
196 TIter next(GetIdentifiers());
199 fEmbracingLines.
Clear();
201 if (
line->IsBetweenEndPoints(
x,
y, direction)) {
202 fEmbracingLines.Add(
line);
226 CalculateLineWidths();
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
Line in ID grid used to delimit regions where no identification is possible.
Abstract base class for 2D identification grids in e.g. (dE,E) maps.
void init()
Initialisations, used by constructors.
KVIDLine * NewLine(const Char_t *idline_class="")
Int_t GetIDLinesEmbracingPoint(const Char_t *direction, Double_t x, Double_t y) const
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
virtual void Clear(Option_t *="")
const char * Data() const
void Add(RHist< DIMENSIONS, PRECISION, STAT_TO... > &to, const RHist< DIMENSIONS, PRECISION, STAT_FROM... > &from)