#include <FunctionRep.h>
Inheritance diagram for FunctionRep:
Definition at line 34 of file FunctionRep.h.
Public Types | |
typedef void(Observer::*) | Action (const Observable *) |
The member function of the Observer that is called. | |
typedef std::list< Observer * > | ObserverList_t |
The type of STL container to maintain list of Observer objects. | |
Public Member Functions | |
virtual bool | acceptFunction (int number) |
Returns true if the DataRep accepts functions on number variables. | |
void | addCut () |
Adds a cut to the data representation. | |
void | addCut (const TupleCut &cut) |
Adds a cut to the data representation. | |
void | addObserver (Observer *) |
Adds an Observer to the Observer list. | |
virtual void | addToComposite (FunctionRep *frep) |
Adds the function representation to composite if receiving object is a CompositeFunctionRep, otherwise does nothing. | |
virtual void | addValues (const std::vector< double > &v) |
Add the data values to the DataRep. | |
virtual DataRep * | clone () |
The clone function returns an object of its own kind which is a copy of this object at this moment. | |
const std::vector< std::vector< double > > & | covarianceMatrix () const |
Returns the covariance matrix of the function to the target DataSource. | |
NTuple * | createNTuple () const |
Returns a new NTuple representation of the receiving object. | |
NTuple * | createNTupleUnderRegion () const |
Returns a NTuple that is a copy of the projector's DataSource with rows not passing region cuts removed. | |
int | degreesOfFreedom () const |
Returns the number of degrees of Freedom of the function fitting to the target DataSource. | |
virtual void | drawProjectedValues (TransformBase *transform, ViewBase *view) |
Draws the projected values. | |
virtual void | fillColumnAfterCuts (const std::string &column, std::vector< double > &columnData) const |
Fills a vector with named column data with the current set of cuts applied. | |
virtual void | fillFunctionParameters (std::vector< FunctionParameter > &) const |
Fills the vector with the parameters and constraints of the function. | |
bool | fitFunction () |
Fits the contained function to the data points from the target projector. | |
const std::string & | functionName () const |
Returns the name of the contained function. | |
RepBase * | getCutRep () |
Returns the point representation that draws the cuts. | |
const std::vector< TupleCut > & | getCuts () const |
Returns a reference to the cut list. | |
Fitter * | getFitter () const |
Returns the Fitter object currently in use. | |
const std::string & | getFitterName () const |
Returns the name of the Fitter object. | |
const std::vector< int > & | getFixedFlags () const |
Returns a set of flags indicating which function parameters are fixed during a fit. | |
FunctionBase * | getFunction () const |
Returns the actual function, a FunctionBase derived class. | |
bool | getIgnoreErrors () const |
Get ignore errors. | |
virtual double | getMean (const std::string &axis) |
Returns the mean. | |
virtual NTuple * | getNTupleAfterCuts () const |
Returns the full NTuple but with the current set of cuts applied. | |
int | getNumberOfEntries () const |
Returns the number of entries used for the DataRep object. | |
const ObserverList_t & | getObservers () const |
Returns the list of observers. | |
virtual DataRep * | getParentDataRep () const |
Gets the parent DataRep. | |
double | getPosRange (Axes::Type axis) |
Returns the smallest positive number from in the range of the data. | |
virtual const DataSource * | getProjectedValues () const |
Returns an DataSource representation of the projected data. | |
virtual ProjectorBase * | getProjector () const |
Returns the Projector object controlling the data. | |
const Color & | getRepColor () const |
Returns the color used for the representation. | |
RepBase * | getRepresentation () const |
Returns the representation used to draw the data points. | |
virtual double | getRMS (const std::string &axis) |
Returns the RMS. | |
DataRep * | getTarget () const |
Returns the DataRep object upon which the function is applied. | |
const std::string & | getTitle () const |
Returns the the current title of the object. | |
virtual bool | hasAxis (Axes::Type axis) const |
Returns true if the data representation has specified axis type axis. | |
bool | hasCut () const |
Returns true if the receiving object has one or more regional cuts. | |
virtual bool | hasErrorDisplay () const |
Returns true if the data representation is capable of error display on the data values. | |
virtual bool | hasNTupleBindings () const |
Returns false as this class does not have DataSource bindings. | |
virtual bool | hasZeroRows () |
Returns true if this DataRep has zero rows in its DataSource. | |
bool | hasZoomY () const |
Returns true . | |
void | initializeWith (DataRep *) |
Sets the target and Initializes the function with the projected values of the DataRep. | |
bool | isAxisBinned (Axes::Type axis) const |
Returns true if the specified axis is binned, otherwise returns false . | |
bool | isComposite () const |
Returns true if represented function is a composite of two or more functions. | |
bool | isDirty () const |
Return true if the data representation has changed is some way and it needs to be re-drawn. | |
bool | isErrorDisplayed (Axes::Type) const |
Returns true if the error bars are being displayed. | |
virtual bool | isImageConvertable () const |
Returns true if the receiving object can be converted to an image. | |
bool | isInComposite () const |
Returns true if receiving object is member of a composite. | |
virtual bool | isSelected () const |
Returns true if data representation is in selected state. | |
virtual bool | isTargetable () const |
Returns false . | |
virtual void | matrixTranspose (bool yes) |
Transposes the X and Y axis. | |
const std::string & | name () const |
Returns the name of the display. | |
virtual bool | needColorRep () const |
Determines if extra space is needed for a color rep. | |
virtual bool | needsMatrixSet () const |
Returns true if this data representation needs an XY matrix parameters to be set in order to display itself. | |
virtual void | normalizeTo (const DataRep *target) |
Normalizes the receiving object to the target one. | |
virtual void | notifyObservers () const |
Notifies Observer objects of a change. | |
double | objectiveValue () const |
Returns the objective value of the function to the target DataSource. | |
const std::vector< double > & | parameters () const |
Returns the current function parameter values. | |
const std::vector< std::string > & | parmNames () const |
Returns the names of the parameters for the function represented by this object. | |
Range | preferredRange (Axes::Type axis) const |
Returns the preferred range to display the data. | |
const std::vector< double > & | principleErrors () const |
Returns the principle errors associated with the parameter values. | |
void | removeCut () |
Removes the cut region from the fitting. | |
virtual void | removeFromComposite (FunctionRep *frep) |
Removes the function representation from composite if receiving object is a CompositeFunctionRep, otherwise does nothing. | |
void | removeObserver (Observer *) |
Removes an Observer from the Observer list. | |
void | restoreParameters () |
Restores the saved parameters. | |
void | saveParameters () |
Saves the function parameters in a cache so that they can be restored. | |
void | set (Color::Value value) |
Sets the Color of the PointRepBase object. | |
virtual void | setAxisBinding (const std::string &axis, const std::string &label) |
Sets the axis binding. | |
virtual void | setAxisBindings (const std::vector< std::string > &bindings) |
Sets the axis bindings. | |
void | setAxisModel (Axes::Type axis, AxisModelBase *) |
Sets the AxisModel for axis axis. | |
const Range & | setBinWidth (Axes::Type axis, double width) |
Sets the bin width, if binned, on specified axis to width. | |
void | setCutRange (bool yes=true) |
Sets use of a fitting range. | |
void | setCutRange (const Range &) |
Sets the cut to limit range of fitting. | |
void | setCutRangeAt (const Range &range, unsigned int i) |
Sets the Range of the TupleCut index by i. | |
virtual void | setDirty (bool yes=true) |
Sets the dirty flag. | |
void | setEnabled (unsigned int i, bool yes=true) |
Sets the TupleCut indexed by i to be enabled or not. | |
void | setErrorDisplay (Axes::Type axis, bool) |
Sets the display of error bar, if applicable, on the specified axis. | |
bool | setFitter (Fitter *fitter) |
Sets the Fitter to fitter. | |
virtual void | setFixedFlags (const std::vector< int > &flags) |
Set the parameters that are to be held fixed during a fit. | |
void | setIgnoreError (bool ignore) |
Set ignore errors. | |
void | setInComposite (bool yes) |
Informs receiving object that it is a member of a composite. | |
void | setParameters (const std::vector< double > ¶ms) |
Set the parameter values by hand. | |
virtual void | setParentDataRep (DataRep *parent_datarep) |
Sets the parent DataRep. | |
virtual void | setPointRep (RepBase *pointrep) |
Sets the representation of the data points. | |
void | setPrincipleErrors (std::vector< double >::const_iterator begin, std::vector< double >::const_iterator end) |
Sets the principle errors. | |
void | setRange (Axes::Type axis, bool const_width=true) |
Sets the range of the axis. | |
void | setRepColor (const Color &) |
Sets the color of the data representation. | |
void | setRepSize (double size) |
Sets the size of the representation. | |
void | setRepStyle (int style) |
Sets the style type of the point representation. | |
virtual void | setSelected (bool yes=true) |
Sets the data representation as selected. | |
void | setTarget (DataRep *rep) |
Sets the target for the FunctionRep. | |
void | setTitle (const std::string &title) |
Sets the title. | |
void | setTupleCut () |
Sets up the region over which fitting will be done. | |
void | toggleInverted (unsigned int i) |
Changes state of inversion flag to be the opposite of its current state. | |
virtual void | update () |
Updates the data representation. | |
virtual void | update (const Observable *) |
Responds to update message from the data source. | |
void | willDelete (const Observable *observed) |
Implements Observer pattern by removing the DataRep from its target. | |
virtual | ~FunctionRep () |
The virtual destructor. | |
Protected Member Functions | |
void | drawCuts (TransformBase *transform, ViewBase *view) |
Draws the cuts. | |
FunctionRep (const FunctionRep &) | |
The copy constructor. | |
FunctionRep (FunctionBase *function, DataRep *rep) | |
The constructor taking the target DataRep object for the data. | |
void | notifyObservers (Action action) const |
An internal method to iterate over all observers and to send the message action. | |
void | throwRangeException () |
Throws exception with message saying argument is out of range. | |
Protected Attributes | |
CutRangeRep * | m_cut_rep |
The representation of the cut or highlighted range. | |
std::string | m_name |
The name of the display as it might be displayed in a GUI. | |
DataRep * | m_parent_datarep |
There are times when a given DataRep results from some operations performed on some other DataRep. | |
ProjectorBase * | m_projector |
A projector used to transform data to projected values that will be plotted. | |
RepBase * | m_rep |
The representation used for drawing each data point in the view. | |
DataRep * | m_target |
The target for the function. | |
std::string | m_title |
The title of the object. | |
Private Attributes | |
bool | m_in_composite |
A flag which when set true indicates the receiving object is a member of a composite. |
typedef void( Observer::*) Action(const Observable *) [inherited] |
typedef std::list< Observer * > ObserverList_t [inherited] |
The type of STL container to maintain list of Observer objects.
Definition at line 45 of file Observable.h.
FunctionRep | ( | FunctionBase * | function, | |
DataRep * | rep | |||
) | [protected] |
The constructor taking the target DataRep object for the data.
Definition at line 37 of file FunctionRep.cxx.
References Observable::addObserver(), DataRep::getProjectedValues(), DataRep::getProjector(), DataRep::m_name, DataRep::m_projector, FunctionRep::m_target, and FunctionRep::saveParameters().
Referenced by FunctionRep::clone().
FunctionRep | ( | const FunctionRep & | ) | [protected] |
The copy constructor.
Definition at line 63 of file FunctionRep.cxx.
References FunctionRep::clone(), and DataRep::m_cut_rep.
~FunctionRep | ( | ) | [virtual] |
The virtual destructor.
Removes itself as an Observer of the target DataRep object.
Definition at line 70 of file FunctionRep.cxx.
References DataRep::getProjectedValues(), FunctionRep::m_target, and Observable::removeObserver().
bool acceptFunction | ( | int | number | ) | [virtual, inherited] |
Returns true
if the DataRep accepts functions on number variables.
The default implementation returns false
. Derived class should re-implement this member function if they accept functions of specified number of variables.
Reimplemented in DyHistogram, DyHistogramEqualEntries, Image, ProfileHist, ScatterPlot, St1DHistogram, St2DHistogram, StripChart, VariableMesh, XYPlot, and YPlot.
Definition at line 299 of file DataRep.cxx.
Referenced by Inspector::functionAdd().
void addCut | ( | ) | [inherited] |
Adds a cut to the data representation.
Definition at line 486 of file DataRep.cxx.
References DataRep::getProjector(), TupleCut::setColumn(), TupleCut::setLabel(), TupleCut::setRange(), and hippodraw::Axes::X.
Referenced by DataRep::addCut(), and FunctionRep::setCutRange().
void addCut | ( | const TupleCut & | cut | ) | [inherited] |
Adds a cut to the data representation.
Definition at line 464 of file DataRep.cxx.
References DataRep::addCut(), DataRep::m_cut_rep, and DataRep::setDirty().
void addObserver | ( | Observer * | ) | [inherited] |
Adds an Observer to the Observer list.
Definition at line 52 of file Observable.cxx.
References Observable::m_list.
Referenced by XyPlotter::addDataRep(), FunctionRep::FunctionRep(), BinningProjector::normalizeTo(), DataRepController::setAxisBindings(), DisplayController::setNTuple(), CutPlotter::setNTuple(), and TextPlotter::setParentDataRep().
void addToComposite | ( | FunctionRep * | frep | ) | [virtual] |
Adds the function representation to composite if receiving object is a CompositeFunctionRep, otherwise does nothing.
Reimplemented in CompositeFunctionRep.
Definition at line 445 of file FunctionRep.cxx.
void addValues | ( | const std::vector< double > & | v | ) | [virtual, inherited] |
Add the data values to the DataRep.
This virtual method is provided as a convenience for those derived classes that respond to it. Nothing is done if this object has DataSource bindings. Otherwise the message is forward to its ProjectorBase object.
Definition at line 321 of file DataRep.cxx.
References DataRep::hasNTupleBindings(), and DataRep::m_projector.
Referenced by CompositePlotter::addValues().
DataRep * clone | ( | ) | [virtual] |
The clone function returns an object of its own kind which is a copy of this object at this moment.
Implements DataRep.
Reimplemented in FunctionRep1, and FunctionRep2.
Definition at line 81 of file FunctionRep.cxx.
References FunctionRep::FunctionRep().
Referenced by FunctionRep::FunctionRep().
const vector< vector< double > > & covarianceMatrix | ( | ) | const |
Returns the covariance matrix of the function to the target DataSource.
Definition at line 205 of file FunctionRep.cxx.
References DataRep::m_projector.
NTuple * createNTuple | ( | ) | const [inherited] |
Returns a new NTuple representation of the receiving object.
The possession of the NTuple is taken by the calling object.
Definition at line 419 of file DataRep.cxx.
References DataRep::m_projector, and ProjectorBase::prepareValues().
NTuple * createNTupleUnderRegion | ( | ) | const [inherited] |
Returns a NTuple that is a copy of the projector's DataSource with rows not passing region cuts removed.
Definition at line 344 of file DataRep.cxx.
References DataRep::getCuts(), DataRep::m_cut_rep, and DataRep::m_projector.
int degreesOfFreedom | ( | ) | const |
Returns the number of degrees of Freedom of the function fitting to the target DataSource.
Definition at line 215 of file FunctionRep.cxx.
References DataRep::m_projector.
void drawCuts | ( | TransformBase * | transform, | |
ViewBase * | view | |||
) | [protected, inherited] |
Draws the cuts.
If there are cuts, draws them.
Definition at line 290 of file DataRep.cxx.
References DataRep::drawProjectedValues(), DataRep::m_cut_rep, DataRep::m_projector, hippodraw::Axes::X, and hippodraw::Axes::Y.
Referenced by FunctionRep2::drawProjectedValues(), FunctionRep1::drawProjectedValues(), DataRep::drawProjectedValues(), and CompositeFunctionRep::drawProjectedValues().
void drawProjectedValues | ( | TransformBase * | transform, | |
ViewBase * | view | |||
) | [virtual, inherited] |
Draws the projected values.
. Each of the Projected Value objects will be drawn in view after a coordinate transform represented by transform using its m_rep object. Uses its Projector object to access the projected values stored in a DataSource. Some DataRep object may be dependent on the projected value objects are returned in a certain order.
Reimplemented in CompositeFunctionRep, FunctionRep1, FunctionRep2, and TextDataRep.
Definition at line 280 of file DataRep.cxx.
References DataRep::drawCuts(), DataRep::getProjectedValues(), and DataRep::m_rep.
Referenced by DataRep::drawCuts(), and CompositePlotter::drawProjValues().
void fillColumnAfterCuts | ( | const std::string & | column, | |
std::vector< double > & | columnData | |||
) | const [virtual, inherited] |
Fills a vector with named column data with the current set of cuts applied.
Definition at line 337 of file DataRep.cxx.
References ProjectorBase::fillColumnAfterCuts(), and DataRep::m_projector.
Referenced by PyDataRep::getColumnWithCuts().
void fillFunctionParameters | ( | std::vector< FunctionParameter > & | ) | const [virtual] |
Fills the vector with the parameters and constraints of the function.
Definition at line 421 of file FunctionRep.cxx.
References FunctionRep::getFixedFlags(), FunctionRep::parameters(), FunctionRep::parmNames(), and FunctionRep::principleErrors().
bool fitFunction | ( | ) |
Fits the contained function to the data points from the target projector.
Definition at line 180 of file FunctionRep.cxx.
References FunctionProjector::fitFunction(), DataRep::m_projector, and Observable::notifyObservers().
const string & functionName | ( | ) | const |
Returns the name of the contained function.
Definition at line 459 of file FunctionRep.cxx.
References FunctionRep::getFunction(), and DataRep::name().
RepBase * getCutRep | ( | ) | [inherited] |
Returns the point representation that draws the cuts.
Definition at line 552 of file DataRep.cxx.
References DataRep::m_cut_rep.
const vector< TupleCut > & getCuts | ( | ) | const [inherited] |
Returns a reference to the cut list.
Definition at line 505 of file DataRep.cxx.
References DataRep::m_cut_rep.
Referenced by DataRep::createNTupleUnderRegion(), FunctionRep::setCutRange(), and FunctionRep::setTupleCut().
Fitter * getFitter | ( | ) | const |
Returns the Fitter object currently in use.
Definition at line 163 of file FunctionRep.cxx.
References DataRep::m_projector.
Referenced by CompositeFunctionRep::addToComposite(), FunctionRep::getFitterName(), FunctionRep::getFixedFlags(), FunctionRep::getIgnoreErrors(), FunctionRep::setFixedFlags(), and FunctionRep::setIgnoreError().
const string & getFitterName | ( | ) | const |
Returns the name of the Fitter object.
Definition at line 173 of file FunctionRep.cxx.
References FunctionRep::getFitter(), and DataRep::name().
const vector< int > & getFixedFlags | ( | ) | const |
Returns a set of flags indicating which function parameters are fixed during a fit.
Definition at line 287 of file FunctionRep.cxx.
References FunctionRep::getFitter().
Referenced by CompositeFunctionRep::addToComposite(), FunctionRep::fillFunctionParameters(), and CompositeFunctionRep::setFixedFlags().
FunctionBase * getFunction | ( | ) | const |
Returns the actual function, a FunctionBase derived class.
Definition at line 101 of file FunctionRep.cxx.
References FunctionProjector::function(), and DataRep::m_projector.
Referenced by CompositeFunctionRep::addToComposite(), FunctionProjectorXML::createFunctionRep(), FunctionRep2::drawProjectedValues(), FunctionRep1::drawProjectedValues(), CompositeFunctionRep::drawProjectedValues(), FunctionRep::functionName(), FunctionRep::isComposite(), PyFunctionRep::operator()(), FunctionRep::parameters(), FunctionRep::parmNames(), CompositeFunctionRep::removeFromComposite(), and FunctionRep::setFitter().
bool getIgnoreErrors | ( | ) | const |
Get ignore errors.
Return true when there is no errors in the data points or ignore error is selected. Return false when there is error and ignore error is not selected.
Definition at line 320 of file FunctionRep.cxx.
References FunctionRep::getFitter().
double getMean | ( | const std::string & | axis | ) | [virtual, inherited] |
Returns the mean.
Returns the mean data points along the axis axis.
Definition at line 353 of file DataRep.cxx.
References hippodraw::String::convert(), DataRep::m_projector, and num_util::type().
NTuple * getNTupleAfterCuts | ( | ) | const [virtual, inherited] |
Returns the full NTuple but with the current set of cuts applied.
Definition at line 330 of file DataRep.cxx.
References ProjectorBase::getNTupleAfterCuts(), and DataRep::m_projector.
Referenced by PyDataRep::getNTupleWithCuts().
int getNumberOfEntries | ( | ) | const [inherited] |
Returns the number of entries used for the DataRep object.
Definition at line 405 of file DataRep.cxx.
References DataRep::m_projector.
const Observable::ObserverList_t & getObservers | ( | ) | const [inherited] |
Returns the list of observers.
Definition at line 60 of file Observable.cxx.
References Observable::m_list.
DataRep * getParentDataRep | ( | ) | const [virtual, inherited] |
Gets the parent DataRep.
Definition at line 78 of file DataRep.cxx.
References DataRep::m_parent_datarep.
Referenced by TextDataRep::getTargetProjector().
double getPosRange | ( | Axes::Type | axis | ) | [inherited] |
Returns the smallest positive number from in the range of the data.
Definition at line 172 of file DataRep.cxx.
References ProjectorBase::getPosOn(), and DataRep::m_projector.
const DataSource * getProjectedValues | ( | ) | const [virtual, inherited] |
Returns an DataSource representation of the projected data.
Definition at line 270 of file DataRep.cxx.
References DataRep::m_projector, and ProjectorBase::prepareValues().
Referenced by DataRep::drawProjectedValues(), FunctionRep::FunctionRep(), FunctionRep::setFitter(), FunctionRep::willDelete(), and FunctionRep::~FunctionRep().
ProjectorBase * getProjector | ( | ) | const [virtual, inherited] |
Returns the Projector object controlling the data.
Definition at line 138 of file DataRep.cxx.
References DataRep::m_projector.
Referenced by CompositePlotter::activeProjector(), DataRep::addCut(), DataRepController::bindingOptions(), CutController::connectDataRep(), Inspector::contourLevelsTextBox_returnPressed(), DataRepXML::createChildren(), DataRepXML::createObject(), FunctionRep::FunctionRep(), PyDataRep::getBinWidth(), DisplayController::getDataSource(), DisplayController::getDataSourceLabels(), CompositePlotter::getMinEntries(), DisplayController::getProjector(), CompositePlotter::getProjector(), TextDataRep::getTargetProjector(), CompositePlotter::getZValue(), FunctionRep::initializeWith(), CutController::linkCutAndRep(), DataRep::normalizeTo(), PyDataRep::numberOfEntries(), CompositePlotter::processReturnValue(), CutPlotter::removeFromTarget(), CutPlotter::setAxisBinding(), DataRepController::setAxisBindings(), DisplayController::setBinner(), FunctionRep::setCutRange(), and CutPlotter::setNTuple().
const Color & getRepColor | ( | ) | const [inherited] |
Returns the color used for the representation.
Definition at line 263 of file DataRep.cxx.
References RepBase::color(), and DataRep::m_rep.
Referenced by TextPlotter::repColor(), and CompositePlotter::repColor().
RepBase * getRepresentation | ( | ) | const [inherited] |
Returns the representation used to draw the data points.
Definition at line 234 of file DataRep.cxx.
References DataRep::m_rep.
Referenced by Inspector::contourLevelsTextBox_returnPressed(), Inspector::contourRadioButton1_toggled(), Inspector::contourSlider_valueChanged(), Inspector::contourTextBox_returnPressed(), DataRepXML::createChildren(), TextPlotter::representation(), CompositePlotter::representation(), CompositePlotter::toggleBoxEdge(), and Inspector::updatePlotTab().
double getRMS | ( | const std::string & | axis | ) | [virtual, inherited] |
Returns the RMS.
Returns the root mean square of the data points along the axis axis.
Definition at line 362 of file DataRep.cxx.
References hippodraw::String::convert(), DataRep::m_projector, and num_util::type().
DataRep * getTarget | ( | ) | const |
Returns the DataRep object upon which the function is applied.
Definition at line 108 of file FunctionRep.cxx.
References FunctionRep::m_target.
Referenced by DataRepXML::createFunctionTargetChild().
const std::string & getTitle | ( | ) | const [inherited] |
Returns the the current title of the object.
Definition at line 437 of file DataRep.cxx.
References DataRep::m_projector, and DataRep::m_title.
bool hasAxis | ( | Axes::Type | axis | ) | const [virtual, inherited] |
Returns true
if the data representation has specified axis type axis.
Reimplemented in ColorPlot, ContourPlot, DyHistogram, DyHistogramEqualEntries, FunctionRep1, FunctionRep2, Image, LineDataRep, Profile2D, ProfileContour, ProfileHist, ScatterPlot, St1DHistogram, St2DHistogram, StripChart, TextDataRep, VariableMesh, XYPlot, XYZPlot, and YPlot.
Definition at line 455 of file DataRep.cxx.
Referenced by DataRep::needColorRep().
bool hasCut | ( | ) | const [inherited] |
Returns true
if the receiving object has one or more regional cuts.
Definition at line 514 of file DataRep.cxx.
References DataRep::m_cut_rep.
Referenced by FunctionRep::setTupleCut().
bool hasErrorDisplay | ( | ) | const [virtual, inherited] |
Returns true
if the data representation is capable of error display on the data values.
The implementation in this base class returns false
. This member function should be overridden by derived classes capable of displaying errors on the data points.
Reimplemented in DyHistogram, DyHistogramEqualEntries, ProfileHist, St1DHistogram, VariableMesh, and XYPlot.
Definition at line 90 of file DataRep.cxx.
bool hasNTupleBindings | ( | ) | const [virtual] |
Returns false
as this class does not have DataSource bindings.
Reimplemented from DataRep.
Definition at line 86 of file FunctionRep.cxx.
bool hasZeroRows | ( | ) | [virtual, inherited] |
Returns true if this DataRep has zero rows in its DataSource.
Returns false if the projector is not an NTupleProjector.
Definition at line 304 of file DataRep.cxx.
References ProjectorBase::isEmpty(), and DataRep::m_projector.
Referenced by DisplayController::addDataRep(), and Inspector::updateDataCutsTab().
bool hasZoomY | ( | ) | const [virtual] |
Returns true
.
Returns true
so that it will not turn off the Y zooming properties of the DataRep it is attached to.
Reimplemented from DataRep.
Definition at line 414 of file FunctionRep.cxx.
void initializeWith | ( | DataRep * | ) |
Sets the target and Initializes the function with the projected values of the DataRep.
Definition at line 91 of file FunctionRep.cxx.
References DataRep::getProjector(), FunctionProjector::initializeFunction(), DataRep::m_projector, and FunctionRep::m_target.
bool isAxisBinned | ( | Axes::Type | axis | ) | const [inherited] |
Returns true
if the specified axis is binned, otherwise returns false
.
Definition at line 371 of file DataRep.cxx.
References DataRep::m_projector, hippodraw::Axes::X, and hippodraw::Axes::Y.
Referenced by FunctionRep::setFitter().
bool isComposite | ( | ) | const |
Returns true
if represented function is a composite of two or more functions.
Definition at line 118 of file FunctionRep.cxx.
References FunctionRep::getFunction(), and FunctionBase::isComposite().
bool isDirty | ( | ) | const [inherited] |
Return true
if the data representation has changed is some way and it needs to be re-drawn.
Definition at line 165 of file DataRep.cxx.
References ProjectorBase::isDirty(), and DataRep::m_projector.
bool isErrorDisplayed | ( | Axes::Type | ) | const [inherited] |
Returns true if the error bars are being displayed.
Definition at line 197 of file DataRep.cxx.
References DataRep::m_rep, hippodraw::Axes::X, RepBase::xError(), hippodraw::Axes::Y, and RepBase::yError().
Referenced by CompositePlotter::errorDisplay().
bool isImageConvertable | ( | ) | const [virtual, inherited] |
Returns true
if the receiving object can be converted to an image.
Returns true
if this data representation can be converted to an image. An image is defined as a regular grid of values.
Definition at line 566 of file DataRep.cxx.
References DataRep::m_projector.
bool isInComposite | ( | ) | const |
Returns true
if receiving object is member of a composite.
Definition at line 126 of file FunctionRep.cxx.
References FunctionRep::m_in_composite.
bool isSelected | ( | ) | const [virtual, inherited] |
Returns true
if data representation is in selected state.
Definition at line 160 of file DataRep.cxx.
References RepBase::isSelected(), and DataRep::m_rep.
Referenced by DataRep::setSelected().
bool isTargetable | ( | ) | const [virtual] |
Returns false
.
A function is not meant to be a target of another DataRep object.
Reimplemented from DataRep.
Definition at line 333 of file FunctionRep.cxx.
void matrixTranspose | ( | bool | yes | ) | [virtual, inherited] |
Transposes the X and Y axis.
If internal representation of the X-Y matrix is represented by a vector with shape, then transpose the X and Y axis. Otherwise do nothing.
Definition at line 121 of file DataRep.cxx.
References DataRep::m_projector.
Referenced by CompositePlotter::matrixTranspose().
const string & name | ( | ) | const [inherited] |
Returns the name of the display.
See m_name.
Definition at line 72 of file DataRep.cxx.
References DataRep::m_name.
Referenced by DataRepXML::createElement(), FunctionRep::functionName(), FunctionRep::getFitterName(), DisplayController::getType(), XYPlot::hasErrorDisplay(), PlotTable::initialize(), PyDataRep::name(), DyHistogramEqualEntries::setPointRep(), DyHistogram::setPointRep(), XYPlot::setRepresentation(), and PyDataRep::setWeight().
bool needColorRep | ( | ) | const [virtual, inherited] |
Determines if extra space is needed for a color rep.
Definition at line 448 of file DataRep.cxx.
References DataRep::hasAxis(), and hippodraw::Axes::Z.
bool needsMatrixSet | ( | ) | const [virtual, inherited] |
Returns true
if this data representation needs an XY matrix parameters to be set in order to display itself.
An example would be the Image DataRep. The implementation in this base class returns false
.
Reimplemented in Image.
Definition at line 559 of file DataRep.cxx.
void normalizeTo | ( | const DataRep * | target | ) | [virtual, inherited] |
Normalizes the receiving object to the target one.
Definition at line 389 of file DataRep.cxx.
References DataRep::getProjector(), and DataRep::m_projector.
void notifyObservers | ( | Action | action | ) | const [protected, inherited] |
An internal method to iterate over all observers and to send the message action.
Definition at line 72 of file Observable.cxx.
References Observable::m_list.
void notifyObservers | ( | ) | const [virtual, inherited] |
Notifies Observer objects of a change.
If interval counting is disabled, then Observer::Update is sent immediately. If interval counting is enabled, then the current count is incremented. If the current count is equal to the interval count, then the Observer::update message is sent and the current count reset to 0.
Reimplemented in NTuple, FitsNTuple, NumArrayTuple, ListTuple, and RootNTuple.
Definition at line 93 of file Observable.cxx.
References Observer::update().
Referenced by XyPlotter::addDataRep(), XyPlotter::addDataRepStacked(), FunctionController::addFunctionRep(), StHist2DProjector::addValues(), StHist1DProjector::addValues(), XyPlotter::autoScale(), Inspector::contourLevelsTextBox_returnPressed(), Inspector::contourSlider_valueChanged(), Inspector::contourTextBox_returnPressed(), FunctionRep::fitFunction(), RootNTuple::notifyObservers(), NumArrayTuple::notifyObservers(), NTuple::notifyObservers(), ListTuple::notifyObservers(), FitsNTuple::notifyObservers(), XyPlotter::removeDataRep(), FunctionRep::restoreParameters(), DataRep::set(), CutPlotter::setActive(), PlotterBase::setAspectRatio(), XyPlotter::setAutoRanging(), XyPlotter::setBoxEdge(), QtDisplay::setContourLevels(), CutPlotter::setCutColor(), XyPlotter::setCutEnabled(), XyPlotter::setCutInverted(), XyPlotter::setCutRangeAt(), ProjectorBase::setDirty(), DataRep::setErrorDisplay(), XyPlotter::setHighRange(), XyPlotter::setLabel(), PlotterBase::setLabel(), DataSource::setLabelAt(), DataSource::setLabels(), XyPlotter::setLowRange(), DataSource::setName(), DisplayController::setNTuple(), FunctionRep::setParameters(), DyHistogramEqualEntries::setPointRep(), DyHistogram::setPointRep(), DataRep::setPointRep(), TextPlotter::setRepColor(), DataRep::setRepColor(), DataRep::setRepSize(), DataRep::setRepStyle(), XyPlotter::setReverse(), XyPlotter::setScaling(), XyPlotter::setShowGrid(), PlotterBase::setTitle(), DataSource::setTitle(), XyPlotter::setTransform(), XyPlotter::setValueRep(), PlotterBase::update(), NTupleProjector::update(), DataRep::update(), CutPlotter::update(), BinningProjector::update(), CutPlotter::updateTargets(), DataRep::~DataRep(), DataSource::~DataSource(), NTuple::~NTuple(), PlotterBase::~PlotterBase(), RootNTuple::~RootNTuple(), and RTuple::~RTuple().
double objectiveValue | ( | ) | const |
Returns the objective value of the function to the target DataSource.
Definition at line 196 of file FunctionRep.cxx.
References DataRep::m_projector.
const vector< double > & parameters | ( | ) | const |
Returns the current function parameter values.
Definition at line 278 of file FunctionRep.cxx.
References FunctionRep::getFunction(), and FunctionBase::getParameters().
Referenced by FunctionRep::fillFunctionParameters(), and PyFunctionRep::parameters().
const vector< string > & parmNames | ( | ) | const |
Returns the names of the parameters for the function represented by this object.
Definition at line 271 of file FunctionRep.cxx.
References FunctionRep::getFunction(), and FunctionBase::parmNames().
Referenced by FunctionRep::fillFunctionParameters(), and PyFunctionRep::parmNames().
Range preferredRange | ( | Axes::Type | axis | ) | const [inherited] |
Returns the preferred range to display the data.
Definition at line 179 of file DataRep.cxx.
References DataRep::m_projector, and ProjectorBase::preferredRange().
const vector< double > & principleErrors | ( | ) | const |
Returns the principle errors associated with the parameter values.
Definition at line 225 of file FunctionRep.cxx.
References DataRep::m_projector, and FunctionProjector::principleErrors().
Referenced by FunctionRep::fillFunctionParameters().
void removeCut | ( | ) |
Removes the cut region from the fitting.
Reimplemented from DataRep.
Definition at line 400 of file FunctionRep.cxx.
References DataRep::m_projector, FunctionRep::m_target, DataRep::removeCut(), and DataRep::setDirty().
void removeFromComposite | ( | FunctionRep * | frep | ) | [virtual] |
Removes the function representation from composite if receiving object is a CompositeFunctionRep, otherwise does nothing.
Reimplemented in CompositeFunctionRep.
Definition at line 452 of file FunctionRep.cxx.
void removeObserver | ( | Observer * | ) | [inherited] |
Removes an Observer from the Observer list.
Definition at line 66 of file Observable.cxx.
References Observable::m_list.
Referenced by BinningProjector::normalizeTo(), CutPlotter::removeFromTarget(), DisplayController::removeTextObservers(), NTupleProjector::setNTuple(), FunctionRep::willDelete(), FunctionRep::~FunctionRep(), and NTupleProjector::~NTupleProjector().
void restoreParameters | ( | ) |
Restores the saved parameters.
Definition at line 249 of file FunctionRep.cxx.
References DataRep::m_projector, Observable::notifyObservers(), and FunctionProjector::restoreParameters().
void saveParameters | ( | ) |
Saves the function parameters in a cache so that they can be restored.
Definition at line 233 of file FunctionRep.cxx.
References DataRep::m_projector, and FunctionProjector::saveParameters().
Referenced by FunctionProjectorXML::createFunctionRep(), and FunctionRep::FunctionRep().
void set | ( | Color::Value | value | ) | [inherited] |
Sets the Color of the PointRepBase object.
Definition at line 241 of file DataRep.cxx.
References DataRep::m_rep, and Observable::notifyObservers().
Referenced by Inspector::addDataRepButton_clicked().
void setAxisBinding | ( | const std::string & | axis, | |
const std::string & | label | |||
) | [virtual, inherited] |
Sets the axis binding.
Sets binding of the axis with name axis to the DataSource column with label label. If the derived class does not have DataSource bindings, then does nothing. Derived classes may also do further processing upon reception of this method.
Reimplemented in VariableMesh, and XYPlot.
Definition at line 102 of file DataRep.cxx.
References DataRep::hasNTupleBindings(), and DataRep::m_projector.
Referenced by XYPlot::setAxisBinding(), VariableMesh::setAxisBinding(), PyDataRep::setAxisBinding(), and PyDataRep::setWeight().
void setAxisBindings | ( | const std::vector< std::string > & | bindings | ) | [virtual, inherited] |
Sets the axis bindings.
Sets the binding of all axis to the DataSource column with the labels in the vector. If the derived class does not have DataSource bindings, then does nothing. Derived classes may also do further processing upon reception of this method.
Reimplemented in VariableMesh, and XYPlot.
Definition at line 112 of file DataRep.cxx.
References DataRep::hasNTupleBindings(), and DataRep::m_projector.
Referenced by XYPlot::setAxisBindings(), VariableMesh::setAxisBindings(), PyDataRep::setAxisBindings(), and DataRepController::setAxisBindings().
void setAxisModel | ( | Axes::Type | axis, | |
AxisModelBase * | ||||
) | [inherited] |
Sets the AxisModel for axis axis.
Definition at line 145 of file DataRep.cxx.
References DataRep::m_projector, and ProjectorBase::setAxisModel().
Referenced by CompositePlotter::addDataRep().
const Range & setBinWidth | ( | Axes::Type | axis, | |
double | width | |||
) | [inherited] |
Sets the bin width, if binned, on specified axis to width.
Definition at line 398 of file DataRep.cxx.
References DataRep::m_projector.
void setCutRange | ( | bool | yes = true |
) |
Sets use of a fitting range.
Definition at line 369 of file FunctionRep.cxx.
References DataRep::m_projector.
void setCutRange | ( | const Range & | ) |
Sets the cut to limit range of fitting.
Definition at line 340 of file FunctionRep.cxx.
References DataRep::addCut(), DataRep::getCuts(), DataRep::getProjector(), DataRep::m_cut_rep, DataRep::m_projector, FunctionRep::m_target, TupleCut::setLabel(), and TupleCut::setRange().
void setCutRangeAt | ( | const Range & | range, | |
unsigned int | i | |||
) | [inherited] |
Sets the Range of the TupleCut index by i.
Definition at line 529 of file DataRep.cxx.
References DataRep::m_cut_rep.
void setDirty | ( | bool | yes = true |
) | [virtual, inherited] |
Sets the dirty flag.
When set, the display may need to reinitialize itself before the next drawing.
Definition at line 133 of file DataRep.cxx.
References DataRep::m_projector, and ProjectorBase::setDirty().
Referenced by DataRep::addCut(), FunctionRep2::drawProjectedValues(), FunctionRep1::drawProjectedValues(), CompositeFunctionRep::drawProjectedValues(), CutController::linkCutAndRep(), FunctionRep::removeCut(), DataRep::removeCut(), DataRep::setSelected(), DataRep::update(), and CutPlotter::updateTargets().
void setEnabled | ( | unsigned int | i, | |
bool | yes = true | |||
) | [inherited] |
Sets the TupleCut indexed by i to be enabled or not.
Definition at line 545 of file DataRep.cxx.
References DataRep::m_cut_rep.
void setErrorDisplay | ( | Axes::Type | axis, | |
bool | ||||
) | [inherited] |
Sets the display of error bar, if applicable, on the specified axis.
Definition at line 186 of file DataRep.cxx.
References DataRep::m_rep, Observable::notifyObservers(), hippodraw::Axes::X, and hippodraw::Axes::Y.
Referenced by ProfileHist::ProfileHist(), XYPlot::setAxisBinding(), VariableMesh::setAxisBinding(), XYPlot::setAxisBindings(), VariableMesh::setAxisBindings(), PyDataRep::setErrorDisplay(), CompositePlotter::setErrorDisplay(), DyHistogramEqualEntries::setPointRep(), DyHistogram::setPointRep(), XYPlot::setRepresentation(), and VariableMesh::setRepresentation().
bool setFitter | ( | Fitter * | fitter | ) |
Sets the Fitter to fitter.
Returns true
if fitter is compatible, otherwise returns false
.
Definition at line 140 of file FunctionRep.cxx.
References FunctionRep::getFunction(), DataRep::getProjectedValues(), DataRep::isAxisBinned(), DataRep::m_projector, FunctionRep::m_target, and hippodraw::Axes::X.
void setFixedFlags | ( | const std::vector< int > & | flags | ) | [virtual] |
Set the parameters that are to be held fixed during a fit.
Reimplemented in CompositeFunctionRep.
Definition at line 265 of file FunctionRep.cxx.
References FunctionRep::getFitter().
Referenced by PyFunctionRep::setFixedFlags(), and CompositeFunctionRep::setFixedFlags().
void setIgnoreError | ( | bool | ignore | ) |
Set ignore errors.
Definition at line 296 of file FunctionRep.cxx.
References FunctionRep::getFitter().
void setInComposite | ( | bool | yes | ) |
Informs receiving object that it is a member of a composite.
Definition at line 133 of file FunctionRep.cxx.
References FunctionRep::m_in_composite.
Referenced by CompositeFunctionRep::addToComposite(), and CompositeFunctionRep::removeFromComposite().
void setParameters | ( | const std::vector< double > & | params | ) |
Set the parameter values by hand.
Definition at line 256 of file FunctionRep.cxx.
References DataRep::m_projector, Observable::notifyObservers(), and FunctionProjector::setParameters().
Referenced by PyFunctionRep::setParameters().
void setParentDataRep | ( | DataRep * | parent_datarep | ) | [virtual, inherited] |
Sets the parent DataRep.
Definition at line 84 of file DataRep.cxx.
References DataRep::m_parent_datarep.
Referenced by TextPlotter::willDelete().
void setPointRep | ( | RepBase * | pointrep | ) | [virtual, inherited] |
Sets the representation of the data points.
The pointrep replaces the existing one, and the existing one is then destroyed. Maybe be overridden in derive class to do additional processing.
Reimplemented in DyHistogram, and DyHistogramEqualEntries.
Definition at line 217 of file DataRep.cxx.
References Color::black, DataRep::m_rep, Observable::notifyObservers(), hippodraw::Axes::X, and hippodraw::Axes::Y.
Referenced by DataRepXML::createObject(), PyDataRep::setPointRep(), DyHistogramEqualEntries::setPointRep(), DyHistogram::setPointRep(), XYPlot::setRepresentation(), VariableMesh::setRepresentation(), TextPlotter::setRepresentation(), and CompositePlotter::setRepresentation().
void setPrincipleErrors | ( | std::vector< double >::const_iterator | begin, | |
std::vector< double >::const_iterator | end | |||
) |
Sets the principle errors.
Definition at line 241 of file FunctionRep.cxx.
References DataRep::m_projector.
void setRange | ( | Axes::Type | axis, | |
bool | const_width = true | |||
) | [inherited] |
Sets the range of the axis.
The optional const_width parameter if true
, tells binning projectors to hold a constant bin width parameter.
Definition at line 212 of file DataRep.cxx.
References DataRep::m_projector, and ProjectorBase::setRange().
void setRepColor | ( | const Color & | ) | [inherited] |
Sets the color of the data representation.
Definition at line 249 of file DataRep.cxx.
References DataRep::m_rep, Observable::notifyObservers(), and RepBase::setColor().
Referenced by TextPlotter::setRepColor(), and CompositePlotter::setRepColor().
void setRepSize | ( | double | size | ) | [inherited] |
Sets the size of the representation.
Definition at line 126 of file DataRep.cxx.
References DataRep::m_rep, Observable::notifyObservers(), and RepBase::setSize().
Referenced by DisplayController::setRepSize(), and Inspector::symbolPointSize_returnPressed().
void setRepStyle | ( | int | style | ) | [inherited] |
Sets the style type of the point representation.
Definition at line 256 of file DataRep.cxx.
References DataRep::m_rep, Observable::notifyObservers(), and RepBase::setStyle().
Referenced by PyDataRep::setLineStyle().
void setSelected | ( | bool | yes = true |
) | [virtual, inherited] |
Sets the data representation as selected.
Selection means the representations is drawn in its normal color, If representation is not selected, then it draws in a lighter shade.
Definition at line 150 of file DataRep.cxx.
References DataRep::isSelected(), DataRep::m_rep, DataRep::setDirty(), and RepBase::setSelected().
void setTarget | ( | DataRep * | rep | ) |
Sets the target for the FunctionRep.
Does not change the parameters.
Definition at line 113 of file FunctionRep.cxx.
References FunctionRep::m_target.
Referenced by PlotterBaseXML::handleFunction().
void setTitle | ( | const std::string & | title | ) | [inherited] |
Sets the title.
Sets the title of the object. A title might be used to annotate the display of the object. Setting the title to the string "%t" has the meaning of setting the object's default title. The default title is the one returned by ProjectorBase::getTitle().
Definition at line 430 of file DataRep.cxx.
References DataRep::m_title.
void setTupleCut | ( | ) |
Sets up the region over which fitting will be done.
Definition at line 380 of file FunctionRep.cxx.
References DataRep::getCuts(), DataRep::hasCut(), DataRep::m_projector, and FunctionRep::m_target.
void throwRangeException | ( | ) | [protected, inherited] |
Throws exception with message saying argument is out of range.
Definition at line 521 of file DataRep.cxx.
void toggleInverted | ( | unsigned int | i | ) | [inherited] |
Changes state of inversion flag to be the opposite of its current state.
Definition at line 536 of file DataRep.cxx.
References DataRep::m_cut_rep.
void update | ( | ) | [virtual, inherited] |
Updates the data representation.
Updates the data representation, however, derived classes are allowed to be lazy and not do the actual update until needed by drawProjectedValues.
Definition at line 382 of file DataRep.cxx.
References DataRep::m_projector, and DataRep::setDirty().
void update | ( | const Observable * | ) | [virtual, inherited] |
Responds to update message from the data source.
Implements Observer.
Definition at line 67 of file DataRep.cxx.
References Observable::notifyObservers().
void willDelete | ( | const Observable * | observed | ) | [virtual] |
Implements Observer pattern by removing the DataRep from its target.
Reimplemented from Observer.
Definition at line 307 of file FunctionRep.cxx.
References DataRep::getProjectedValues(), FunctionRep::m_target, and Observable::removeObserver().
CutRangeRep* m_cut_rep [protected, inherited] |
The representation of the cut or highlighted range.
Definition at line 103 of file DataRep.h.
Referenced by DataRep::addCut(), DataRep::createNTupleUnderRegion(), DataRep::DataRep(), DataRep::drawCuts(), FunctionRep::FunctionRep(), DataRep::getCutRep(), DataRep::getCuts(), DataRep::hasCut(), DataRep::removeCut(), FunctionRep::setCutRange(), DataRep::setCutRangeAt(), DataRep::setEnabled(), DataRep::toggleInverted(), and DataRep::~DataRep().
bool m_in_composite [private] |
A flag which when set true
indicates the receiving object is a member of a composite.
Definition at line 43 of file FunctionRep.h.
Referenced by FunctionRep::isInComposite(), and FunctionRep::setInComposite().
std::string m_name [protected, inherited] |
The name of the display as it might be displayed in a GUI.
For example, the name might be "Histogram" or "ScatterPlot".
Definition at line 76 of file DataRep.h.
Referenced by ColorPlot::ColorPlot(), ContourPlot::ContourPlot(), DyHistogram::DyHistogram(), DyHistogramEqualEntries::DyHistogramEqualEntries(), FunctionRep::FunctionRep(), Image::Image(), LineDataRep::LineDataRep(), DataRep::name(), Profile2D::Profile2D(), ProfileContour::ProfileContour(), ProfileHist::ProfileHist(), ScatterPlot::ScatterPlot(), St1DHistogram::St1DHistogram(), St2DHistogram::St2DHistogram(), StripChart::StripChart(), TextDataRep::TextDataRep(), VariableMesh::VariableMesh(), XYPlot::XYPlot(), XYZPlot::XYZPlot(), and YPlot::YPlot().
DataRep* m_parent_datarep [protected, inherited] |
There are times when a given DataRep results from some operations performed on some other DataRep.
The following variable contains pointer to the original data rep
Definition at line 99 of file DataRep.h.
Referenced by DataRep::DataRep(), DataRep::getParentDataRep(), and DataRep::setParentDataRep().
ProjectorBase* m_projector [protected, inherited] |
A projector used to transform data to projected values that will be plotted.
A display may have multiple projectors that make up its composite display. This data member points to the one that should receive messages from the display. Projectors are owned by the plotters that use them, and the projectors are responsible for deleting the plotters.
Definition at line 90 of file DataRep.h.
Referenced by DataRep::addValues(), ColorPlot::ColorPlot(), ContourPlot::ContourPlot(), FunctionRep::covarianceMatrix(), DataRep::createNTuple(), DataRep::createNTupleUnderRegion(), DataRep::DataRep(), FunctionRep::degreesOfFreedom(), DataRep::drawCuts(), FunctionRep2::drawProjectedValues(), FunctionRep1::drawProjectedValues(), CompositeFunctionRep::drawProjectedValues(), DyHistogram::DyHistogram(), DyHistogramEqualEntries::DyHistogramEqualEntries(), DataRep::fillColumnAfterCuts(), FunctionRep::fitFunction(), FunctionRep::FunctionRep(), FunctionRep::getFitter(), FunctionRep::getFunction(), DataRep::getMean(), DataRep::getNTupleAfterCuts(), DataRep::getNumberOfEntries(), DataRep::getPosRange(), DataRep::getProjectedValues(), DataRep::getProjector(), DataRep::getRMS(), DataRep::getTitle(), XYPlot::hasErrorDisplay(), VariableMesh::hasErrorDisplay(), DataRep::hasZeroRows(), Image::Image(), FunctionRep::initializeWith(), DataRep::isAxisBinned(), DataRep::isDirty(), DataRep::isImageConvertable(), LineDataRep::LineDataRep(), DataRep::matrixTranspose(), DataRep::normalizeTo(), FunctionRep::objectiveValue(), DataRep::preferredRange(), FunctionRep::principleErrors(), Profile2D::Profile2D(), ProfileContour::ProfileContour(), ProfileHist::ProfileHist(), FunctionRep::removeCut(), FunctionRep::restoreParameters(), FunctionRep::saveParameters(), ScatterPlot::ScatterPlot(), XYPlot::setAxisBinding(), VariableMesh::setAxisBinding(), DataRep::setAxisBinding(), XYPlot::setAxisBindings(), VariableMesh::setAxisBindings(), DataRep::setAxisBindings(), DataRep::setAxisModel(), St2DHistogram::setBinContents(), St1DHistogram::setBinContents(), DataRep::setBinWidth(), FunctionRep::setCutRange(), DataRep::setDirty(), FunctionRep::setFitter(), FunctionRep::setParameters(), FunctionRep::setPrincipleErrors(), DataRep::setRange(), XYPlot::setRepresentation(), VariableMesh::setRepresentation(), FunctionRep::setTupleCut(), LineDataRep::setValue(), St1DHistogram::St1DHistogram(), St2DHistogram::St2DHistogram(), StripChart::StripChart(), DataRep::update(), VariableMesh::VariableMesh(), XYPlot::XYPlot(), XYZPlot::XYZPlot(), YPlot::YPlot(), and DataRep::~DataRep().
The representation used for drawing each data point in the view.
Definition at line 94 of file DataRep.h.
Referenced by ColorPlot::ColorPlot(), CompositeFunctionRep::CompositeFunctionRep(), ContourPlot::ContourPlot(), DataRep::DataRep(), TextDataRep::drawProjectedValues(), FunctionRep2::drawProjectedValues(), FunctionRep1::drawProjectedValues(), DataRep::drawProjectedValues(), CompositeFunctionRep::drawProjectedValues(), DyHistogram::DyHistogram(), DyHistogramEqualEntries::DyHistogramEqualEntries(), FunctionRep1::FunctionRep1(), FunctionRep2::FunctionRep2(), DataRep::getRepColor(), DataRep::getRepresentation(), XYPlot::hasErrorDisplay(), Image::Image(), DataRep::isErrorDisplayed(), DataRep::isSelected(), LineDataRep::LineDataRep(), Profile2D::Profile2D(), ProfileContour::ProfileContour(), ProfileHist::ProfileHist(), ScatterPlot::ScatterPlot(), DataRep::set(), DataRep::setErrorDisplay(), DataRep::setPointRep(), DataRep::setRepColor(), DataRep::setRepSize(), DataRep::setRepStyle(), DataRep::setSelected(), St1DHistogram::St1DHistogram(), St2DHistogram::St2DHistogram(), StripChart::StripChart(), TextDataRep::TextDataRep(), VariableMesh::VariableMesh(), XYPlot::XYPlot(), XYZPlot::XYZPlot(), YPlot::YPlot(), and DataRep::~DataRep().
The target for the function.
The DataRep object from which the function receives its data sets. This information is redundant, but needed for the archiving and unarchiving.
Definition at line 51 of file FunctionRep.h.
Referenced by FunctionRep::FunctionRep(), FunctionRep::getTarget(), FunctionRep::initializeWith(), FunctionRep::removeCut(), FunctionRep::setCutRange(), FunctionRep::setFitter(), FunctionRep::setTarget(), FunctionRep::setTupleCut(), FunctionRep::willDelete(), and FunctionRep::~FunctionRep().
std::string m_title [protected, inherited] |
The title of the object.
The title of the object that might be used to annotate the display of the object. For example, if bound to DataSource, then the title of the DataSource object.
Definition at line 82 of file DataRep.h.
Referenced by DataRep::getTitle(), and DataRep::setTitle().