KaliVeda
Toolkit for HIC analysis
|
#include <KVIDGraph.h>
Public Member Functions | |
KVIDGraph () | |
KVIDGraph (const KVIDGraph &) | |
Copy constructor. | |
virtual | ~KVIDGraph () |
virtual Bool_t | AcceptIDForTest (const KVIdentificationResult &idr) |
void | Add (TString, KVIDentifier *) |
KVIDentifier * | Add (TString, TString) |
virtual void | AddCut (KVIDentifier *cut) |
virtual void | AddIdentifier (KVIDentifier *id) |
void | AddIDTelescope (KVBase *t) |
void | AddIDTelescopes (const TList *) |
Associate this graph with all ID telescopes in list. | |
virtual void | AddInfo (KVIDentifier *info) |
void | AddParameter (char *Name, char *Value) |
virtual Int_t | CheckVersion (Int_t version) |
virtual void | Clear (Option_t *opt="") |
void | ClearListOfTelescopes () |
void | ClearPad (TVirtualPad *) |
virtual void | Copy (TObject &) const |
Copy this to 'obj'. | |
virtual void | Delete (Option_t *option="") |
void | Draw (Option_t *opt="") |
virtual void | DrawAndAdd (const Char_t *type="ID", const Char_t *classname="KVIDentifier") |
virtual void | DrawClass () const |
virtual TObject * | DrawClone (Option_t *option="") const |
virtual void | DrawPanel () |
virtual void | Dump () const |
virtual Bool_t | ExistVersion (Int_t version) |
void | ExtendBeginningAllIdentLines (Double_t, Option_t *="") |
void | ExtendEndAllIdentLines (Double_t, Option_t *="") |
void | FindAxisLimits () |
Calculate X/Y min/max of all objects in graph. | |
virtual TFitResultPtr | Fit (const char *formula, Option_t *option="", Option_t *goption="", Axis_t xmin=0, Axis_t xmax=0) |
virtual TFitResultPtr | Fit (TF1 *f1, Option_t *option="", Option_t *goption="", Axis_t xmin=0, Axis_t xmax=0) |
virtual void | FitPanel () |
virtual void SetTitle(const char *title="") {TGraph::SetTitle(title);}; | |
KVIDentifier * | GetCut (const Char_t *name) const |
KVList * | GetCuts () |
const KVList * | GetCuts () const |
KVIDentifier * | GetIdentifier (const Char_t *name) const |
KVIDentifier * | GetIdentifier (Int_t Z, Int_t A) const |
KVIDentifier * | GetIdentifierAt (Int_t index) const |
KVList * | GetIdentifiers () |
const KVList * | GetIdentifiers () const |
const Char_t * | GetIDTelescopeLabel () const |
const TList * | GetIDTelescopes () const |
KVIDentifier * | GetInfo (const Char_t *name) const |
KVList * | GetInfos () |
const KVList * | GetInfos () const |
KVIDGraph * | GetLastSavedVersion () const |
Int_t | GetMassFormula () const |
const Char_t * | GetName () const |
const Char_t * | GetNamesOfIDTelescopes () const |
Int_t | GetNumberOfCuts () const |
Int_t | GetNumberOfIdentifiers () const |
Int_t | GetNumberOfInfos () const |
TVirtualPad * | GetPad () const |
KVNameValueList * | GetParameters () |
const KVNameValueList * | GetParameters () const |
TString | GetPattern (void) |
virtual Int_t | GetQualityCode () const |
const Char_t * | GetRunList () const |
const KVNumberList & | GetRuns () const |
Axis_t | GetXmax () const |
Axis_t | GetXmin () const |
Double_t | GetXScaleFactor () |
Axis_t | GetYmax () const |
Axis_t | GetYmin () const |
Double_t | GetYScaleFactor () |
Bool_t | HandlesIDTelescope (KVBase *t) const |
virtual Bool_t | HasMassIDCapability () const |
virtual void | Identify (Double_t, Double_t, KVIdentificationResult *) const =0 |
void | Increment (Float_t x) |
virtual void | Initialize ()=0 |
virtual Int_t | InsertPoint () |
virtual void | Inspect () const |
TVirtualPad * | IsDrawn () const |
virtual Bool_t | IsIdentifiable (Double_t, Double_t, TString *rejected_by=nullptr) const |
Bool_t | IsSorted () const |
void | Modified () |
void | Print (Option_t *opt="") const |
Print out all objects in graph. | |
void | ReadAsciiFile (const Char_t *filename) |
virtual void | ReadAsciiFile_WP (Int_t version=-1) |
lecture des grilles avec version suivant un modele de fichier | |
virtual void | ReadFromAsciiFile (std::ifstream &gridfile) |
void | RemoveCut (KVIDentifier *) |
Remove and destroy cut. | |
void | RemoveIdentifier (KVIDentifier *) |
Remove and destroy identifier. | |
void | RemoveIDTelescope (KVBase *t) |
void | RemoveInfo (KVIDentifier *) |
Remove and destroy cut. | |
virtual Int_t | RemovePoint () |
virtual Int_t | RemovePoint (Int_t i) |
void | ResetDraw () |
void | ResetPad () |
void | RevertToLastSavedVersion () |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
void | Scale (TF1 *sx, TF1 *sy) |
virtual void | SetDrawOption (Option_t *option="") |
virtual void | SetEditable (Bool_t editable=kTRUE) |
virtual void | SetFillAttributes () |
virtual void | SetInfos (Double_t, Double_t, KVIdentificationResult *) const |
loop over KVIDGraph::fInfoZones to set flags in KVIdentificationResult | |
virtual void | SetLineAttributes () |
void | SetLineColor (Color_t lcolor) |
void | SetLineStyle (Style_t lstyle) |
void | SetLineWidth (Width_t lwidth) |
virtual void | SetMarkerAttributes () |
void | SetMassFormula (Int_t) |
virtual void | SetMassIDCapability (Bool_t yes=kTRUE) |
virtual void | SetMaximum (Double_t maximum=-1111) |
virtual void | SetMinimum (Double_t minimum=-1111) |
virtual void | SetName (const char *name) |
virtual void | SetOnlyZId (Bool_t yes=kTRUE) |
void | SetPattern (TString pattern) |
void | SetRunList (const char *runlist) |
void | SetRuns (const KVNumberList &nl) |
Set list of runs for which grid is valid. | |
virtual void | SetVarX (const char *v) |
virtual void | SetVarY (const char *v) |
void | SetXScaleFactor (Double_t=0) |
void | SetXVariable (const char *v) |
void SetIDTelescopes();// MENU={Hierarchy="Set.../ID Telescopes"} | |
void | SetYScaleFactor (Double_t=0) |
void | SetYVariable (const char *v) |
void | SortIdentifiers () |
virtual void | TestIdentification (TH2F *data, KVHashList &histos, KVNameValueList &histo_names) |
void | UnDraw () |
void | UpdateLastSavedVersion () |
update last saved version. mkae copy of current state of graph. | |
void | WriteAsciiFile (const Char_t *filename) |
Open, write and close ascii file containing this grid. | |
virtual void | WriteAsciiFile_WP (Int_t version=-1) |
virtual void | WriteToAsciiFile (std::ofstream &gridfile) |
Public Member Functions inherited from TCutG | |
TCutG () | |
TCutG (const char *name, Int_t n, const Double_t *x, const Double_t *y) | |
TCutG (const char *name, Int_t n, const Float_t *x, const Float_t *y) | |
TCutG (const char *name, Int_t n=0) | |
TCutG (const TCutG &cutg) | |
~TCutG () override | |
virtual Double_t | Area () const |
virtual void | Center (Double_t &cx, Double_t &cy) const |
TObject * | GetObjectX () const |
TObject * | GetObjectY () const |
const char * | GetVarX () const |
const char * | GetVarY () const |
virtual Double_t | IntegralHist (TH2 *h, Option_t *option="") const |
TClass * | IsA () const override |
TCutG & | operator= (const TCutG &) |
void | SavePrimitive (std::ostream &out, Option_t *option="") override |
virtual void | SetObjectX (TObject *obj) |
virtual void | SetObjectY (TObject *obj) |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TGraph | |
TGraph () | |
TGraph (const char *filename, const char *format="%lg %lg", Option_t *option="") | |
TGraph (const TF1 *f, Option_t *option="") | |
TGraph (const TGraph &gr) | |
TGraph (const TH1 *h) | |
TGraph (const TVectorD &vx, const TVectorD &vy) | |
TGraph (const TVectorF &vx, const TVectorF &vy) | |
TGraph (Int_t n) | |
TGraph (Int_t n, const Double_t *x, const Double_t *y) | |
TGraph (Int_t n, const Double_t *y, Double_t start=0., Double_t step=1.) | |
TGraph (Int_t n, const Float_t *x, const Float_t *y) | |
TGraph (Int_t n, const Int_t *x, const Int_t *y) | |
~TGraph () override | |
virtual void | AddPoint (Double_t x, Double_t y) |
virtual void | Apply (TF1 *f) |
void | Browse (TBrowser *b) override |
virtual Double_t | Chisquare (TF1 *f1, Option_t *option="") const |
virtual void | ComputeRange (Double_t &xmin, Double_t &ymin, Double_t &xmax, Double_t &ymax) const |
Int_t | DistancetoPrimitive (Int_t px, Int_t py) override |
void | Draw (Option_t *chopt="") override |
virtual void | DrawGraph (Int_t n, const Double_t *x=nullptr, const Double_t *y=nullptr, Option_t *option="") |
virtual void | DrawGraph (Int_t n, const Float_t *x, const Float_t *y, Option_t *option="") |
virtual void | DrawGraph (Int_t n, const Int_t *x, const Int_t *y, Option_t *option="") |
virtual Double_t | Eval (Double_t x, TSpline *spline=nullptr, Option_t *option="") const |
void | ExecuteEvent (Int_t event, Int_t px, Int_t py) override |
virtual void | Expand (Int_t newsize) |
virtual void | Expand (Int_t newsize, Int_t step) |
TObject * | FindObject (const char *name) const override |
TObject * | FindObject (const TObject *obj) const override |
virtual Double_t | GetCorrelationFactor () const |
virtual Double_t | GetCovariance () const |
Bool_t | GetEditable () const |
virtual Double_t | GetErrorX (Int_t bin) const |
virtual Double_t | GetErrorXhigh (Int_t bin) const |
virtual Double_t | GetErrorXlow (Int_t bin) const |
virtual Double_t | GetErrorY (Int_t bin) const |
virtual Double_t | GetErrorYhigh (Int_t bin) const |
virtual Double_t | GetErrorYlow (Int_t bin) const |
virtual Double_t * | GetEX () const |
virtual Double_t * | GetEXhigh () const |
virtual Double_t * | GetEXhighd () const |
virtual Double_t * | GetEXlow () const |
virtual Double_t * | GetEXlowd () const |
virtual Double_t * | GetEY () const |
virtual Double_t * | GetEYhigh () const |
virtual Double_t * | GetEYhighd () const |
virtual Double_t * | GetEYlow () const |
virtual Double_t * | GetEYlowd () const |
TF1 * | GetFunction (const char *name) const |
virtual TH1F * | GetHistogram () const |
TList * | GetListOfFunctions () const |
Double_t | GetMaximum () const |
Int_t | GetMaxSize () const |
virtual Double_t | GetMean (Int_t axis=1) const |
Double_t | GetMinimum () const |
Int_t | GetN () const |
char * | GetObjectInfo (Int_t px, Int_t py) const override |
virtual Int_t | GetPoint (Int_t i, Double_t &x, Double_t &y) const |
virtual Double_t | GetPointX (Int_t i) const |
virtual Double_t | GetPointY (Int_t i) const |
virtual Double_t | GetRMS (Int_t axis=1) const |
Double_t * | GetX () const |
TAxis * | GetXaxis () const |
Double_t * | GetY () const |
TAxis * | GetYaxis () const |
virtual void | InitExpo (Double_t xmin=0, Double_t xmax=0) |
virtual void | InitGaus (Double_t xmin=0, Double_t xmax=0) |
virtual void | InitPolynom (Double_t xmin=0, Double_t xmax=0) |
virtual void | InsertPointBefore (Int_t ipoint, Double_t x, Double_t y) |
virtual Double_t | Integral (Int_t first=0, Int_t last=-1) const |
TClass * | IsA () const override |
virtual Bool_t | IsEditable () const |
virtual Bool_t | IsHighlight () const |
virtual Int_t | IsInside (Double_t x, Double_t y) const |
virtual void | LeastSquareFit (Int_t m, Double_t *a, Double_t xmin=0, Double_t xmax=0) |
virtual void | LeastSquareLinearFit (Int_t n, Double_t &a0, Double_t &a1, Int_t &ifail, Double_t xmin=0, Double_t xmax=0) |
virtual Int_t | Merge (TCollection *list) |
virtual void | MovePoints (Double_t dx, Double_t dy, Bool_t logx=kFALSE, Bool_t logy=kFALSE) |
TGraph & | operator= (const TGraph &) |
void | Paint (Option_t *chopt="") override |
void | PaintGraph (Int_t npoints, const Double_t *x, const Double_t *y, Option_t *chopt) |
void | PaintGrapHist (Int_t npoints, const Double_t *x, const Double_t *y, Option_t *chopt) |
virtual void | PaintStats (TF1 *fit) |
void | Print (Option_t *chopt="") const override |
void | RecursiveRemove (TObject *obj) override |
void | SaveAs (const char *filename, Option_t *option="") const override |
void | SavePrimitive (std::ostream &out, Option_t *option="") override |
virtual void | Scale (Double_t c1=1., Option_t *option="y") |
virtual void | Set (Int_t n) |
virtual void | SetHighlight (Bool_t set=kTRUE) |
virtual void | SetHistogram (TH1F *h) |
void | SetName (const char *name="") override |
void | SetNameTitle (const char *name="", const char *title="") override |
virtual void | SetPoint (Int_t i, Double_t x, Double_t y) |
virtual void | SetPointX (Int_t i, Double_t x) |
virtual void | SetPointY (Int_t i, Double_t y) |
virtual void | SetStats (Bool_t stats=kTRUE) |
void | SetTitle (const char *title="") override |
virtual void | Sort (Bool_t(*greater)(const TGraph *, Int_t, Int_t)=&TGraph::CompareX, Bool_t ascending=kTRUE, Int_t low=0, Int_t high=-1111) |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
void | UseCurrentStyle () override |
void | Zero (Int_t &k, Double_t AZ, Double_t BZ, Double_t E2, Double_t &X, Double_t &Y, Int_t maxiterations) |
Public Member Functions inherited from TNamed | |
TNamed () | |
TNamed (const char *name, const char *title) | |
TNamed (const TNamed &named) | |
TNamed (const TString &name, const TString &title) | |
virtual | ~TNamed () |
void | Clear (Option_t *option="") override |
TObject * | Clone (const char *newname="") const override |
Int_t | Compare (const TObject *obj) const override |
void | Copy (TObject &named) const override |
virtual void | FillBuffer (char *&buffer) |
const char * | GetName () const override |
const char * | GetTitle () const override |
ULong_t | Hash () const override |
TClass * | IsA () const override |
Bool_t | IsSortable () const override |
void | ls (Option_t *option="") const override |
TNamed & | operator= (const TNamed &rhs) |
void | Print (Option_t *option="") const override |
virtual Int_t | Sizeof () const |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TObject | |
TObject () | |
TObject (const TObject &object) | |
virtual | ~TObject () |
void | AbstractMethod (const char *method) const |
virtual void | AppendPad (Option_t *option="") |
ULong_t | CheckedHash () |
virtual const char * | ClassName () const |
virtual void | Error (const char *method, const char *msgfmt,...) const |
virtual void | Execute (const char *method, const char *params, Int_t *error=nullptr) |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
virtual Option_t * | GetDrawOption () const |
virtual const char * | GetIconName () const |
virtual Option_t * | GetOption () const |
virtual UInt_t | GetUniqueID () const |
virtual Bool_t | HandleTimer (TTimer *timer) |
Bool_t | HasInconsistentHash () const |
virtual void | Info (const char *method, const char *msgfmt,...) const |
virtual Bool_t | InheritsFrom (const char *classname) const |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
void | InvertBit (UInt_t f) |
Bool_t | IsDestructed () const |
virtual Bool_t | IsEqual (const TObject *obj) const |
virtual Bool_t | IsFolder () const |
R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
R__ALWAYS_INLINE Bool_t | IsZombie () const |
void | MayNotUse (const char *method) const |
virtual Bool_t | Notify () |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *vp) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, void *vp) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, void *vp) |
TObject & | operator= (const TObject &rhs) |
virtual void | Pop () |
virtual Int_t | Read (const char *name) |
void | ResetBit (UInt_t f) |
void | SetBit (UInt_t f) |
void | SetBit (UInt_t f, Bool_t set) |
virtual void | SetUniqueID (UInt_t uid) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
R__ALWAYS_INLINE Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) |
virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const |
Public Member Functions inherited from TAttLine | |
TAttLine () | |
TAttLine (Color_t lcolor, Style_t lstyle, Width_t lwidth) | |
virtual | ~TAttLine () |
void | Copy (TAttLine &attline) const |
Int_t | DistancetoLine (Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2) |
virtual Color_t | GetLineColor () const |
virtual Style_t | GetLineStyle () const |
virtual Width_t | GetLineWidth () const |
virtual void | Modify () |
virtual void | ResetAttLine (Option_t *option="") |
virtual void | SaveLineAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1) |
virtual void | SetLineColorAlpha (Color_t lcolor, Float_t lalpha) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TAttFill | |
TAttFill () | |
TAttFill (Color_t fcolor, Style_t fstyle) | |
virtual | ~TAttFill () |
void | Copy (TAttFill &attfill) const |
virtual Color_t | GetFillColor () const |
virtual Style_t | GetFillStyle () const |
virtual Bool_t | IsTransparent () const |
virtual void | Modify () |
virtual void | ResetAttFill (Option_t *option="") |
virtual void | SaveFillAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1001) |
virtual void | SetFillColor (Color_t fcolor) |
virtual void | SetFillColorAlpha (Color_t fcolor, Float_t falpha) |
virtual void | SetFillStyle (Style_t fstyle) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TAttMarker | |
TAttMarker () | |
TAttMarker (Color_t color, Style_t style, Size_t msize) | |
virtual | ~TAttMarker () |
void | Copy (TAttMarker &attmarker) const |
virtual Color_t | GetMarkerColor () const |
virtual Size_t | GetMarkerSize () const |
virtual Style_t | GetMarkerStyle () const |
virtual void | Modify () |
virtual void | ResetAttMarker (Option_t *toption="") |
virtual void | SaveMarkerAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t sizdef=1) |
virtual void | SetMarkerColor (Color_t mcolor=1) |
virtual void | SetMarkerColorAlpha (Color_t mcolor, Float_t malpha) |
virtual void | SetMarkerSize (Size_t msize=1) |
virtual void | SetMarkerStyle (Style_t mstyle=1) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static KVIDGraph * | AddGraphs (KVIDGraph *g1, Int_t id1_min, Int_t id1_max, KVIDGraph *g2, Int_t id2_min, Int_t id2_max) |
static Bool_t | GetAutoAdd () |
static KVIDGraph * | MakeIDGraph (const Char_t *) |
static void | SetAutoAdd (Bool_t yes=kTRUE) |
Static Public Member Functions inherited from TCutG | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TGraph | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static Bool_t | CompareArg (const TGraph *gr, Int_t left, Int_t right) |
static Bool_t | CompareRadius (const TGraph *gr, Int_t left, Int_t right) |
static Bool_t | CompareX (const TGraph *gr, Int_t left, Int_t right) |
static Bool_t | CompareY (const TGraph *gr, Int_t left, Int_t right) |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TNamed | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TObject | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
static Longptr_t | GetDtorOnly () |
static Bool_t | GetObjectStat () |
static void | SetDtorOnly (void *obj) |
static void | SetObjectStat (Bool_t stat) |
Static Public Member Functions inherited from TAttLine | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TAttFill | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TAttMarker | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
static Width_t | GetMarkerLineWidth (Style_t style) |
static Style_t | GetMarkerStyleBase (Style_t style) |
Private Member Functions | |
virtual void | BackwardsCompatibilityFix () |
void | init () |
Bool_t | IsOnlyZId () const |
virtual KVIDentifier * | New (const Char_t *) |
Create new object of class "id_class" which derives from KVIDentifier. | |
virtual void | ReadIdentifierFromAsciiFile (TString &name, TString &type, TString &cl, std::ifstream &gridfile) |
Read in new identifier object from file. | |
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 | WriteParameterListOfIDTelescopes () |
Private Attributes | |
KVList | fCuts |
cuts used to define area in which identification is possible | |
TString | fDyName |
dynamically generated name | |
KVList | fIdentifiers |
list of identification objects | |
KVList | fInfoZones |
contours/lines used to add info to particles (ex: punch-through) | |
KVIDGraph * | fLastSavedVersion |
copy of last save version of grid, used for 'undo' | |
Double_t | fLastScaleX |
last applied scaling factor on X | |
Double_t | fLastScaleY |
last applied scaling factor on Y | |
Int_t | fMassFormula |
OPTION={GetMethod="GetMassFormula";SetMethod="SetMassFormula";Items=(0="Beta-stability", 1="VEDA mass", 2="EAL mass", 3="EAL residues", 99="2Z+1")} | |
Bool_t | fOnlyZId |
set to kTRUE when only to be used to give Z identification of nuclei, no mass info | |
TVirtualPad * | fPad |
pad in which graph is drawn | |
KVNameValueList | fPar |
parameters associated to grid | |
TString | fPattern |
pattern of filenames used to write or read grid | |
KVNumberList | fRunList |
runs for which grid is valid | |
TList | fTelescopes |
ID telescopes for which grid is valid. | |
Axis_t | fXmax |
min/max X coordinates of graph | |
Axis_t | fXmin |
Axis_t | fYmax |
min/max Y coordinates of graph | |
Axis_t | fYmin |
Static Private Attributes | |
static Bool_t | fAutoAddGridManager = kTRUE |
if =kTRUE, grids are automatically added to ID grid manager on creation (default) | |
Friends | |
class | KVIDGridManager |
Additional Inherited Members | |
Public Types inherited from TGraph | |
enum | EStatusBits |
Public Types inherited from TObject | |
enum | EDeprecatedStatusBits |
enum | EStatusBits |
Public Attributes inherited from TGraph | |
kClipFrame | |
kIsHighlight | |
kIsSortedX | |
kNoStats | |
kNotEditable | |
kResetHisto | |
Public Attributes inherited from TObject | |
kBitMask | |
kCanDelete | |
kCannotPick | |
kHasUUID | |
kInconsistent | |
kInvalidObject | |
kIsOnHeap | |
kIsReferenced | |
kMustCleanup | |
kNoContextMenu | |
kNotDeleted | |
kObjInCanvas | |
kOverwrite | |
kSingleKey | |
kWriteDelete | |
kZombie | |
Protected Member Functions inherited from TGraph | |
virtual Double_t ** | Allocate (Int_t newsize) |
Double_t ** | AllocateArrays (Int_t Narrays, Int_t arraySize) |
virtual void | CopyAndRelease (Double_t **newarrays, Int_t ibegin, Int_t iend, Int_t obegin) |
virtual Bool_t | CopyPoints (Double_t **newarrays, Int_t ibegin, Int_t iend, Int_t obegin) |
Bool_t | CtorAllocate () |
virtual Bool_t | DoMerge (const TGraph *g) |
Double_t ** | ExpandAndCopy (Int_t size, Int_t iend) |
virtual void | FillZero (Int_t begin, Int_t end, Bool_t from_ctor=kTRUE) |
TString | SaveArray (std::ostream &out, const char *suffix, Int_t frameNumber, Double_t *arr) |
void | SaveHistogramAndFunctions (std::ostream &out, const char *varname, Int_t &frameNumber, Option_t *option) |
Double_t ** | ShrinkAndCopy (Int_t size, Int_t iend) |
virtual void | SwapPoints (Int_t pos1, Int_t pos2) |
virtual void | UpdateArrays (const std::vector< Int_t > &sorting_indices, Int_t numSortedPoints, Int_t low) |
Protected Member Functions inherited from TObject | |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
void | MakeZombie () |
Static Protected Member Functions inherited from TGraph | |
static void | SwapValues (Double_t *arr, Int_t pos1, Int_t pos2) |
Protected Attributes inherited from TCutG | |
TObject * | fObjectX |
TObject * | fObjectY |
TString | fVarX |
TString | fVarY |
Protected Attributes inherited from TGraph | |
TList * | fFunctions |
TH1F * | fHistogram |
Double_t | fMaximum |
Int_t | fMaxSize |
Double_t | fMinimum |
Int_t | fNpoints |
Double_t * | fX |
Double_t * | fY |
Protected Attributes inherited from TNamed | |
TString | fName |
TString | fTitle |
Protected Attributes inherited from TObject | |
kOnlyPrepStep | |
Protected Attributes inherited from TAttLine | |
Color_t | fLineColor |
Style_t | fLineStyle |
Width_t | fLineWidth |
Protected Attributes inherited from TAttFill | |
Color_t | fFillColor |
Style_t | fFillStyle |
Protected Attributes inherited from TAttMarker | |
Color_t | fMarkerColor |
Size_t | fMarkerSize |
Style_t | fMarkerStyle |
KVIDGraph::KVIDGraph | ( | ) |
Definition at line 158 of file KVIDGraph.cpp.
KVIDGraph::KVIDGraph | ( | const KVIDGraph & | grid | ) |
Copy constructor.
Definition at line 175 of file KVIDGraph.cpp.
|
virtual |
Destructor remove from grid manager
Definition at line 188 of file KVIDGraph.cpp.
|
inlinevirtual |
Used by TestIdentification method
The result of the identification may be excluded from the histograms of PID and PID vs. Eres, depending on e.g. some status code of the identification algorithm. By default, this returns the value of idr.IDOK, but may be overridden in child classes.
Definition at line 75 of file KVIDGraph.h.
void KVIDGraph::Add | ( | TString | type, |
KVIDentifier * | id | ||
) |
Add the object to the list of cuts or identifiers: type = "ID" --> calls AddIdentifier(id) type = "OK" or "cut" --> calls AddCut(id)
Definition at line 838 of file KVIDGraph.cpp.
KVIDentifier * KVIDGraph::Add | ( | TString | type, |
TString | classname | ||
) |
Create and add the object to the list of cuts or identifiers: type = "ID" --> calls AddIdentifier(id) type = "OK" or "cut" --> calls AddCut(id)
Definition at line 858 of file KVIDGraph.cpp.
|
inlinevirtual |
Add cut to the graph. It will be deleted by the graph.
Definition at line 353 of file KVIDGraph.h.
|
static |
Static method taking lines id1_min to id2_min from grid g1 and lines id2_min to id2_max from grid g2 and making a new grid containing them. Returns the pointer to the new grid.
It is assumed that g1 and g2 are grids of the same class. The new grid will be an object of the same class as g1.
Any scaling factors are applied to the line coordinates as they are copied from their parent grids. As scaling may be different in g1 and g2, the resulting grid has no scaling factor, but the coordinates of all its lines result from application of the different scaling factors of the two grids. make new grid
Definition at line 1219 of file KVIDGraph.cpp.
|
inlinevirtual |
Add identifier to the graph. It will be deleted by the graph.
if grid is Z-identification only, set mass formula for line according to mass formula of grid
Reimplemented in KVTGIDGrid.
Definition at line 340 of file KVIDGraph.h.
Associate this graph with an identification telescope, i.e. add the telescope to the list of telescopes which can use this graph for identification purposes.
Definition at line 407 of file KVIDGraph.h.
Associate this graph with all ID telescopes in list.
Definition at line 1516 of file KVIDGraph.cpp.
|
inlinevirtual |
Add info lines/cuts to the graph. It will be deleted by the graph.
Definition at line 364 of file KVIDGraph.h.
|
inline |
Definition at line 85 of file KVIDGraph.h.
|
privatevirtual |
Called after reading a grid from an ascii file. Tries to convert information written by an old version of the class:
PARAMETER> First run=... -—> <PARAMETER> Runlist=... PARAMETER> Last run=...
Reimplemented in KVIDGChIoSi, and KVIDGCsI.
Definition at line 1361 of file KVIDGraph.cpp.
version>=0 check si la version demandee du fichier grille existe version-1 renvoie la derniere version existante si la version demandee n existe pas return -1 creation d un fichier tampon dans le repertoire ou se situe les fichiers grilles efface a la fin de la methode
Definition at line 1423 of file KVIDGraph.cpp.
reset the grid (destroying any previously defined identifiers) ready to start anew. resets axis limits scaling factors (if any) are removed
Reimplemented from TObject.
Definition at line 203 of file KVIDGraph.cpp.
|
inline |
Definition at line 112 of file KVIDGraph.h.
void KVIDGraph::ClearPad | ( | TVirtualPad * | pad | ) |
Definition at line 49 of file KVIDGraph.cpp.
Copy this to 'obj'.
Reimplemented from TObject.
Reimplemented in KVIDZAGrid, and KVIDZAFromZGrid.
Definition at line 115 of file KVIDGraph.cpp.
-— The following redeclarations are here just to remove the MENU tag which -— is present in TObject.h, to stop these methods appearing in the ID line context menus
Reimplemented from TObject.
Definition at line 485 of file KVIDGraph.h.
Draw all objects in graph on the current display, if one exists: i.e. in order to superimpose the grid on a 2D display of data, use KVIDGraph::Draw() (no option "same" needed).
If no TCanvas exists, or if one exists but it is empty, a frame large enough to display all the objects in the graph will be generated.
The title of the canvas is set to the name of the graph
If the graph is already displayed (i.e. if fPad!=0), we call UnDraw() in order to remove it from the display. This is so that double-clicking a graph in the IDGridManagerGUI list makes it disappear if it is already drawn.
Reimplemented from TObject.
Definition at line 888 of file KVIDGraph.cpp.
|
virtual |
Use this method to add objects to a grid which is drawn in the current pad gPad. We wait for the user to draw the line with the graphical editor (we put the pad automatically into this mode, there is no need to use the Editor toolbar). Then we retrieve this TGraph, create a new KVIDentifier-derived object of class "classname", and add it to the "type" list (= "OK"/"cut" or "ID").
Definition at line 1174 of file KVIDGraph.cpp.
|
inlinevirtual |
Reimplemented from TObject.
Definition at line 489 of file KVIDGraph.h.
Reimplemented from TObject.
Definition at line 493 of file KVIDGraph.h.
|
inlinevirtual |
Reimplemented from TGraph.
Definition at line 469 of file KVIDGraph.h.
|
inlinevirtual |
Reimplemented from TObject.
Definition at line 497 of file KVIDGraph.h.
Definition at line 230 of file KVIDGraph.h.
Extend the first segment of each identification line back to new coordinate newX
See KVIDentifier::ExtendLine()
Definition at line 1017 of file KVIDGraph.cpp.
Extend the last segment of each identification line to new coordinate newX
See KVIDentifier::ExtendLine()
Definition at line 1033 of file KVIDGraph.cpp.
void KVIDGraph::FindAxisLimits | ( | ) |
Calculate X/Y min/max of all objects in graph.
Definition at line 1073 of file KVIDGraph.cpp.
|
inlinevirtual |
Reimplemented from TGraph.
Definition at line 474 of file KVIDGraph.h.
|
inlinevirtual |
Reimplemented from TGraph.
Definition at line 478 of file KVIDGraph.h.
|
inlinevirtual |
virtual void SetTitle(const char *title="") {TGraph::SetTitle(title);};
Reimplemented from TGraph.
Definition at line 465 of file KVIDGraph.h.
|
inlinestatic |
if static method KVIDGraph::GetAutoAdd() returns kTRUE, all grids are automatically added to ID Grid Manager if not, this mechanism is disabled
Definition at line 106 of file KVIDGraph.h.
|
inline |
Definition at line 280 of file KVIDGraph.h.
|
inline |
Returns list of cuts (derived from KVIDentifier)
Definition at line 313 of file KVIDGraph.h.
|
inline |
Returns list of cuts (derived from KVIDentifier)
Definition at line 308 of file KVIDGraph.h.
|
inline |
Definition at line 276 of file KVIDGraph.h.
KVIDentifier * KVIDGraph::GetIdentifier | ( | Int_t | Z, |
Int_t | A | ||
) | const |
Return pointer to identifier with atomic number Z and mass number A. If this is a 'OnlyZId()' graph we ignore A.
Definition at line 310 of file KVIDGraph.cpp.
|
inline |
Return identifier at position 'index' (=0,1,...) in list of identifiers
Definition at line 271 of file KVIDGraph.h.
|
inline |
Returns list of identifier objects (derived from KVIDentifier)
Definition at line 303 of file KVIDGraph.h.
|
inline |
Returns list of identifier objects (derived from KVIDentifier)
Definition at line 298 of file KVIDGraph.h.
|
inline |
Returns type of ID telescope to which this grid is associated (actually returns value of KVBase::GetLabel())
Definition at line 430 of file KVIDGraph.h.
|
inline |
Definition at line 245 of file KVIDGraph.h.
|
inline |
Definition at line 284 of file KVIDGraph.h.
|
inline |
Returns list of cuts (derived from KVIDentifier)
Definition at line 323 of file KVIDGraph.h.
|
inline |
Returns list of cuts (derived from KVIDentifier)
Definition at line 318 of file KVIDGraph.h.
|
inline |
Definition at line 116 of file KVIDGraph.h.
|
inline |
Definition at line 438 of file KVIDGraph.h.
|
virtual |
If name of grid is not set explicitly with SetName(const Char_t*), we return the name of the first ID telescope in the list of telescopes with which this grid is associated.
Reimplemented from TObject.
Definition at line 1332 of file KVIDGraph.cpp.
const Char_t * KVIDGraph::GetNamesOfIDTelescopes | ( | ) | const |
Returns a comma-separated list of the names of all ID telescopes for which this grid is valid.
Definition at line 1611 of file KVIDGraph.cpp.
|
inline |
Definition at line 332 of file KVIDGraph.h.
|
inline |
Definition at line 328 of file KVIDGraph.h.
|
inline |
Definition at line 336 of file KVIDGraph.h.
|
inline |
Definition at line 133 of file KVIDGraph.h.
|
inline |
Return pointer to list of parameters associated to grid
Definition at line 293 of file KVIDGraph.h.
|
inline |
Return pointer to list of parameters associated to grid
Definition at line 288 of file KVIDGraph.h.
Definition at line 240 of file KVIDGraph.h.
|
inlinevirtual |
Return quality code related to previously-attempted identification using grid. Redefine in child classes.
Reimplemented in KVIDZAGrid.
Definition at line 401 of file KVIDGraph.h.
|
inline |
Get list of runs for which grid is valid
Definition at line 266 of file KVIDGraph.h.
|
inline |
Get list of runs for which grid is valid
Definition at line 261 of file KVIDGraph.h.
|
inline |
Definition at line 393 of file KVIDGraph.h.
|
inline |
Definition at line 385 of file KVIDGraph.h.
Double_t KVIDGraph::GetXScaleFactor | ( | ) |
Return scaling factor for X-axis If factor not defined, returns 1
Definition at line 274 of file KVIDGraph.cpp.
|
inline |
Definition at line 397 of file KVIDGraph.h.
|
inline |
Definition at line 389 of file KVIDGraph.h.
Double_t KVIDGraph::GetYScaleFactor | ( | ) |
Return scaling factor for Y-axis If factor not defined, returns 1
Definition at line 292 of file KVIDGraph.cpp.
Returns kTRUE if telescope can use this graph for identification purposes.
Definition at line 424 of file KVIDGraph.h.
|
inlinevirtual |
Returns kTRUE if grid can identify masses as well as Z for at least some of the nuclei for which it is defined.
Returns kFALSE if grid only provides Z identification.
Reimplemented in KVIDZAFromZGrid.
Definition at line 169 of file KVIDGraph.h.
|
pure virtual |
Implemented in KVIDGChIoSi, KVIDGCsI, KVIDZAFromZGrid, and KVIDZAGrid.
Used by TestIdentification and KVTestIDGridDialog to send signals to TGHProgressBar about the progress of the identification test
Definition at line 249 of file KVIDGraph.h.
|
private |
Initialisations, used by constructors All graphs are added to gIDGridManager (if it exists).
Definition at line 67 of file KVIDGraph.cpp.
|
pure virtual |
Implemented in KVIDGChIoSi, KVIDGCsI, KVIDGrid, KVIDZAFromZGrid, and KVIDZAGrid.
|
inlinevirtual |
Reimplemented from TGraph.
Definition at line 533 of file KVIDGraph.h.
|
inlinevirtual |
Reimplemented from TObject.
Definition at line 501 of file KVIDGraph.h.
|
inline |
Returns pointer to pad currently displaying this graph. Returns 0x0 if graph is not drawn.
Definition at line 444 of file KVIDGraph.h.
|
virtual |
Default method for deciding if point (x,y) corresponds to an identifiable particle or not: we loop over the list of cuts and test the point with the method TestPoint(x,y).
If the point is accepted by all cuts, then (x,y) is identifiable (return kTRUE).
If the point is rejected by a cut we return kFALSE. If rejected_by contains a valid pointer, we set it to the name of the rejecting cut.
Reimplemented in KVIDGCsI, and KVIDGChIoSi.
Definition at line 1269 of file KVIDGraph.cpp.
|
inlineprivate |
Returns kTRUE if the graph is only to be used for Z identification (no isotopic information). Default is to identify both Z & A (fOnlyZid = kFALSE)
Definition at line 57 of file KVIDGraph.h.
|
inline |
Return kTRUE if list of identifiers has been sorted
Definition at line 380 of file KVIDGraph.h.
Static function which will create and 'Build' the identification graph of class 'class_name', one of the plugins defined in either $KVROOT/KVFiles/.kvrootrc, or in the user's .kvrootrc file. check and load plugin library
Definition at line 1556 of file KVIDGraph.cpp.
|
inline |
Signal sent out when properties of graph change
Definition at line 255 of file KVIDGraph.h.
|
privatevirtual |
Create new object of class "id_class" which derives from KVIDentifier.
Definition at line 807 of file KVIDGraph.cpp.
Print out all objects in graph.
Reimplemented from TObject.
Definition at line 1047 of file KVIDGraph.cpp.
Open, read and close ascii file containing this grid. Any previous lines in the grid are destroyed. Comment lines begin with # Grid info begins with ++ClassName where ClassName is actual class name of instance of this object New lines begin with +name_of_class '!' signals end of grid
Definition at line 779 of file KVIDGraph.cpp.
lecture des grilles avec version suivant un modele de fichier
Definition at line 1404 of file KVIDGraph.cpp.
|
virtual |
Read info from already open ascii file stream containing each line of this grid. Any previous lines in the grid are destroyed. Comment lines begin with # Grid info begins with ++ClassName where ClassName is actual class name of instance of this object The names associated to the X & Y axis of the identification map are written on lines beginning with VARX> VARY> Parameter lines begin with <PARAMETER> New lines begin with +name_of_class '!' signals end of grid info Any scaling factors are applied once the coordinates have been read reset grid - destroy old lines, axis limits...
Reimplemented in KVTGIDGrid, and KVIDZAFromZGrid.
Definition at line 601 of file KVIDGraph.cpp.
|
privatevirtual |
Read in new identifier object from file.
Reimplemented in KVIDGrid.
Definition at line 755 of file KVIDGraph.cpp.
void KVIDGraph::RemoveCut | ( | KVIDentifier * | cut | ) |
Remove and destroy cut.
Definition at line 350 of file KVIDGraph.cpp.
void KVIDGraph::RemoveIdentifier | ( | KVIDentifier * | id | ) |
Remove and destroy identifier.
Definition at line 335 of file KVIDGraph.cpp.
Remove telescope from the list of telescopes which can use this graph for identification purposes.
Definition at line 416 of file KVIDGraph.h.
void KVIDGraph::RemoveInfo | ( | KVIDentifier * | info | ) |
Remove and destroy cut.
Definition at line 363 of file KVIDGraph.cpp.
|
inlinevirtual |
Reimplemented from TGraph.
Definition at line 537 of file KVIDGraph.h.
Reimplemented from TGraph.
Definition at line 541 of file KVIDGraph.h.
void KVIDGraph::ResetDraw | ( | ) |
In case the graph can no longer be drawn/undrawn (because fPad contains address of a canvas which died unexpectedly), use this method to reset fPad=0 and hopefully start afresh.
Definition at line 1003 of file KVIDGraph.cpp.
void KVIDGraph::ResetPad | ( | ) |
Definition at line 33 of file KVIDGraph.cpp.
void KVIDGraph::RevertToLastSavedVersion | ( | ) |
Revert to last saved version of grid this will destroy any existing lines in the grid and replace them with copies of the lines as they were at the last moment the grid was saved If the grid is (was) visible in a pad, we redraw the new lines.
Definition at line 555 of file KVIDGraph.cpp.
|
inlinevirtual |
Reimplemented from TObject.
Definition at line 505 of file KVIDGraph.h.
Called by SetX/YScaleFactor methods to rescale every point of every object in the grid.
Definition at line 1146 of file KVIDGraph.cpp.
Rescale coordinates of every object in graph according to arbitrary functions of the coordinates (sx & sy can be 1-dimensional or 2-dimensional functions).
If sy is a TF1 function f(x), then the 'x' in this function refers to the y-coordinate. If sy is a TF2 function f(x,y), 'x' and 'y' refer to the x & y-coordinates.
Definition at line 1118 of file KVIDGraph.cpp.
after calling KVIDGraph::SetAutoAdd(), all grids are automatically added to ID Grid Manager after calling KVIDGraph::SetAutoAdd(kFALSE), this mechanism is disabled
Definition at line 100 of file KVIDGraph.h.
Reimplemented from TObject.
Definition at line 509 of file KVIDGraph.h.
virtual void NewCut();// MENU={Hierarchy="AddLine.../NewCut"} virtual void NewIdentifier();// MENU={Hierarchy="AddLine.../NewIdentifier"}
Toggles 'editable' status of all lines/contours in graph If editable = kTRUE this makes it possible to modify the graph we then take a snapshot of the graph before editing begins and store it in fLastSavedVersion. we can always revert to this version if we want
Reimplemented from TGraph.
Definition at line 1582 of file KVIDGraph.cpp.
|
inlinevirtual |
Reimplemented from TAttFill.
Definition at line 517 of file KVIDGraph.h.
|
virtual |
loop over KVIDGraph::fInfoZones to set flags in KVIdentificationResult
Definition at line 1297 of file KVIDGraph.cpp.
|
inlinevirtual |
Reimplemented from TAttLine.
Definition at line 513 of file KVIDGraph.h.
Set line colour of all objects in grid
Reimplemented from TAttLine.
Definition at line 187 of file KVIDGraph.h.
Set line style of all objects in grid
Reimplemented from TAttLine.
Definition at line 195 of file KVIDGraph.h.
Set line width of all objects in grid
Reimplemented from TAttLine.
Definition at line 203 of file KVIDGraph.h.
|
inlinevirtual |
Reimplemented from TAttMarker.
Definition at line 521 of file KVIDGraph.h.
Set mass formula for all identifiers if graph has OnlyZId()=kTRUE. This will change the mass (A) of each identifier.
Definition at line 1473 of file KVIDGraph.cpp.
Used in context menus to define whether grid identifies A & Z or just Z
Definition at line 178 of file KVIDGraph.h.
-— The following redeclarations are here just to remove the MENU tag which -— is present in TGraph.h, to stop these methods appearing in the ID line context menus
Reimplemented from TGraph.
Definition at line 456 of file KVIDGraph.h.
Reimplemented from TGraph.
Definition at line 460 of file KVIDGraph.h.
|
inlinevirtual |
Reimplemented from TNamed.
Definition at line 140 of file KVIDGraph.h.
Use this method if the graph is only to be used for Z identification (no isotopic information). Default is to identify both Z & A (fOnlyZid = kFALSE). Note that setting fOnlyZid=kTRUE changes the way line widths are calculated (see KVIDGrid::CalculateLineWidths)
Reimplemented in KVIDZAFromZGrid.
Definition at line 1496 of file KVIDGraph.cpp.
Definition at line 235 of file KVIDGraph.h.
|
inline |
Definition at line 156 of file KVIDGraph.h.
void KVIDGraph::SetRuns | ( | const KVNumberList & | nl | ) |
Set list of runs for which grid is valid.
Definition at line 1316 of file KVIDGraph.cpp.
|
inlinevirtual |
Reimplemented from TCutG.
Definition at line 525 of file KVIDGraph.h.
|
inlinevirtual |
Reimplemented from TCutG.
Definition at line 529 of file KVIDGraph.h.
Set scaling factor for X-axis - rescales all objects with this factor SetXScaleFactor() or SetXScaleFactor(0) removes scale factor
Definition at line 226 of file KVIDGraph.cpp.
|
inline |
void SetIDTelescopes();// MENU={Hierarchy="Set.../ID Telescopes"}
Definition at line 146 of file KVIDGraph.h.
Set scaling factor for Y-axis - rescales all objects with this factor SetYScaleFactor() or SetYScaleFactor(0) removes scale factor
Definition at line 250 of file KVIDGraph.cpp.
|
inline |
Definition at line 151 of file KVIDGraph.h.
|
inline |
Definition at line 375 of file KVIDGraph.h.
|
virtual |
This method allows to test the identification capabilities of the grid using data in a TH2F. We assume that 'data' contains an identification map, whose 'x' and 'y' coordinates correspond to this grid. Then we loop over every bin of the histogram, perform the identification (if IsIdentifiable() returns kTRUE) and fill the histograms with the results of the identification
The "identification" or PID we represent is the result of the KVReconstructedNucleus::GetPID() method for the identified nucleus.
The KVHashList contains histograms to be filled with results The KVNameValueList histo_names contains the name of each histogram passed in the KVHashList i.e. it may have any of the following parameters
"ID_REAL"="[name of histo to fill with PID spectrum]" "ID_REAL_AIDENT"="[name of histo to fill with PID spectrum]" Z&A identification "ID_REAL_ZIDENT"="[name of histo to fill with PID spectrum]" Only Z identification "ID_REAL_VS_ERES" - PID vs. Eres (X) histo "ID_REAL_VS_DE" - PID vs. DeltaE (Y) histo "ID_REAL_VS_ERES_AIDENT" - PID vs. Eres histo, Z&A identification "ID_REAL_VS_ERES_ZIDENT" - PID vs. Eres histo, only Z identification
Definition at line 1707 of file KVIDGraph.cpp.
void KVIDGraph::UnDraw | ( | ) |
Make the graph disappear from the current canvas/pad In case any objects have (accidentally) been drawn more than once, we keep calling gPad->GetListOfPrimitives()->Remove() as long as gPad->GetListOfPrimitives()->FindObject() returns kTRUE for each identifier. if (!fPad) { Error("UnDraw", "Cannot undraw, no pad stored ??"); return; } TIter next_id(fIdentifiers); KVIDentifier* line; //remove the rest of the lines while ((line = (KVIDentifier*) next_id())) { while (fPad->GetListOfPrimitives()->FindObject(line)) fPad->GetListOfPrimitives()->Remove(line); } TIter next_ok(fCuts); while ((line = (KVIDentifier*) next_ok())) { while (fPad->GetListOfPrimitives()->FindObject(line)) fPad->GetListOfPrimitives()->Remove(line); } fPad->Modified(); fPad->Update(); fPad->Disconnect("Closed()", this, "ResetPad()"); if (fPad->GetCanvas()) fPad->GetCanvas()->Disconnect("Cleared(TVirtualPad*)", this, "ClearPad(TVirtualPad*)");
Definition at line 966 of file KVIDGraph.cpp.
void KVIDGraph::UpdateLastSavedVersion | ( | ) |
update last saved version. mkae copy of current state of graph.
Definition at line 534 of file KVIDGraph.cpp.
Open, write and close ascii file containing this grid.
Definition at line 404 of file KVIDGraph.cpp.
ecriture des grilles avec version suivant un modele de fichier (fPattern) fPattern_vd.grid le modele doit etre initialiser par la methode SetPattern(TString) la valeur par default version=-1 permet l ecriture de la derniere version apres un check des versions existantes (methode CheckVersion) la premiere version est indexee v0
Definition at line 1387 of file KVIDGraph.cpp.
|
private |
Fill parameter "IDTelescopes" with list of names of telescopes associated with this grid, ready to write in ascii file if list of telescope pointers is empty, do nothing this is in case there are telescope names already in the IDTelescopes parameter but they are not telescopes in the current multi det array
Definition at line 382 of file KVIDGraph.cpp.
|
virtual |
Write info on this grid in already-open ascii file stream 'gridfile'. This begins with the line ++ClassName where '"ClassName'" is the name of the class of the actual instance of this object followed by informations on the grid and its objects.
The names associated to the X & Y axis of the identification map are written on lines beginning with VARX> VARY> Any associated parameters are written before the objects, starting with PARAMETER> then the name of the parameter and its value e.e. PARAMETER> ChIo pressure=45.5 A single '!' on a line by itself signals the end of the informations for this grid.
Scaling factors Any scaling factors are written in the file as PARAMETER> XScaleFactor=... PARAMETER> YScaleFactor=... However the coordinates written in the file are the unscaled factors When the file is read back again, the unscaled coordinates are read in and then the scaling is applied.
Reimplemented in KVTGIDGrid, and KVIDZAFromZGrid.
Definition at line 442 of file KVIDGraph.cpp.
|
friend |
Definition at line 33 of file KVIDGraph.h.
if =kTRUE, grids are automatically added to ID grid manager on creation (default)
Definition at line 55 of file KVIDGraph.h.
|
private |
cuts used to define area in which identification is possible
Definition at line 41 of file KVIDGraph.h.
|
mutableprivate |
dynamically generated name
Definition at line 51 of file KVIDGraph.h.
|
private |
list of identification objects
Definition at line 40 of file KVIDGraph.h.
|
private |
contours/lines used to add info to particles (ex: punch-through)
Definition at line 42 of file KVIDGraph.h.
|
private |
copy of last save version of grid, used for 'undo'
Definition at line 54 of file KVIDGraph.h.
|
private |
last applied scaling factor on X
Definition at line 46 of file KVIDGraph.h.
|
private |
last applied scaling factor on Y
Definition at line 47 of file KVIDGraph.h.
|
private |
OPTION={GetMethod="GetMassFormula";SetMethod="SetMassFormula";Items=(0="Beta-stability", 1="VEDA mass", 2="EAL mass", 3="EAL residues", 99="2Z+1")}
Definition at line 53 of file KVIDGraph.h.
|
private |
set to kTRUE when only to be used to give Z identification of nuclei, no mass info
Definition at line 39 of file KVIDGraph.h.
|
private |
pad in which graph is drawn
Definition at line 48 of file KVIDGraph.h.
|
private |
parameters associated to grid
Definition at line 45 of file KVIDGraph.h.
|
private |
pattern of filenames used to write or read grid
Definition at line 52 of file KVIDGraph.h.
|
private |
runs for which grid is valid
Definition at line 49 of file KVIDGraph.h.
|
private |
ID telescopes for which grid is valid.
Definition at line 50 of file KVIDGraph.h.
|
private |
min/max X coordinates of graph
Definition at line 43 of file KVIDGraph.h.
|
private |
Definition at line 43 of file KVIDGraph.h.
|
private |
min/max Y coordinates of graph
Definition at line 44 of file KVIDGraph.h.
|
private |
Definition at line 44 of file KVIDGraph.h.