KaliVeda
Toolkit for HIC analysis
|
Base class for graphical cuts used in particle identification.
Definition at line 28 of file KVIDentifier.h.
#include <KVIDentifier.h>
Public Member Functions | |
KVIDentifier () | |
Default constructor. | |
KVIDentifier (const KVIDentifier &) | |
KVIDentifier (const TCutG &) | |
copy a TCutG | |
KVIDentifier (const TGraph &) | |
copy a TGraph | |
virtual | ~KVIDentifier () |
Destructor. | |
virtual Int_t | AddPointAtTheEnd () |
virtual void | ChechHierarchy (KVIDentifier *gr) |
virtual void | CloneScaleStore (Int_t newzt, Int_t newat, Double_t dy=0., Double_t sx=1., Double_t sy=1.) |
Int_t | Compare (const TObject *) const |
virtual Int_t | ContinueDrawing () |
Continue to draw an existing the line. | |
void | Copy (TObject &obj) const |
Copy attributes of this identifier into 'obj'. | |
void | CopyGraph (const TGraph &) |
Copy coordinates of points from the TGraph. | |
void | CopyGraph (TGraph *) |
Copy coordinates of points from the TGraph. | |
virtual Int_t | DecreaseNumberOfPoints () |
virtual void | Delete (Option_t *option="") |
virtual void | DrawClass () const |
virtual TObject * | DrawClone (Option_t *option="") const |
virtual void | DrawPanel () |
virtual void | Dump () const |
void | ExtendLine (bool fromBeginning, Double_t Limit, Option_t *Direction) |
void | ExtendLine (Double_t, Option_t *Direction="") |
virtual Int_t | Fit (const char *formula, Option_t *option="", Option_t *goption="", Axis_t xmin=0, Axis_t xmax=0) |
virtual Int_t | Fit (TF1 *f1, Option_t *option="", Option_t *goption="", Axis_t xmin=0, Axis_t xmax=0) |
virtual void | FitPanel () |
virtual Int_t | GetA () const |
virtual Int_t | GetID () const |
virtual Int_t | GetMassFormula () const |
KVIDGraph * | GetParent () const |
Get pointer to parent ID graph. | |
virtual Double_t | GetPID () const |
virtual Int_t | GetZ () const |
virtual Int_t | IncreaseNumberOfPoints () |
virtual Int_t | InsertPoint () |
Insert a new point at the mouse position. | |
virtual Int_t | InsertSmoothPoint () |
Insert a new point at the mouse X position using a smooth evaluation of the Y. | |
virtual void | Inspect () const |
virtual Bool_t | OnlyZId () const |
virtual void | Print (Option_t *opt) const |
virtual void | ReadAsciiFile (std::ifstream &) |
virtual Int_t | RemoveFirstPoint () |
virtual Int_t | RemoveLastPoint () |
virtual Int_t | RemovePoint () |
virtual Int_t | RemovePoint (Int_t i) |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
virtual void | Scale (Double_t sx=-1, Double_t sy=-1) |
virtual void | Scale (TF1 *sx, TF1 *sy) |
virtual void | SetA (Int_t atnum) |
virtual void | SetAandZ (Int_t atnum, Int_t ztnum) |
virtual void | SetDrawOption (Option_t *option="") |
virtual void | SetFillAttributes () |
virtual void | SetLineAttributes () |
virtual void | SetMarkerAttributes () |
virtual void | SetMassFormula (Int_t mf) |
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 onlyz=kTRUE) |
void | SetParent (KVIDGraph *) |
Set pointer to parent ID graph. | |
virtual void | SetTitle (const char *title="") |
virtual void | SetZ (Int_t ztnum) |
virtual Int_t | SortPoints (Bool_t ascending=kTRUE) |
virtual Bool_t | TestPoint (Double_t, Double_t) |
virtual void | WaitForPrimitive () |
virtual void | WriteAsciiFile (std::ofstream &, const Char_t *name_prefix="") |
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) |
virtual void | SetVarX (const char *varx) |
virtual void | SetVarY (const char *vary) |
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 | SetEditable (Bool_t editable=kTRUE) |
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 | SetLineColor (Color_t lcolor) |
virtual void | SetLineColorAlpha (Color_t lcolor, Float_t lalpha) |
virtual void | SetLineStyle (Style_t lstyle) |
virtual void | SetLineWidth (Width_t lwidth) |
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) |
Private Member Functions | |
void | init () |
virtual void | ReadAsciiFile_extras (std::ifstream &) |
virtual void | SetNameFromNucleus () |
virtual void | WriteAsciiFile_extras (std::ofstream &, const Char_t *="") |
Private Attributes | |
Int_t | fA |
dummy variables used by context menu dialog boxes | |
Bool_t | fGridOnlyZId |
=kTRUE if parent grid has OnlyZId set | |
KVNucleus | fIon |
ion/nucleus corresponding to this identifier | |
Int_t | fMassFormula |
OPTION={GetMethod="GetMassFormula";SetMethod="SetMassFormula";Items=(0="Beta-stability", 1="VEDA mass", 2="EAL mass", 3="EAL residues", 99="2Z+1")} | |
KVIDGraph * | fParent |
parent identification map or grid | |
Int_t | fZ |
dummy variables used by context menu dialog boxes | |
Friends | |
class | KVIDGraph |
Additional Inherited Members | |
Public Types inherited from TGraph | |
enum | EStatusBits |
Public Types inherited from TObject | |
enum | EDeprecatedStatusBits |
enum | EStatusBits |
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) |
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 |
KVIDentifier::KVIDentifier | ( | ) |
Default constructor.
Definition at line 59 of file KVIDentifier.cpp.
KVIDentifier::KVIDentifier | ( | const KVIDentifier & | gr | ) |
copy constructor we do not copy the fParent pointer to parent grid, it is left NULL.
Definition at line 108 of file KVIDentifier.cpp.
KVIDentifier::KVIDentifier | ( | const TCutG & | gr | ) |
copy a TCutG
Definition at line 81 of file KVIDentifier.cpp.
KVIDentifier::KVIDentifier | ( | const TGraph & | gr | ) |
copy a TGraph
Definition at line 93 of file KVIDentifier.cpp.
|
virtual |
Destructor.
Definition at line 71 of file KVIDentifier.cpp.
|
virtual |
Insert a new point at the end its position is extrapolated from the two last points assuming linear evolution (yy = a*xx + bb) The KVIDentifier has to have at least 2 points
Definition at line 808 of file KVIDentifier.cpp.
|
virtual |
Check if the line has been draw from left to right or right to left In this last case, we invert the filling order
Definition at line 740 of file KVIDentifier.cpp.
|
virtual |
Create a new line from the selected one with a new Z and A (optional) this new line is scale from the selected one with a vertical sy and horizontal sx (optional) factor you need to undraw and draw the grid to see its implementation
Definition at line 531 of file KVIDentifier.cpp.
Dummy method used for sorting, can be redefined in more specific implementations. A priori we don't know how to "order" the identification cuts.
Reimplemented from TObject.
Reimplemented in KVIDZALine.
Definition at line 284 of file KVIDentifier.cpp.
|
virtual |
Continue to draw an existing the line.
Definition at line 678 of file KVIDentifier.cpp.
Copy attributes of this identifier into 'obj'.
Reimplemented from TObject.
Reimplemented in KVIDZALine.
Definition at line 123 of file KVIDentifier.cpp.
Copy coordinates of points from the TGraph.
Definition at line 186 of file KVIDentifier.cpp.
Copy coordinates of points from the TGraph.
Definition at line 167 of file KVIDentifier.cpp.
|
virtual |
Definition at line 905 of file KVIDentifier.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 188 of file KVIDentifier.h.
|
inlinevirtual |
Reimplemented from TObject.
Definition at line 192 of file KVIDentifier.h.
Reimplemented from TObject.
Definition at line 196 of file KVIDentifier.h.
|
inlinevirtual |
Reimplemented from TGraph.
Definition at line 160 of file KVIDentifier.h.
|
inlinevirtual |
Reimplemented from TObject.
Definition at line 201 of file KVIDentifier.h.
Add a straight-line segment at the end or the beginning of the line depending on fromBeginning.
Definition at line 462 of file KVIDentifier.cpp.
Right-clicking an identifier and selecting this method from the context menu allows to add a straight-line segment at the end or the beginning of the line (whichever is closest to the mouse).
Definition at line 425 of file KVIDentifier.cpp.
|
inlinevirtual |
Reimplemented from TGraph.
Definition at line 174 of file KVIDentifier.h.
|
inlinevirtual |
Reimplemented from TGraph.
Definition at line 178 of file KVIDentifier.h.
|
inlinevirtual |
Reimplemented from TGraph.
Definition at line 156 of file KVIDentifier.h.
|
inlinevirtual |
Reimplemented in KVIDCutContour, and KVIDCutLine.
Definition at line 75 of file KVIDentifier.h.
|
inlinevirtual |
Definition at line 71 of file KVIDentifier.h.
|
inlinevirtual |
Reimplemented in KVIDCutContour, and KVIDCutLine.
Definition at line 115 of file KVIDentifier.h.
KVIDGraph * KVIDentifier::GetParent | ( | ) | const |
Get pointer to parent ID graph.
Definition at line 144 of file KVIDentifier.cpp.
|
virtual |
Definition at line 951 of file KVIDentifier.cpp.
|
inlinevirtual |
Reimplemented in KVIDCutContour, and KVIDCutLine.
Definition at line 79 of file KVIDentifier.h.
|
virtual |
Definition at line 870 of file KVIDentifier.cpp.
|
private |
Default initialisations We set marker size and style for the underlying TGraph, this way a small circle is drawn at each point. Also SetEditable(kFALSE) is used to stop it being modified using the mouse. SetMarkerStyle(kCircle);
Definition at line 38 of file KVIDentifier.cpp.
|
virtual |
Insert a new point at the mouse position.
Reimplemented from TGraph.
Reimplemented in KVIDContour.
Definition at line 573 of file KVIDentifier.cpp.
|
virtual |
Insert a new point at the mouse X position using a smooth evaluation of the Y.
Definition at line 640 of file KVIDentifier.cpp.
|
inlinevirtual |
Reimplemented from TObject.
Definition at line 205 of file KVIDentifier.h.
|
inlinevirtual |
Definition at line 103 of file KVIDentifier.h.
Print out for identification cut The optional "opt" string, if given, is printed in parentheses after the line's name This is used by KVIDGraph in order to show which are "ID" cuts and which are "OK" cuts (i.e. used to define an identifiable area in a data map).
Reimplemented from TObject.
Reimplemented in KVIDCsIRLLine, and KVIDZALine.
Definition at line 301 of file KVIDentifier.cpp.
|
virtual |
Read coordinates of identifier in file buffer stream Format is :
number_of_points x1 y1 x2 y2 ... etc. etc.
Definition at line 256 of file KVIDentifier.cpp.
|
inlineprivatevirtual |
Does nothing. Can be overridden in child classes in order to read any extra information in between the name of the object and the number of points.
Reimplemented in KVIDCutContour, KVIDCutLine, KVIDZAContour, and KVIDZALine.
Definition at line 46 of file KVIDentifier.h.
|
virtual |
Remove the first point The KVIDentifier has to have at least 2 points
Definition at line 835 of file KVIDentifier.cpp.
|
virtual |
Remove the first point The KVIDentifier has to have at least 2 points
Definition at line 854 of file KVIDentifier.cpp.
|
virtual |
Reimplemented from TGraph.
Definition at line 772 of file KVIDentifier.cpp.
Reimplemented from TGraph.
Definition at line 240 of file KVIDentifier.h.
|
inlinevirtual |
Reimplemented from TObject.
Definition at line 209 of file KVIDentifier.h.
Scale the coordinates of every point of the cut according to X_0 —> sx*X_0 Y_0 —> sy*Y_0 Default argument value '-1' means leave coordinate unchanged
Definition at line 321 of file KVIDentifier.cpp.
Apply to the coordinates of every point the transformation X_0 —> sx(X_0,Y_0) Y_0 —> sy(X_0,Y_0) if sx & sy are two-dimensional functions (inherits from TF2), otherwise we apply the transformation X_0 —> sx(X_0) Y_0 —> sy(Y_0) for sx & sy one-dimensionsal (TF1) functions.
Definition at line 350 of file KVIDentifier.cpp.
Reimplemented in KVIDCutContour, and KVIDCutLine.
Definition at line 88 of file KVIDentifier.h.
Reimplemented in KVIDCutContour, and KVIDCutLine.
Definition at line 93 of file KVIDentifier.h.
Reimplemented from TObject.
Definition at line 213 of file KVIDentifier.h.
|
inlinevirtual |
Reimplemented from TAttFill.
Definition at line 221 of file KVIDentifier.h.
|
inlinevirtual |
Reimplemented from TAttLine.
Definition at line 217 of file KVIDentifier.h.
|
inlinevirtual |
Reimplemented from TAttMarker.
Definition at line 225 of file KVIDentifier.h.
Reimplemented in KVIDCutContour, and KVIDCutLine.
Definition at line 107 of file KVIDentifier.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 144 of file KVIDentifier.h.
Reimplemented from TGraph.
Definition at line 148 of file KVIDentifier.h.
|
virtual |
-— The following redeclarations are here just to remove the MENU tag which -— is present in TNamed.h, to stop these methods appearing in the ID line context menus
Reimplemented from TNamed.
Reimplemented in KVIDCutContour, KVIDCutLine, and KVIDZALine.
Definition at line 23 of file KVIDentifier.cpp.
|
inlineprivatevirtual |
Definition at line 47 of file KVIDentifier.h.
Definition at line 99 of file KVIDentifier.h.
Set pointer to parent ID graph.
Definition at line 155 of file KVIDentifier.cpp.
|
inlinevirtual |
Reimplemented from TNamed.
Definition at line 152 of file KVIDentifier.h.
Reimplemented in KVIDCutContour, and KVIDCutLine.
Definition at line 83 of file KVIDentifier.h.
Definition at line 940 of file KVIDentifier.cpp.
Abstract method, should be overridden in child classes. Used to test whether a point (x,y) in the ID map is identifiable.
Reimplemented in KVIDCutContour, and KVIDCutLine.
Definition at line 120 of file KVIDentifier.h.
|
virtual |
Method used to draw a new identifier in the active pad Override in child classes so that gPad->WaitPrimitive has correct arguments
Reimplemented in KVIDLine.
Definition at line 398 of file KVIDentifier.cpp.
Write name and coordinates of identifier in file buffer stream Optional string name_prefix will be written just in front of the name of the object. Format is :
+classname name_prefix:name_of_object number_of_points x1 y1 x2 y2 ... etc. etc.
Definition at line 215 of file KVIDentifier.cpp.
|
inlineprivatevirtual |
Does nothing. Can be overridden in child classes in order to write any extra information in between the name of the object and the number of points.
Reimplemented in KVIDCutContour, KVIDCutLine, KVIDZAContour, and KVIDZALine.
Definition at line 42 of file KVIDentifier.h.
|
friend |
Definition at line 29 of file KVIDentifier.h.
|
private |
dummy variables used by context menu dialog boxes
Definition at line 37 of file KVIDentifier.h.
|
private |
=kTRUE if parent grid has OnlyZId set
Definition at line 34 of file KVIDentifier.h.
|
private |
ion/nucleus corresponding to this identifier
Definition at line 33 of file KVIDentifier.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 38 of file KVIDentifier.h.
|
private |
parent identification map or grid
Definition at line 32 of file KVIDentifier.h.
|
private |
dummy variables used by context menu dialog boxes
Definition at line 36 of file KVIDentifier.h.