 |
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef MUONR4_MUONVISUALIZATIONHELPERS_H
5 #define MUONR4_MUONVISUALIZATIONHELPERS_H
32 std::vector<std::unique_ptr<TObject>>
clone(
const std::vector<std::unique_ptr<TObject>>& cloneMe);
42 const int color = kViolet,
54 const double boxWidth,
55 const double boxHeight,
56 const int color = kGreen +2,
67 std::unique_ptr<TBox>
drawBox(
const double x1,
71 const int color = kGreen +2,
81 const double lowEnd,
const double highEnd,
82 const int color = kRed +1,
83 const int lineStyle = kDashed,
88 const int color = kRed +1,
89 const int lineStyle = kDashed,
99 const unsigned int fontSize = 18);
106 const std::string&
status =
"Internal");
114 const std::string_view sqrtS=
"14",
115 const std::string_view
lumi =
"");
constexpr int fullFilling
std::unique_ptr< TLine > drawLine(const MuonR4::SegmentFit::Parameters &pars, const double lowEnd, const double highEnd, const int color=kRed+1, const int lineStyle=kDashed, const int view=objViewEta)
Draws a line from the segment fit parameters.
std::unique_ptr< TBox > drawBox(const Amg::Vector3D &boxCenter, const double boxWidth, const double boxHeight, const int color=kGreen+2, const int fillStyle=hollowFilling, const int view=objViewEta)
Creates a box for drawing, e.g strip measurements.
std::unique_ptr< TLatex > drawLabel(const std::string &text, const double xPos, const double yPos, const unsigned int fontSize=18)
Create a TLatex label,.
std::vector< std::unique_ptr< TObject > > clone(const std::vector< std::unique_ptr< TObject >> &cloneMe)
Acts::Experimental::CompositeSpacePointLineFitter::ParamVec_t Parameters
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...
constexpr int objViewEta
ObjectView.
Eigen::Matrix< double, 3, 1 > Vector3D
std::unique_ptr< TArrow > drawArrow(const Amg::Vector3D &start, const Amg::Vector3D &dir, const int color=kRed+1, const int lineStyle=kDashed, const int view=objViewEta)
constexpr int hollowFilling
Filling codes for hollow / fullFilling / hatched filling.
std::unique_ptr< TEllipse > drawDriftCircle(const Amg::Vector3D ¢er, const double radius, const int color=kViolet, const int fillStyle=hollowFilling)
Create a TEllipse for drawing a drift circle.
std::unique_ptr< TLatex > drawAtlasLabel(const double xPos, const double yPos, const std::string &status="Internal")
Create a ATLAS label.
std::unique_ptr< TLatex > drawLumiSqrtS(const double xPos, const double yPos, const std::string_view sqrtS="14", const std::string_view lumi="")
Create a luminosity sqrtS label.
constexpr int hatchedFilling