10#include "KVTGIDGrid.h"
12#include "KVIDGridManager.h"
102 line.ReadLine(gridfile);
153 Error(
"Generate",
"No parameter stored to initialize a functional !");
172 for (
Int_t ID = ID_min; ID <= ID_max; ID++) {
const KVNameValueList * GetParameters() const
KVNameValueList fPar
parameters associated to grid
virtual void SetVarX(const char *v)
KVList fCuts
cuts used to define area in which identification is possible
KVList fIdentifiers
list of identification objects
virtual void SetName(const char *name)
virtual void WriteToAsciiFile(std::ofstream &gridfile)
void Draw(Option_t *opt="")
virtual void ReadFromAsciiFile(std::ifstream &gridfile)
void FindAxisLimits()
Calculate X/Y min/max of all objects in graph.
virtual void SetVarY(const char *v)
const Char_t * GetName() const
virtual void AddIdentifier(KVIDentifier *id)
TVirtualPad * fPad
pad in which graph is drawn
Axis_t fYmax
min/max Y coordinates of graph
const KVList * GetCuts() const
void SetRuns(const KVNumberList &nl)
Set list of runs for which grid is valid.
Axis_t fXmax
min/max X coordinates of graph
KVIDGraph * GetGrid(const Char_t *name)
Return pointer to grid with name "name".
Identification grid with lines corresponding to different nuclear isotopes (KVIDZALine)
Base class for graphical cuts used in particle identification.
Int_t GetIntValue(const Char_t *name) const
void SetValue(const Char_t *name, value_type value)
virtual void Copy(TObject &obj) const
virtual void Delete(Option_t *option="")
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Grid representing result of fit.
virtual ~KVTGIDGrid()
Destructor.
void WriteToAsciiFile(std::ofstream &)
Write parameters of LTG fit used to generate grid in gridfile.
KVTGIDGrid()
Default constructor.
void ReadFromAsciiFile(std::ifstream &)
Read grid and parameters of LTG fit used to generate grid in gridfile.
virtual void Generate(Double_t xmax, Double_t xmin, Int_t ID_min=0, Int_t ID_max=0, Int_t npoints=50, Bool_t logscale=kTRUE)
const KVTGID * GetTGID() const
a completer mais j'ai la fleme...
virtual void AddIdentifier(KVIDentifier *id)
KVTGID * fTGID
KVTGID used to generate grid.
Abstract base class for particle identfication using functionals developed by L. Tassan-Got (IPN Orsa...
virtual void AddLineToGrid(KVIDGrid *g, Int_t ID, Int_t npoints, Double_t xmin, Double_t xmax, Bool_t log_scale=kFALSE)
Double_t GetIDmin() const
const KVNumberList & GetValidRuns() const
Double_t GetIDmax() const
const Char_t * GetVarX() const
void WriteToAsciiFile(std::ofstream &) const
Write parameters of LTG fit in file.
const Char_t * GetVarY() const
static KVTGID * ReadFromAsciiFile(const Char_t *name, std::ifstream &)
virtual void SetLineColor(Color_t lcolor)
const char * GetName() const override
virtual void Error(const char *method, const char *msgfmt,...) const
virtual TVirtualPad * cd(Int_t subpadnumber=0)=0