KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches

Detailed Description

Graphical representation of a PID interval in the KVIDZAFromZGrid mass assignation GUI.

Created by KVClassFactory on Mon Jan 23 14:29:32 2017 Author: Diego Gruyer

Definition at line 28 of file KVPIDIntervalPainter.h.

#include <KVPIDIntervalPainter.h>

Inheritance diagram for KVPIDIntervalPainter:

Classes

class  pid_line
 
class  pid_marker
 

Public Member Functions

 KVPIDIntervalPainter (const char *name, const char *title)
 
 KVPIDIntervalPainter (const TString &name, const TString &title)
 
 KVPIDIntervalPainter (interval *itv, TH1 *hh, Color_t itv_color, KVPIDIntervalPainter *last_interval)
 
void ActivateIntervals ()
 
void DeactivateIntervals ()
 
void Draw (Option_t *option="")
 
KVPIDIntervalPainterget_left_interval () const
 
KVPIDIntervalPainterget_right_interval () const
 
Int_t GetA ()
 
TCanvasGetCanvas () const
 
bool GetDisplayLabel () const
 
TH1GetHisto () const
 
Double_t GetHistoXAxisLowerLimit () const
 
Double_t GetHistoXAxisUpperLimit () const
 
intervalGetInterval () const
 
double GetPIDIntervalLowerLimit () const
 
double GetPIDIntervalUpperLimit () const
 
double GetPIDPosition () const
 
Int_t GetZ ()
 
void HighLight (bool hi=true)
 
void IntMod ()
 
void set_left_interval (KVPIDIntervalPainter *i)
 
void set_right_interval (KVPIDIntervalPainter *i)
 
void SetCanvas (TCanvas *cc)
 
void SetDisplayLabel (bool dis=true)
 
void Update ()
 
- 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
 
TObjectClone (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
 
TClassIsA () const override
 
Bool_t IsSortable () const override
 
void ls (Option_t *option="") const override
 
TNamedoperator= (const TNamed &rhs)
 
void Print (Option_t *option="") const override
 
virtual void SetName (const char *name)
 
virtual void SetNameTitle (const char *name, const char *title)
 
virtual void SetTitle (const char *title="")
 
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="")
 
virtual void Browse (TBrowser *b)
 
ULong_t CheckedHash ()
 
virtual const char * ClassName () const
 
virtual void Delete (Option_t *option="")
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 
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=nullptr)
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 
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 char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual Option_tGetOption () 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
 
virtual void Inspect () 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)
 
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 Paint (Option_t *option="")
 
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
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 
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)
 
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 UseCurrentStyle ()
 
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
 

Private Attributes

Bool_t active_intervals = true
 
Int_t fA
 
TCanvasfCanvas = nullptr
 
intervalfInterval = nullptr
 
pid_line fLine1
 represents lower limit of PID for interval
 
pid_line fLine2
 represents upper limit of PID for interval
 
TH1fLinearHisto = nullptr
 
pid_marker fMarker
 represents position of PID for interval
 
TAxisfXaxis {nullptr}
 
TAxisfYaxis {nullptr}
 
Int_t fZ
 
KVPIDIntervalPainterleft_interval = nullptr
 
double max
 
double min
 
double pid
 
KVPIDIntervalPainterright_interval = nullptr
 

Friends

class pid_marker
 

Additional Inherited Members

- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 
- Static Public Member Functions inherited from TNamed
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TObject
static TClassClass ()
 
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)
 
- 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 TNamed
TString fName
 
TString fTitle
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 

Constructor & Destructor Documentation

◆ KVPIDIntervalPainter() [1/3]

KVPIDIntervalPainter::KVPIDIntervalPainter ( interval itv,
TH1 hh,
Color_t  itv_color,
KVPIDIntervalPainter last_interval 
)
inline

Definition at line 169 of file KVPIDIntervalPainter.h.

◆ KVPIDIntervalPainter() [2/3]

KVPIDIntervalPainter::KVPIDIntervalPainter ( const char *  name,
const char *  title 
)
inline

Definition at line 187 of file KVPIDIntervalPainter.h.

◆ KVPIDIntervalPainter() [3/3]

KVPIDIntervalPainter::KVPIDIntervalPainter ( const TString name,
const TString title 
)
inline

Definition at line 190 of file KVPIDIntervalPainter.h.

Member Function Documentation

◆ ActivateIntervals()

void KVPIDIntervalPainter::ActivateIntervals ( )
inline

Definition at line 204 of file KVPIDIntervalPainter.h.

◆ DeactivateIntervals()

void KVPIDIntervalPainter::DeactivateIntervals ( )
inline

Definition at line 194 of file KVPIDIntervalPainter.h.

◆ Draw()

void KVPIDIntervalPainter::Draw ( Option_t option = "")
virtual

Reimplemented from TObject.

Definition at line 17 of file KVPIDIntervalPainter.cpp.

◆ get_left_interval()

KVPIDIntervalPainter * KVPIDIntervalPainter::get_left_interval ( ) const
inline

Definition at line 165 of file KVPIDIntervalPainter.h.

◆ get_right_interval()

KVPIDIntervalPainter * KVPIDIntervalPainter::get_right_interval ( ) const
inline

Definition at line 161 of file KVPIDIntervalPainter.h.

◆ GetA()

Int_t KVPIDIntervalPainter::GetA ( )
inline

Definition at line 225 of file KVPIDIntervalPainter.h.

◆ GetCanvas()

TCanvas * KVPIDIntervalPainter::GetCanvas ( ) const
inline

Definition at line 255 of file KVPIDIntervalPainter.h.

◆ GetDisplayLabel()

bool KVPIDIntervalPainter::GetDisplayLabel ( ) const
inline

Definition at line 234 of file KVPIDIntervalPainter.h.

◆ GetHisto()

TH1 * KVPIDIntervalPainter::GetHisto ( ) const
inline

Definition at line 242 of file KVPIDIntervalPainter.h.

◆ GetHistoXAxisLowerLimit()

Double_t KVPIDIntervalPainter::GetHistoXAxisLowerLimit ( ) const
inline

Definition at line 247 of file KVPIDIntervalPainter.h.

◆ GetHistoXAxisUpperLimit()

Double_t KVPIDIntervalPainter::GetHistoXAxisUpperLimit ( ) const
inline

Definition at line 251 of file KVPIDIntervalPainter.h.

◆ GetInterval()

interval * KVPIDIntervalPainter::GetInterval ( ) const
inline

Definition at line 238 of file KVPIDIntervalPainter.h.

◆ GetPIDIntervalLowerLimit()

double KVPIDIntervalPainter::GetPIDIntervalLowerLimit ( ) const
inline

Definition at line 260 of file KVPIDIntervalPainter.h.

◆ GetPIDIntervalUpperLimit()

double KVPIDIntervalPainter::GetPIDIntervalUpperLimit ( ) const
inline

Definition at line 264 of file KVPIDIntervalPainter.h.

◆ GetPIDPosition()

double KVPIDIntervalPainter::GetPIDPosition ( ) const
inline

Definition at line 268 of file KVPIDIntervalPainter.h.

◆ GetZ()

Int_t KVPIDIntervalPainter::GetZ ( )
inline

Definition at line 221 of file KVPIDIntervalPainter.h.

◆ HighLight()

void KVPIDIntervalPainter::HighLight ( bool  hi = true)

Definition at line 30 of file KVPIDIntervalPainter.cpp.

◆ IntMod()

void KVPIDIntervalPainter::IntMod ( )
inline

Definition at line 211 of file KVPIDIntervalPainter.h.

◆ set_left_interval()

void KVPIDIntervalPainter::set_left_interval ( KVPIDIntervalPainter i)
inline

Definition at line 157 of file KVPIDIntervalPainter.h.

◆ set_right_interval()

void KVPIDIntervalPainter::set_right_interval ( KVPIDIntervalPainter i)
inline

Definition at line 153 of file KVPIDIntervalPainter.h.

◆ SetCanvas()

void KVPIDIntervalPainter::SetCanvas ( TCanvas cc)
inline

Definition at line 215 of file KVPIDIntervalPainter.h.

◆ SetDisplayLabel()

void KVPIDIntervalPainter::SetDisplayLabel ( bool  dis = true)
inline

Definition at line 230 of file KVPIDIntervalPainter.h.

◆ Update()

void KVPIDIntervalPainter::Update ( )

updates the name & title from the interval's current Z & A

updates the positions of the marker & lines from current values

Definition at line 46 of file KVPIDIntervalPainter.cpp.

Friends And Related Symbol Documentation

◆ pid_marker

friend class pid_marker
friend

Definition at line 132 of file KVPIDIntervalPainter.h.

Member Data Documentation

◆ active_intervals

Bool_t KVPIDIntervalPainter::active_intervals = true
private

Definition at line 150 of file KVPIDIntervalPainter.h.

◆ fA

Int_t KVPIDIntervalPainter::fA
private

Definition at line 139 of file KVPIDIntervalPainter.h.

◆ fCanvas

TCanvas* KVPIDIntervalPainter::fCanvas = nullptr
private

Definition at line 148 of file KVPIDIntervalPainter.h.

◆ fInterval

interval* KVPIDIntervalPainter::fInterval = nullptr
private

Definition at line 135 of file KVPIDIntervalPainter.h.

◆ fLine1

pid_line KVPIDIntervalPainter::fLine1
private

represents lower limit of PID for interval

Definition at line 142 of file KVPIDIntervalPainter.h.

◆ fLine2

pid_line KVPIDIntervalPainter::fLine2
private

represents upper limit of PID for interval

Definition at line 143 of file KVPIDIntervalPainter.h.

◆ fLinearHisto

TH1* KVPIDIntervalPainter::fLinearHisto = nullptr
private

Definition at line 134 of file KVPIDIntervalPainter.h.

◆ fMarker

pid_marker KVPIDIntervalPainter::fMarker
private

represents position of PID for interval

Definition at line 141 of file KVPIDIntervalPainter.h.

◆ fXaxis

TAxis* KVPIDIntervalPainter::fXaxis {nullptr}
private

Definition at line 136 of file KVPIDIntervalPainter.h.

◆ fYaxis

TAxis * KVPIDIntervalPainter::fYaxis {nullptr}
private

Definition at line 136 of file KVPIDIntervalPainter.h.

◆ fZ

Int_t KVPIDIntervalPainter::fZ
private

Definition at line 139 of file KVPIDIntervalPainter.h.

◆ left_interval

KVPIDIntervalPainter* KVPIDIntervalPainter::left_interval = nullptr
private

Definition at line 145 of file KVPIDIntervalPainter.h.

◆ max

double KVPIDIntervalPainter::max
private

Definition at line 138 of file KVPIDIntervalPainter.h.

◆ min

double KVPIDIntervalPainter::min
private

Definition at line 138 of file KVPIDIntervalPainter.h.

◆ pid

double KVPIDIntervalPainter::pid
private

Definition at line 138 of file KVPIDIntervalPainter.h.

◆ right_interval

KVPIDIntervalPainter* KVPIDIntervalPainter::right_interval = nullptr
private

Definition at line 146 of file KVPIDIntervalPainter.h.