KaliVeda
Toolkit for HIC analysis
KVIDCutContour Class Reference

Detailed Description

Graphical contour for excluding/including regions in particle identification maps.

Created by KVClassFactory on Mon Apr 14 14:10:56 2008 Author: franklan

Definition at line 23 of file KVIDCutContour.h.

#include <KVIDCutContour.h>

Inheritance diagram for KVIDCutContour:

Public Member Functions

 KVIDCutContour ()
 Default constructor. More...
 
 KVIDCutContour (const KVIDCutContour &)
 Copy constructor. More...
 
 KVIDCutContour (const TCutG &)
 Copy the TCutG contour. More...
 
virtual ~KVIDCutContour ()
 Destructor. More...
 
Int_t GetA () const override
 
Int_t GetMassFormula () const override
 
const Char_t * GetSelectionType () const override
 \ return type of selection made by contour More...
 
Int_t GetZ () const override
 
Bool_t IsExclusive () const
 kTRUE for exclusive contour, kFALSE for inclusive contour More...
 
void SetExclusive (Bool_t e=kTRUE)
 
void SetName (const char *name) override
 This is redeclared to make it appear in context menus for KVIDContourLines. More...
 
Bool_t TestPoint (Double_t x, Double_t y) override
 
- Public Member Functions inherited from KVIDContour
 KVIDContour ()
 Default constructor. More...
 
 KVIDContour (const KVIDContour &)
 Copy constructor. More...
 
 KVIDContour (const TCutG &)
 Copy the TCutG contour. More...
 
virtual ~KVIDContour ()
 Destructor. More...
 
Int_t InsertPoint () override
 
- Public Member Functions inherited from KVIDentifier
 KVIDentifier ()
 Default constructor. More...
 
 KVIDentifier (const KVIDentifier &)
 
 KVIDentifier (const TCutG &)
 copy a TCutG More...
 
 KVIDentifier (const TGraph &)
 copy a TGraph More...
 
virtual ~KVIDentifier ()
 Destructor. More...
 
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 override
 
virtual Int_t ContinueDrawing ()
 Continue to draw an existing the line. More...
 
void Copy (TObject &obj) const override
 Copy attributes of this identifier into 'obj'. More...
 
void CopyGraph (const TGraph &)
 Copy coordinates of points from the TGraph. More...
 
void CopyGraph (TGraph *)
 Copy coordinates of points from the TGraph. More...
 
virtual Int_t DecreaseNumberOfPoints ()
 
void Delete (Option_t *option="") override
 
void DrawClass () const override
 
TObject * DrawClone (Option_t *option="") const override
 
void DrawPanel () override
 
void Dump () const override
 
void ExtendLine (bool fromBeginning, Double_t Limit, Option_t *Direction)
 
void ExtendLine (Double_t, Option_t *Direction="")
 
TFitResultPtr Fit (const char *formula, Option_t *option="", Option_t *goption="", Axis_t xmin=0, Axis_t xmax=0) override
 
TFitResultPtr Fit (TF1 *f1, Option_t *option="", Option_t *goption="", Axis_t xmin=0, Axis_t xmax=0) override
 
void FitPanel () override
 
virtual Int_t GetID () const
 
KVIDGraph * GetParent () const
 Get pointer to parent ID graph. More...
 
virtual Double_t GetPID () const
 
const Char_t * GetType () const
 
virtual Bool_t HasMassFits () const
 
virtual Int_t IncreaseNumberOfPoints ()
 
Int_t InsertPoint () override
 Insert a new point at the mouse position. More...
 
virtual Int_t InsertSmoothPoint ()
 Insert a new point at the mouse X position using a smooth evaluation of the Y. More...
 
void Inspect () const override
 
void NotifyParentOfModification ()
 If identifier belongs to a graph/grid, send signal to say it has been modified. More...
 
virtual Bool_t OnlyZId () const
 
void Print (Option_t *opt) const override
 
virtual void ReadAsciiFile (std::ifstream &)
 
virtual Int_t RemoveFirstPoint ()
 
virtual Int_t RemoveLastPoint ()
 
virtual Int_t RemovePoint () override
 
virtual Int_t RemovePoint (Int_t i) override
 
void SaveAs (const char *filename="", Option_t *option="") const override
 
void Scale (TF1 *sx, TF1 *sy)
 
void ScaleXY (Double_t sx=-1, Double_t sy=-1)
 
void SetDrawOption (Option_t *option="") override
 
void SetFillAttributes () override
 
void SetLineAttributes () override
 
void SetMarkerAttributes () override
 
void SetMaximum (Double_t maximum=-1111) override
 
void SetMinimum (Double_t minimum=-1111) override
 
void SetName (const char *name) override
 
virtual void SetOnlyZId (Bool_t onlyz=kTRUE)
 
void SetParent (KVIDGraph *)
 Set pointer to parent ID graph. More...
 
void SetTitle (const char *title="") override
 
virtual Int_t SortPoints (Bool_t ascending=kTRUE)
 
virtual void WaitForPrimitive ()
 
virtual void WriteAsciiFile (std::ofstream &, const Char_t *name_prefix="")
 

Constructor & Destructor Documentation

◆ KVIDCutContour() [1/3]

KVIDCutContour::KVIDCutContour ( )

Default constructor.

Definition at line 21 of file KVIDCutContour.cpp.

◆ KVIDCutContour() [2/3]

KVIDCutContour::KVIDCutContour ( const KVIDCutContour &  g)

Copy constructor.

Definition at line 33 of file KVIDCutContour.cpp.

◆ KVIDCutContour() [3/3]

KVIDCutContour::KVIDCutContour ( const TCutG &  g)

Copy the TCutG contour.

Definition at line 46 of file KVIDCutContour.cpp.

◆ ~KVIDCutContour()

KVIDCutContour::~KVIDCutContour ( )
virtual

Destructor.

Definition at line 59 of file KVIDCutContour.cpp.

Member Function Documentation

◆ GetA()

Int_t KVIDCutContour::GetA ( ) const
inlineoverridevirtual

Reimplemented from KVIDentifier.

Definition at line 55 of file KVIDCutContour.h.

◆ GetMassFormula()

Int_t KVIDCutContour::GetMassFormula ( ) const
inlineoverridevirtual

Reimplemented from KVIDentifier.

Definition at line 63 of file KVIDCutContour.h.

◆ GetSelectionType()

const Char_t * KVIDCutContour::GetSelectionType ( ) const
overridevirtual

\ return type of selection made by contour

Reimplemented from KVIDentifier.

Definition at line 69 of file KVIDCutContour.cpp.

◆ GetZ()

Int_t KVIDCutContour::GetZ ( ) const
inlineoverridevirtual

Reimplemented from KVIDentifier.

Definition at line 59 of file KVIDCutContour.h.

◆ IsExclusive()

Bool_t KVIDCutContour::IsExclusive ( ) const
inline

kTRUE for exclusive contour, kFALSE for inclusive contour

Definition at line 86 of file KVIDCutContour.h.

◆ SetExclusive()

void KVIDCutContour::SetExclusive ( Bool_t  e = kTRUE)
inline

Make contour exclusive i.e. only accept points outside contour

Definition at line 78 of file KVIDCutContour.h.

◆ SetName()

void KVIDCutContour::SetName ( const char *  name)
inlineoverride

This is redeclared to make it appear in context menus for KVIDContourLines.

Definition at line 91 of file KVIDCutContour.h.

◆ TestPoint()

Bool_t KVIDCutContour::TestPoint ( Double_t  x,
Double_t  y 
)
inlineoverridevirtual

Test whether point (x,y) is in the acceptable region defined by this contour. This means for an inclusive contour: (x,y) OK if inside contour for an exclusive contour: (x,y) OK if outside contour

Reimplemented from KVIDentifier.

Definition at line 68 of file KVIDCutContour.h.