 |
ATLAS Offline Software
|
Go to the documentation of this file.
22 const std::size_t evtNumber):
69 const std::string& yTitle,
70 const std::string& zTitle){
static constexpr double s_dblMax
DrawCanvasObject(const std::string &canvasName, const std::size_t evtNumber)
std::vector< std::pair< PrimitivePtr_t, std::string > > PrimitiveVec_t
DrawCanvasObject::Range_t Range_t
DrawCanvasObject::PrimitivePtr_t PrimitivePtr_t
const std::string & zTitle() const
Returns the title of the z-axis.
virtual void expandPad(const double x, const double y) override final
Expands the axes of the pad such that the coordinates are guaranteed to appear at least at the Canvas...
bool trashed() const
Returns whether the canvas has been trashed.
PrimitiveVec_t m_primitives
virtual void setAxisTitles(const std::string &xTitle, const std::string &yTitle, const std::string &zTitle) override final
Define the titles of the Canvas axes.
virtual double corner(const AxisRanges r) const override final
Retrieves a corner coordinate of the drawn canvas.
constexpr void expand(const double v, Range_t &r)
const std::string & xTitle() const
Returns the title of the x-axis.
const std::string & yTitle() const
Returns the title of the y-axis.
AxisRanges
Enum to select the corner coordinates shown by the plot.
const PrimitiveVec_t & primitives() const
std::size_t event() const
Event number in which the canvas has been created.
IRootVisualizationService::PrimitivePtr_t PrimitivePtr_t
const std::string & name() const
Name of the canvas.
void assignIfNotEmpty(const std::string &inStr, std::string &outStr)
virtual void trash() override final
If no object has been drawn mark the plot as junk.
std::atomic< bool > m_isTrashed
virtual void add(PrimitivePtr_t &&drawMe, const std::string &drawOpt="") override final
Add a TObject to the ICanvasObject for later drawing onto a TCanvas.
virtual void setRangeScale(const double s, bool quadCan) override final
To ensure that the drawn objects are not cut by the axis limits, a flat scale-factor on the drawn axi...
DrawCanvasObject::PrimitiveVec_t PrimitiveVec_t
std::array< double, 2 > Range_t