231 if (version != -1)
return (version ==
CheckVersion(version));
232 else return (version != -1);
252 Emit(
"Increment(Float_t)",
x);
#define RQ_OBJECT(sender_class)
#define ClassDef(name, id)
char * Form(const char *fmt,...)
Base class for KaliVeda framework.
const Char_t * GetLabel() const
Extended version of ROOT THashList.
Base class for particle identification in a 2D map.
KVNumberList fRunList
runs for which grid is valid
virtual Int_t InsertPoint()
void Add(TString, KVIDentifier *)
void SetRunList(const char *runlist)
Double_t GetYScaleFactor()
TString fDyName
dynamically generated name
virtual TFitResultPtr Fit(const char *formula, Option_t *option="", Option_t *goption="", Axis_t xmin=0, Axis_t xmax=0)
Bool_t HandlesIDTelescope(KVBase *t) const
virtual void ReadAsciiFile_WP(Int_t version=-1)
lecture des grilles avec version suivant un modele de fichier
KVIDGraph * fLastSavedVersion
copy of last save version of grid, used for 'undo'
Int_t GetNumberOfCuts() const
void ExtendBeginningAllIdentLines(Double_t, Option_t *="")
KVNameValueList fPar
parameters associated to grid
virtual void SetVarX(const char *v)
void ReadAsciiFile(const Char_t *filename)
KVIDentifier * GetIdentifier(const Char_t *name) const
virtual void SetDrawOption(Option_t *option="")
void RemoveIdentifier(KVIDentifier *)
Remove and destroy identifier.
Double_t GetXScaleFactor()
virtual void Delete(Option_t *option="")
virtual void TestIdentification(TH2F *data, KVHashList &histos, KVNameValueList &histo_names)
void SetXVariable(const char *v)
void SetIDTelescopes();// MENU={Hierarchy="Set.../ID Telescopes"}
KVList fCuts
cuts used to define area in which identification is possible
KVList fIdentifiers
list of identification objects
virtual void SetMinimum(Double_t minimum=-1111)
void SetLineWidth(Width_t lwidth)
Double_t fLastScaleY
last applied scaling factor on Y
virtual void SetMassIDCapability(Bool_t yes=kTRUE)
virtual void SetLineAttributes()
Double_t fLastScaleX
last applied scaling factor on X
const TList * GetIDTelescopes() const
void UpdateLastSavedVersion()
update last saved version. mkae copy of current state of graph.
virtual void SetName(const char *name)
void SetLineStyle(Style_t lstyle)
void Scale(Double_t sx=-1, Double_t sy=-1)
Called by SetX/YScaleFactor methods to rescale every point of every object in the grid.
void ExtendEndAllIdentLines(Double_t, Option_t *="")
void RemoveInfo(KVIDentifier *)
Remove and destroy cut.
virtual void WriteToAsciiFile(std::ofstream &gridfile)
static void SetAutoAdd(Bool_t yes=kTRUE)
virtual void AddInfo(KVIDentifier *info)
void Increment(Float_t x)
void Draw(Option_t *opt="")
KVIDentifier * GetInfo(const Char_t *name) const
void AddIDTelescope(KVBase *t)
Int_t GetNumberOfIdentifiers() const
virtual void Copy(TObject &) const
Copy this to 'obj'.
const Char_t * GetRunList() const
virtual void ReadIdentifierFromAsciiFile(TString &name, TString &type, TString &cl, std::ifstream &gridfile)
Read in new identifier object from file.
Int_t GetMassFormula() const
KVIDentifier * GetCut(const Char_t *name) const
const KVList * GetCuts() const
TVirtualPad * GetPad() const
const KVList * GetInfos() const
virtual TFitResultPtr Fit(TF1 *f1, Option_t *option="", Option_t *goption="", Axis_t xmin=0, Axis_t xmax=0)
void RevertToLastSavedVersion()
virtual void ReadFromAsciiFile(std::ifstream &gridfile)
virtual Bool_t ExistVersion(Int_t version)
TVirtualPad * IsDrawn() const
void ClearPad(TVirtualPad *)
static Bool_t GetAutoAdd()
void WriteParameterListOfIDTelescopes()
virtual Int_t RemovePoint()
virtual void Identify(Double_t, Double_t, KVIdentificationResult *) const =0
TString fPattern
pattern of filenames used to write or read grid
void SetLineColor(Color_t lcolor)
void Print(Option_t *opt="") const
Print out all objects in graph.
virtual void WriteAsciiFile_WP(Int_t version=-1)
KVIDentifier * GetIdentifier(Int_t Z, Int_t A) const
virtual Bool_t HasMassIDCapability() const
KVIDentifier * GetIdentifierAt(Int_t index) const
virtual TObject * DrawClone(Option_t *option="") const
const KVNumberList & GetRuns() const
virtual Bool_t IsIdentifiable(Double_t, Double_t, TString *rejected_by=nullptr) const
void FindAxisLimits()
Calculate X/Y min/max of all objects in graph.
virtual void SetVarY(const char *v)
const KVNameValueList * GetParameters() const
static KVIDGraph * AddGraphs(KVIDGraph *g1, Int_t id1_min, Int_t id1_max, KVIDGraph *g2, Int_t id2_min, Int_t id2_max)
const Char_t * GetIDTelescopeLabel() const
virtual Int_t RemovePoint(Int_t i)
KVIDGraph * GetLastSavedVersion() const
virtual void DrawAndAdd(const Char_t *type="ID", const Char_t *classname="KVIDentifier")
virtual void AddCut(KVIDentifier *cut)
void AddParameter(char *Name, char *Value)
KVNameValueList * GetParameters()
virtual void SetFillAttributes()
void SetMassFormula(Int_t)
const Char_t * GetName() const
TList fTelescopes
ID telescopes for which grid is valid.
virtual void SetMarkerAttributes()
static Bool_t fAutoAddGridManager
if =kTRUE, grids are automatically added to ID grid manager on creation (default)
void WriteAsciiFile(const Char_t *filename)
Open, write and close ascii file containing this grid.
virtual KVIDentifier * New(const Char_t *)
Create new object of class "id_class" which derives from KVIDentifier.
virtual void BackwardsCompatibilityFix()
void AddIDTelescopes(const TList *)
Associate this graph with all ID telescopes in list.
virtual void AddIdentifier(KVIDentifier *id)
virtual void SetInfos(Double_t, Double_t, KVIdentificationResult *) const
loop over KVIDGraph::fInfoZones to set flags in KVIdentificationResult
virtual void DrawClass() const
static KVIDGraph * MakeIDGraph(const Char_t *)
virtual void SaveAs(const char *filename="", Option_t *option="") const
const Char_t * GetNamesOfIDTelescopes() const
virtual void Inspect() const
void SetXScaleFactor(Double_t=0)
Int_t GetNumberOfInfos() const
virtual Int_t GetQualityCode() const
TVirtualPad * fPad
pad in which graph is drawn
void SetYVariable(const char *v)
virtual void Dump() const
virtual Bool_t AcceptIDForTest(const KVIdentificationResult &idr)
Axis_t fYmax
min/max Y coordinates of graph
void SetRuns(const KVNumberList &nl)
Set list of runs for which grid is valid.
virtual Int_t CheckVersion(Int_t version)
virtual void SetEditable(Bool_t editable=kTRUE)
void SetYScaleFactor(Double_t=0)
virtual void Initialize()=0
virtual void FitPanel()
virtual void SetTitle(const char *title="") {TGraph::SetTitle(title);};
Axis_t fXmax
min/max X coordinates of graph
KVList * GetIdentifiers()
Bool_t fOnlyZId
set to kTRUE when only to be used to give Z identification of nuclei, no mass info
virtual void Clear(Option_t *opt="")
Int_t fMassFormula
OPTION={GetMethod="GetMassFormula";SetMethod="SetMassFormula";Items=(0="Beta-stability",...
void SetPattern(TString pattern)
void RemoveCut(KVIDentifier *)
Remove and destroy cut.
void RemoveIDTelescope(KVBase *t)
KVList fInfoZones
contours/lines used to add info to particles (ex: punch-through)
virtual void SetOnlyZId(Bool_t yes=kTRUE)
virtual void SetMaximum(Double_t maximum=-1111)
void ClearListOfTelescopes()
const KVList * GetIdentifiers() const
Handles a stock of identification grids to be used by one or more identification telescopes.
Base class for graphical cuts used in particle identification.
void SetParent(KVIDGraph *)
Set pointer to parent ID graph.
Full result of one attempted particle identification.
Bool_t IDOK
general quality of identification, =kTRUE if acceptable identification made
Extended TList class which owns its objects by default.
void Sort(Bool_t order=kSortAscending)
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
void SetValue(const Char_t *name, value_type value)
Strings used to represent a set of ranges of values.
virtual Int_t GetSize() const
virtual TObject * At(Int_t idx) const
virtual void Execute(const char *method, const char *params, Int_t *error=0)
virtual void Add(TObject *obj)
virtual Bool_t IsSorted() const
virtual TObject * FindObject(const char *name) const
virtual void SetFillAttributes()
virtual void SetLineAttributes()
virtual void SetLineColor(Color_t lcolor)
virtual void SetMarkerAttributes()
Bool_t Contains(const char *name) const
const char * GetVarY() const
virtual void SetVarY(const char *vary)
virtual void SetVarX(const char *varx)
const char * GetVarX() const
virtual void SetMaximum(Double_t maximum=-1111)
virtual TFitResultPtr Fit(const char *formula, Option_t *option="", Option_t *goption="", Axis_t xmin=0, Axis_t xmax=0)
virtual Int_t RemovePoint()
virtual Int_t InsertPoint()
virtual void SetMinimum(Double_t minimum=-1111)
virtual void Add(TObject *obj)
TObject * Remove(const TObjLinkPtr_t &lnk)
virtual TObject * First() const
virtual void Clear(Option_t *option="")
virtual void SetName(const char *name)
virtual void Inspect() const
virtual void Dump() const
virtual TObject * DrawClone(Option_t *option="") const
virtual void SaveAs(const char *filename="", Option_t *option="") const
virtual void Delete(Option_t *option="")
virtual void SetDrawOption(Option_t *option="")
virtual void DrawClass() const
TString & ReplaceAll(const char *s1, const char *s2)
RooCmdArg Name(const char *name)