|
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef MUONR4_MUONVISUALIZATIONHELPERS_H
5 #define MUONR4_MUONVISUALIZATIONHELPERS_H
36 const int color = kViolet,
48 const double boxWidth,
49 const double boxHeight,
50 const int color = kGreen +2,
61 std::unique_ptr<TBox>
drawBox(
const double x1,
65 const int color = kGreen +2,
69 const double lowEnd,
const double highEnd,
70 const int color = kRed +1,
71 const int lineStyle = kDashed,
81 const unsigned int fontSize = 18);
88 const std::string&
status =
"Internal");
96 const std::string_view sqrtS=
"14",
97 const std::string_view
lumi =
"");
constexpr int fullFilling
AmgVector(toInt(ParamDefs::nPars)) 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< 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)
std::unique_ptr< TLatex > drawLabel(const std::string &text, const double xPos, const double yPos, const unsigned int fontSize=18)
Create a TLatex label,.
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...
constexpr int objViewEta
ObjectView.
constexpr int toInt(const ParamDefs p)
Eigen::Matrix< double, 3, 1 > Vector3D
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