 |
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef MUONRECTOOLINTERFACESR4_IROOTVISUALIZATIONSERVICE_H
5 #define MUONRECTOOLINTERFACESR4_IROOTVISUALIZATIONSERVICE_H
7 #include <GaudiKernel/IService.h>
67 xLow, xHigh, yLow, yHigh
89 const std::string& drawOpt=
"") = 0;
99 const std::string& yTitle=
"",
100 const std::string& zTitle=
"") = 0;
112 const std::string& canvasName) = 0;
std::string preFixName
Prefix name of the saved Canvas.
std::string subDirectory
Subdirectory in which the plots are written.
bool operator<(const ClientToken &other) const
Comparison operator.
std::vector< PrimitivePtr_t > PrimitiveVec_t
List of all primitives.
std::set< std::string > fileFormats
In which formats are the Canvases saved (pdf, png, C, ROOT, etc.)
virtual void expandPad(const double x, const double y)=0
Expands the axes of the pad such that the coordinates are guaranteed to appear at least at the Canvas...
virtual CanvasPtr_t prepareCanvas(const EventContext &ctx, const ClientToken &token, const std::string &canvasName)=0
Prepares a new ICanvasObject to be filled with content by the client.
bool saveSinglePlots
Save single plots.
std::shared_ptr< ICanvasObject > CanvasPtr_t
DeclareInterfaceID(MuonValR4::IRootVisualizationService, 1, 0)
virtual void trash()=0
If no object has been drawn mark the plot as junk.
std::size_t canvasLimit
How many canvases are drawn at maximum in a job.
Token class to identify a particular visualization client.
virtual void setRangeScale(const double s, bool quadCan=true)=0
To ensure that the drawn objects are not cut by the axis limits, a flat scale-factor on the drawn axi...
::StatusCode StatusCode
StatusCode definition for legacy code.
Interface to the container class to temporarily cache the ROOT objects to be drawn on a TCanvas and t...
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...
AxisRanges
Enum to select the corner coordinates shown by the plot.
virtual double corner(const AxisRanges r) const =0
Retrieves a corner coordinate of the drawn canvas.
std::unique_ptr< TObject > PrimitivePtr_t
Abrivation for a TObject to be drawn on a canvas.
bool saveSummaryPlot
Save a summary pdf.
virtual void add(PrimitiveVec_t &&drawMe)=0
Add a vector of TObjects to the ICanvasObject for later drawing onto a TCanvas.
~ICanvasObject()=default
Default destructor.
virtual ~IRootVisualizationService()=default
Default destructor.
Definition of the IRootVisualizationService interface.
virtual void add(PrimitivePtr_t &&drawMe, const std::string &drawOpt="")=0
Add a TObject to the ICanvasObject for later drawing onto a TCanvas.
virtual void setAxisTitles(const std::string &xTitle="", const std::string &yTitle="", const std::string &zTitle="")=0
Define the titles of the Canvas axes.
virtual StatusCode registerClient(const ClientToken &token)=0
Registers a new client to the Service.