4#ifndef MUONR4_MUONPATTERNRECOGNITIONTEST_PATTERNVISUALIZATIONTOOL_H
5#define MUONR4_MUONPATTERNRECOGNITIONTEST_PATTERNVISUALIZATIONTOOL_H
24#include "TLegendEntry.h"
73 std::make_unique<TLegend>(
74 0.68, 0.56, 0.94, 0.90)} {
83 int textfont = 43,
double textSize = 10)
85 std::make_unique<TLegend>(
100 const std::size_t
index =
101 static_cast<std::size_t
>(item);
107 TLegendEntry* entry =
109 object,
label, option);
136 using base_class::base_class;
138 virtual StatusCode
initialize()
override final;
142 const std::string& extraLabel)
const override final;
145 const std::string& extraLabel,
150 const std::string& extraLabel)
const override final;
155 const std::string& extraLabel,
161 const Acts::HoughTransformUtils::HoughAxisRanges& axisRanges,
162 const MaximumVec& maxima,
163 const std::string& extraLabel)
const override final;
167 const Acts::HoughTransformUtils::HoughAxisRanges& axisRanges,
168 const MaximumVec& maxima,
169 const std::string& extraLabel,
174 const std::string& extraLabel)
const override final;
178 const std::string& extraLabel,
204 template<
class SpacePo
intType>
206 const std::vector<SpacePointType>& hitsToDraw,
208 unsigned int view)
const;
218 template<
class SpacePo
intType>
221 const unsigned int view,
222 unsigned int fillStyle)
const;
232 template<
class SpacePo
intType>
234 const std::vector<SpacePointType>& hits,
236 const double legX = 0.2,
double startLegY = 0.8,
237 const double endLegY = 0.3)
const;
249 const int view)
const;
265 Gaudi::Property<std::string>
m_subDir{
this,
"outSubDir",
""};
ElementLink implementation for ROOT usage.
Representation of a segment seed (a fully processed hough maximum) produced by the hough transform.
Placeholder for what will later be the muon segment EDM representation.
: The muon space point bucket represents a collection of points that will bre processed together in t...
The muon space point is the combination of two uncalibrated measurements one of them measures the eta...
TLegendEntry * addOnce(const LegendItem item, TObject *object, const char *label, const char *option)
std::unique_ptr< TLegend > m_legend
DynamicLegend(double xmin, double ymin, double xmax, double ymax, int textfont=43, double textSize=10)
std::unique_ptr< TLegend > release()
std::string label(const std::string &format, int i)
SG::ReadHandleKey< GeometryContext > GeoContextReadKey_t
Abrivate the ReadHandleKey to declare the data dependency on the Geometry context.
Acts::Experimental::CompositeSpacePointLineFitter::ParamVec_t Parameters
This header ties the generic definitions in this package.
MuonValR4::IPatternVisualizationTool::PrimitiveVec PrimitiveVec
Acts::HoughTransformUtils::HoughPlane< HoughHitType > HoughPlane
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...
std::bitset< static_cast< std::size_t >(LegendItem::NumItems)> LegendMask
@ StgcStripWireHitOnObject
DecorHandleKeyArray< ReadDecorHandle< T, S >, ReadDecorHandleKey< T >, Gaudi::DataHandle::Reader > ReadDecorHandleKeyArray
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
UncalibratedMeasurement_v1 UncalibratedMeasurement
Define the version of the uncalibrated measurement class.
MuonSegment_v1 MuonSegment
Reference the current persistent version:
Token class to identify a particular visualization client.
Interface to the container class to temporarily cache the ROOT objects to be drawn on a TCanvas and t...
AxisRanges
Enum to select the corner coordinates shown by the plot.