Diana Software
Public Member Functions | Protected Attributes | List of all members
QDianaLabel Class Reference
Inheritance diagram for QDianaLabel:

Public Member Functions

 QDianaLabel (double x1, double y1, double x2, double y2, int bordersize=4, const char *ExpName="DIANA", double Exposure=-1, bool isPrelim=true, const char *options="br")
 
virtual ~QDianaLabel ()
 
virtual void Draw (const char *option="NDC")
 
virtual TString GetSecondLine () const
 
virtual void SetExperimentColor (Int_t Color)
 
virtual void SetDataColor (Int_t Color)
 
virtual void SetExposure (Double_t Exp)
 
virtual void SetPrelim (bool isPrelim)
 
virtual void SetSecondLine (const char *SecondLine)
 
virtual void Paint (const char *option)
 
virtual void PaintPrimitives ()
 
virtual void SetIsIsotpicExposure (bool Val)
 

Protected Attributes

TString fExperimentName
 
TString fSecondLine
 
double fExposure
 
bool fIsPrelim
 
bool fIsIsoExp
 
int fExperimentColor
 
int fDataColor
 
TLatex * fExperimentLine
 
TLatex * fExposureLine
 

Detailed Description

Definition at line 9 of file QDianaLabel.hh.

Constructor & Destructor Documentation

◆ QDianaLabel()

QDianaLabel::QDianaLabel ( double  x1,
double  y1,
double  x2,
double  y2,
int  bordersize = 4,
const char *  ExpName = "DIANA",
double  Exposure = -1,
bool  isPrelim = true,
const char *  options = "br" 
)

◆ ~QDianaLabel()

QDianaLabel::~QDianaLabel ( )
virtual

Definition at line 31 of file QDianaLabel.cc.

References fExperimentLine, and fExposureLine.

Member Function Documentation

◆ Draw()

void QDianaLabel::Draw ( const char *  option = "NDC")
virtual

Definition at line 35 of file QDianaLabel.cc.

References fExperimentLine, fExposure, and fExposureLine.

◆ GetSecondLine()

TString QDianaLabel::GetSecondLine ( ) const
virtual

Definition at line 41 of file QDianaLabel.cc.

References fExposure, fIsIsoExp, and fSecondLine.

Referenced by PaintPrimitives().

◆ Paint()

void QDianaLabel::Paint ( const char *  option)
virtual

Definition at line 51 of file QDianaLabel.cc.

References PaintPrimitives().

◆ PaintPrimitives()

void QDianaLabel::PaintPrimitives ( )
virtual

◆ SetDataColor()

virtual void QDianaLabel::SetDataColor ( Int_t  Color)
inlinevirtual

Definition at line 24 of file QDianaLabel.hh.

References fDataColor.

◆ SetExperimentColor()

virtual void QDianaLabel::SetExperimentColor ( Int_t  Color)
inlinevirtual

Definition at line 22 of file QDianaLabel.hh.

References fExperimentColor.

◆ SetExposure()

virtual void QDianaLabel::SetExposure ( Double_t  Exp)
inlinevirtual

Definition at line 26 of file QDianaLabel.hh.

References fExposure.

◆ SetIsIsotpicExposure()

virtual void QDianaLabel::SetIsIsotpicExposure ( bool  Val)
inlinevirtual

Definition at line 37 of file QDianaLabel.hh.

References fIsIsoExp.

◆ SetPrelim()

virtual void QDianaLabel::SetPrelim ( bool  isPrelim)
inlinevirtual

Definition at line 28 of file QDianaLabel.hh.

References fIsPrelim.

◆ SetSecondLine()

virtual void QDianaLabel::SetSecondLine ( const char *  SecondLine)
inlinevirtual

Definition at line 30 of file QDianaLabel.hh.

References fSecondLine.

Member Data Documentation

◆ fDataColor

int QDianaLabel::fDataColor
protected

Definition at line 53 of file QDianaLabel.hh.

Referenced by PaintPrimitives(), and SetDataColor().

◆ fExperimentColor

int QDianaLabel::fExperimentColor
protected

Definition at line 51 of file QDianaLabel.hh.

Referenced by PaintPrimitives(), and SetExperimentColor().

◆ fExperimentLine

TLatex* QDianaLabel::fExperimentLine
protected

Definition at line 55 of file QDianaLabel.hh.

Referenced by Draw(), PaintPrimitives(), and ~QDianaLabel().

◆ fExperimentName

TString QDianaLabel::fExperimentName
protected

Definition at line 41 of file QDianaLabel.hh.

Referenced by PaintPrimitives().

◆ fExposure

double QDianaLabel::fExposure
protected

Definition at line 45 of file QDianaLabel.hh.

Referenced by Draw(), GetSecondLine(), PaintPrimitives(), and SetExposure().

◆ fExposureLine

TLatex* QDianaLabel::fExposureLine
protected

Definition at line 57 of file QDianaLabel.hh.

Referenced by Draw(), PaintPrimitives(), and ~QDianaLabel().

◆ fIsIsoExp

bool QDianaLabel::fIsIsoExp
protected

Definition at line 49 of file QDianaLabel.hh.

Referenced by GetSecondLine(), and SetIsIsotpicExposure().

◆ fIsPrelim

bool QDianaLabel::fIsPrelim
protected

Definition at line 47 of file QDianaLabel.hh.

Referenced by PaintPrimitives(), and SetPrelim().

◆ fSecondLine

TString QDianaLabel::fSecondLine
protected

Definition at line 43 of file QDianaLabel.hh.

Referenced by GetSecondLine(), PaintPrimitives(), and SetSecondLine().


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