KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
List of all members | Public Types | Public Member Functions | Private Attributes | List of all members
KVPIDIntervalPainter::pid_line Class Reference

Definition at line 63 of file KVPIDIntervalPainter.h.

Public Types

enum class  limit_t { lower , upper }
 
- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 

Public Member Functions

 pid_line ()=default
 
 pid_line (KVPIDIntervalPainter *p, double _pid, double ymin, double ymax, limit_t limit_type, Color_t itv_col)
 
bool CheckPosition (double x)
 
void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 
limit_t GetLimitType () const
 
double GetX () const
 
void HighLight (bool hi=true)
 
bool IsLowerLimit () const
 
bool IsUpperLimit () const
 
void Paint (Option_t *option="")
 
void SetX (double X)
 
 TLine ()
 
 TLine (const TLine &line)
 
 TLine (Double_t x1, Double_t y1, Double_t x2, Double_t y2)
 
void Update (double x)
 
- Public Member Functions inherited from TLine
 TLine ()
 
 TLine (const TLine &line)
 
 TLine (Double_t x1, Double_t y1, Double_t x2, Double_t y2)
 
virtual ~TLine ()=default
 
void Copy (TObject &line) const
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 
virtual TLineDrawLine (Double_t x1, Double_t y1, Double_t x2, Double_t y2)
 
virtual TLineDrawLineNDC (Double_t x1, Double_t y1, Double_t x2, Double_t y2)
 
virtual Rectangle_t GetBBox ()
 
virtual TPoint GetBBoxCenter ()
 
Double_t GetX1 () const
 
Double_t GetX2 () const
 
Double_t GetY1 () const
 
Double_t GetY2 () const
 
Bool_t IsHorizontal ()
 
Bool_t IsVertical ()
 
virtual void ls (Option_t *option="") const
 
TLineoperator= (const TLine &src)
 
virtual void PaintLine (Double_t x1, Double_t y1, Double_t x2, Double_t y2)
 
virtual void PaintLineNDC (Double_t u1, Double_t v1, Double_t u2, Double_t v2)
 
virtual void Print (Option_t *option="") const
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 
virtual void SetBBoxCenter (const TPoint &p)
 
virtual void SetBBoxCenterX (const Int_t x)
 
virtual void SetBBoxCenterY (const Int_t y)
 
virtual void SetBBoxX1 (const Int_t x)
 
virtual void SetBBoxX2 (const Int_t x)
 
virtual void SetBBoxY1 (const Int_t y)
 
virtual void SetBBoxY2 (const Int_t y)
 
void SetHorizontal (Bool_t set=kTRUE)
 
virtual void SetNDC (Bool_t isNDC=kTRUE)
 
void SetVertical (Bool_t set=kTRUE)
 
virtual void SetX1 (Double_t x1)
 
virtual void SetX2 (Double_t x2)
 
virtual void SetY1 (Double_t y1)
 
virtual void SetY2 (Double_t y2)
 
- 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="")
 
virtual void Browse (TBrowser *b)
 
ULong_t CheckedHash ()
 
virtual const char * ClassName () const
 
virtual void Clear (Option_t *="")
 
virtual TObjectClone (const char *newname="") const
 
virtual Int_t Compare (const TObject *obj) const
 
virtual void Delete (Option_t *option="")
 
virtual void Draw (Option_t *option="")
 
virtual void DrawClass () const
 
virtual TObjectDrawClone (Option_t *option="") const
 
virtual void Dump () const
 
virtual void Error (const char *method, const char *msgfmt,...) const
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 
virtual TObjectFindObject (const char *name) const
 
virtual TObjectFindObject (const TObject *obj) const
 
virtual Option_tGetDrawOption () const
 
virtual const char * GetIconName () const
 
virtual const char * GetName () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual Option_tGetOption () const
 
virtual const char * GetTitle () const
 
virtual UInt_t GetUniqueID () const
 
virtual Bool_t HandleTimer (TTimer *timer)
 
virtual ULong_t Hash () const
 
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
 
virtual void Inspect () const
 
void InvertBit (UInt_t f)
 
virtual Bool_t IsEqual (const TObject *obj) const
 
virtual Bool_t IsFolder () const
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
virtual Bool_t IsSortable () 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)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 
virtual void Pop ()
 
virtual Int_t Read (const char *name)
 
virtual void RecursiveRemove (TObject *obj)
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 
virtual void SetDrawOption (Option_t *option="")
 
virtual void SetUniqueID (UInt_t uid)
 
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 UseCurrentStyle ()
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 
virtual Int_t Write (const char *name=0, 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 SetLineAttributes ()
 
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)
 
- Public Member Functions inherited from TAttBBox2D
virtual ~TAttBBox2D ()
 

Private Attributes

Color_t def_color {kBlack}
 
bool fHighlight {false}
 
KVPIDIntervalPainterparent
 
double pid
 
limit_t type
 

Additional Inherited Members

- Static Public Member Functions inherited from TObject
static Longptr_t GetDtorOnly ()
 
static Bool_t GetObjectStat ()
 
static void SetDtorOnly (void *obj)
 
static void SetObjectStat (Bool_t stat)
 
- Public Attributes inherited from TLine
 kHorizontal
 
 kLineNDC
 
 kVertical
 
- 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 TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 
void MakeZombie ()
 
- Protected Attributes inherited from TLine
Double_t fX1
 
Double_t fX2
 
Double_t fY1
 
Double_t fY2
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 
- Protected Attributes inherited from TAttLine
Color_t fLineColor
 
Style_t fLineStyle
 
Width_t fLineWidth
 
Inheritance diagram for KVPIDIntervalPainter::pid_line:
Inheritance graph
[legend]

Member Enumeration Documentation

◆ limit_t

Enumerator
lower 
upper 

Definition at line 65 of file KVPIDIntervalPainter.h.

Constructor & Destructor Documentation

◆ pid_line() [1/2]

KVPIDIntervalPainter::pid_line::pid_line ( )
default

◆ pid_line() [2/2]

KVPIDIntervalPainter::pid_line::pid_line ( KVPIDIntervalPainter p,
double  _pid,
double  ymin,
double  ymax,
limit_t  limit_type,
Color_t  itv_col 
)
inline

Definition at line 68 of file KVPIDIntervalPainter.h.

Member Function Documentation

◆ CheckPosition()

bool KVPIDIntervalPainter::pid_line::CheckPosition ( double  x)

make sure that lower limit < PID marker < upper limit

also, both limits must be > than the upper limit of the PID interval to our left (if it exists), and also < the lower limit of the PID interval to our right (if it exists)

Definition at line 587 of file KVPIDIntervalPainter.cpp.

◆ ExecuteEvent()

void KVPIDIntervalPainter::pid_line::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
)
virtual

Reimplemented from TLine.

Definition at line 259 of file KVPIDIntervalPainter.cpp.

◆ GetLimitType()

limit_t KVPIDIntervalPainter::pid_line::GetLimitType ( ) const
inline

Definition at line 79 of file KVPIDIntervalPainter.h.

◆ GetX()

double KVPIDIntervalPainter::pid_line::GetX ( void  ) const
inline

Definition at line 115 of file KVPIDIntervalPainter.h.

◆ HighLight()

void KVPIDIntervalPainter::pid_line::HighLight ( bool  hi = true)

Definition at line 546 of file KVPIDIntervalPainter.cpp.

◆ IsLowerLimit()

bool KVPIDIntervalPainter::pid_line::IsLowerLimit ( ) const
inline

Definition at line 87 of file KVPIDIntervalPainter.h.

◆ IsUpperLimit()

bool KVPIDIntervalPainter::pid_line::IsUpperLimit ( ) const
inline

Definition at line 83 of file KVPIDIntervalPainter.h.

◆ Paint()

void KVPIDIntervalPainter::pid_line::Paint ( Option_t option = "")
virtual

Reimplemented from TLine.

Definition at line 563 of file KVPIDIntervalPainter.cpp.

◆ SetX()

void KVPIDIntervalPainter::pid_line::SetX ( double  X)
inline

the line has moved

update interval limits

signal that something changed

Definition at line 92 of file KVPIDIntervalPainter.h.

◆ TLine() [1/3]

TLine::TLine

◆ TLine() [2/3]

TLine::TLine

◆ TLine() [3/3]

TLine::TLine

◆ Update()

void KVPIDIntervalPainter::pid_line::Update ( double  x)
inline

Definition at line 108 of file KVPIDIntervalPainter.h.

Member Data Documentation

◆ def_color

Color_t KVPIDIntervalPainter::pid_line::def_color {kBlack}
private

Definition at line 127 of file KVPIDIntervalPainter.h.

◆ fHighlight

bool KVPIDIntervalPainter::pid_line::fHighlight {false}
private

Definition at line 126 of file KVPIDIntervalPainter.h.

◆ parent

KVPIDIntervalPainter* KVPIDIntervalPainter::pid_line::parent
private

Definition at line 124 of file KVPIDIntervalPainter.h.

◆ pid

double KVPIDIntervalPainter::pid_line::pid
private

Definition at line 128 of file KVPIDIntervalPainter.h.

◆ type

limit_t KVPIDIntervalPainter::pid_line::type
private

Definition at line 125 of file KVPIDIntervalPainter.h.


The documentation for this class was generated from the following files: