4#ifndef __KVPIDINTERVALPAINTER_H
5#define __KVPIDINTERVALPAINTER_H
16#include "KVIDZAFromZGrid.h"
34 bool fDrawLabel{
false};
35 bool fHighlight{
false};
#define RQ_OBJECT(sender_class)
#define ClassDef(name, id)
winID h TVirtualViewer3D TVirtualGLPainter p
char * Form(const char *fmt,...)
void Paint(Option_t *option="")
limit_t GetLimitType() const
bool CheckPosition(double x)
void ExecuteEvent(Int_t event, Int_t px, Int_t py)
KVPIDIntervalPainter * parent
void HighLight(bool hi=true)
bool IsUpperLimit() const
bool IsLowerLimit() const
pid_line(KVPIDIntervalPainter *p, double _pid, double ymin, double ymax, limit_t limit_type, Color_t itv_col)
KVPIDIntervalPainter * parent
bool GetDrawLabel() const
void SetDrawLabel(bool yes=true)
bool CheckPosition(double x)
Graphical representation of a PID interval in the KVIDZAFromZGrid mass assignation GUI.
KVPIDIntervalPainter * left_interval
void SetCanvas(TCanvas *cc)
Double_t GetHistoXAxisLowerLimit() const
KVPIDIntervalPainter(const char *name, const char *title)
KVPIDIntervalPainter(const TString &name, const TString &title)
double GetPIDIntervalUpperLimit() const
KVPIDIntervalPainter * get_left_interval() const
pid_line fLine1
represents lower limit of PID for interval
pid_marker fMarker
represents position of PID for interval
void DeactivateIntervals()
double GetPIDIntervalLowerLimit() const
KVPIDIntervalPainter * get_right_interval() const
KVPIDIntervalPainter * right_interval
void SetDisplayLabel(bool dis=true)
void HighLight(bool hi=true)
pid_line fLine2
represents upper limit of PID for interval
bool GetDisplayLabel() const
void set_right_interval(KVPIDIntervalPainter *i)
Double_t GetHistoXAxisUpperLimit() const
KVPIDIntervalPainter(interval *itv, TH1 *hh, Color_t itv_color, KVPIDIntervalPainter *last_interval)
double GetPIDPosition() const
interval * GetInterval() const
void set_left_interval(KVPIDIntervalPainter *i)
TCanvas * GetCanvas() const
virtual void SetLineWidth(Width_t lwidth)
virtual void SetLineColor(Color_t lcolor)
virtual Double_t GetBinCenter(Int_t bin) const
virtual void SetX2(Double_t x2)
virtual void SetX1(Double_t x1)
TObject * Remove(const TObjLinkPtr_t &lnk)
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual void Paint(Option_t *option="")
TList * GetListOfPrimitives() const override
void Modified(Bool_t flag=1) override
void SetPIDmin(double pidmin)
void SetPIDmax(double pidmax)