Analysis  version 7.0 - august 2014
GEVPlotProperties Class Reference

#include <GEVPlotProperties.hh>

Inheritance diagram for GEVPlotProperties:
GEVPlot

Public Member Functions

 GEVPlotProperties ()
 
 GEVPlotProperties (const GEVPlotProperties &original)
 
GEVPlotPropertiesoperator= (const GEVPlotProperties &original)
 
virtual ~GEVPlotProperties ()
 
void SetPlotOptions (const UInt_t opts)
 
UInt_t GetPlotOptions () const
 
void SetScalingMode (const Int_t m=0)
 
Int_t GetScalingMode () const
 
void SetScalingValue (const Double_t sc=1.)
 
Double_t GetScalingValue () const
 
 ClassDef (GEVPlotProperties, 0)
 

Protected Attributes

Int_t scale_mode
 Option d'échelle.
 
Double_t scale_value
 Valeur du paramètre d'échelle.
 
UInt_t plot_options
 Options de tracé
 

Private Types

enum  SpectrumPlotScaling { scaleNone = 0, scaleNormalize = 1, scaleFactor = 2, scaleMaximum = 3 }
 Identification des modes de mise à l'échelle.
 

Private Member Functions

 GObject (GEVPlotProperties)
 

Friends

class GEVPad
 

Detailed Description

Cette classe contient l'ensemble des informations relatives au tracé d'un spectre dans une zone graphique donnée (un même spectre peut être affiché dans plusieurs zones avec des propriétés différentes):

  • attributs de ligne
  • attributs de remplissage
  • options de tracé

La plupart des options de tracé concernent les spectres bidimensionnels et certaines ne peuvent être utilisées que lorsqu'un seul spectre est tracé dans la zone graphique.

Constructor & Destructor Documentation

GEVPlotProperties::GEVPlotProperties ( const GEVPlotProperties original)

Constructeur de recopie.

Parameters
originalinstance à recoper

References plot_options, scale_mode, and scale_value.

GEVPlotProperties::~GEVPlotProperties ( )
virtual

Destructeur.

Member Function Documentation

GEVPlotProperties::GObject ( GEVPlotProperties  )
private

Macro from GCpp library that defines the following functions:

  • ClassName(): return the real class name of the object
  • StaticClassName(): return the used class name of the object (that may be a base class of the real object).
  • IsInstanceOf<T>(): return true if the current object is an instance of the template class name argument
  • Clone(): return an allocated copy of the object.
GEVPlotProperties & GEVPlotProperties::operator= ( const GEVPlotProperties original)

Opérateur d'affectation.

Parameters
originalinstance à affecter

References plot_options, scale_mode, and scale_value.

void GEVPlotProperties::SetPlotOptions ( const UInt_t  opts)
inline

Définit les options de tracé de l'histogramme associé au spectre.

Parameters
optsoptions

References plot_options.

Referenced by GEVPlotPropertiesEditor::PlotModeChanged(), GEVPlot::Read(), and GEVPagePlotsModeEditor::Set().

UInt_t GEVPlotProperties::GetPlotOptions ( ) const
inline

Retourne les options de tracé de l'histogramme associé au spectre.

References plot_options.

Referenced by GEVPad::GetPlotOptions().

void GEVPlotProperties::SetScalingMode ( const Int_t  m = 0)
inline

Définit s'il faut appliquer un facteur d'échelle au tracé.

Parameters
mtype de facteur d'échelle

References scale_mode.

Referenced by GEVPlot::Read(), and GEVPlotPropertiesEditor::ScaleModeChanged().

Int_t GEVPlotProperties::GetScalingMode ( ) const
inline

Retourne vrai s'il faut appliquer un facteur d'échelle au tracé.

References scale_mode.

Referenced by GEVPlotPropertiesEditor::Construct(), and GEVPad::Update().

void GEVPlotProperties::SetScalingValue ( const Double_t  sc = 1.)
inline

Définit le paramètre d'échelle pour le tracé du spectre.

Parameters
scparamètre d'échelle

References scale_value.

Referenced by GEVPlot::Read(), and GEVPlotPropertiesEditor::ScaleTextChanged().

Double_t GEVPlotProperties::GetScalingValue ( ) const
inline

Retourne le paramètre d'échelle pour le tracé du spectre.

References scale_value.

Referenced by GEVPlotPropertiesEditor::Construct(), and GEVPad::Update().

GEVPlotProperties::ClassDef ( GEVPlotProperties  ,
 
)

Définition à usage de ROOT...


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