![]() |
ATLAS Offline Software
|
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a validation NTuple with identifier and drift circle info. More...
Classes | |
class | IPatternVisualizationTool |
Helper tool to visualize a pattern recogntion incident or a certain stage of the segment fit. More... | |
class | MdtCalibDbAlgTest |
class | MdtDriftCircleVariables |
class | MdtTwinDriftCircleVariables |
class | MmClusterVariables |
class | MuonHitTesterAlg |
class | MuonHoughTransformTester |
class | MuonRecoChainTester |
class | PatternVisualizationTool |
class | RpcMeasurementVariables |
class | SimHitTester |
class | SpacePointTesterModule |
class | TesterModuleBase |
class | TgcStripVariables |
Typedefs | |
using | ObjectMatching = MuonHoughTransformTester::ObjectMatching |
using | simHitSet = std::unordered_set< const xAOD::MuonSimHit * > |
using | LabeledSegmentSet = PatternVisualizationTool::LabeledSegmentSet |
Functions | |
unsigned int | countMatched (const simHitSet &truthHits, const simHitSet &recoHits) |
unsigned int | countMatched (const xAOD::MuonSegment *truthSeg, const MuonR4::SegmentSeed *seed) |
unsigned int | countMatched (const xAOD::MuonSegment *truthSeg, const MuonR4::Segment *segment) |
template<class SpType > | |
bool | isPrecHit (const SpType &sp) |
Define a spacepoint as precision hit if it's a Mdt or NSW eta hit. More... | |
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. More... | |
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. More... | |
std::unique_ptr< TBox > | drawBox (const double x1, const double y1, const double x2, const double y2, const int color=kGreen+2, const int fillStyle=hollowFilling) |
Creates a box for drawing, e.g strip measurements. More... | |
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. More... | |
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) |
std::unique_ptr< TLatex > | drawLabel (const std::string &text, const double xPos, const double yPos, const unsigned int fontSize=18) |
Create a TLatex label,. More... | |
std::unique_ptr< TLatex > | drawAtlasLabel (const double xPos, const double yPos, const std::string &status="Internal") |
Create a ATLAS label. More... | |
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. More... | |
Variables | |
constexpr int | hollowFilling = 0 |
Filling codes for hollow / fullFilling / hatched filling. More... | |
constexpr int | fullFilling = 1001 |
constexpr int | hatchedFilling = 3344 |
constexpr int | objViewEta = MuonR4::SegmentFit::toInt(MuonR4::SegmentFit::AxisDefs::eta) |
ObjectView. More... | |
constexpr int | objViewPhi = MuonR4::SegmentFit::toInt(MuonR4::SegmentFit::AxisDefs::phi) |
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a validation NTuple with identifier and drift circle info.
Module to dump the basic properties of the TgcStrip collection.
Module to dump the basic properties of the RpcMeasurement collection.
Module to dump the basic properties of the MmCluster collection.
Module to dump the basic properties of the MdtTwinDriftCircle collection.
Module to dump the basic properties of the MdtDriftCircle collection.
Definition at line 57 of file PatternVisualizationTool.cxx.
using MuonValR4::ObjectMatching = typedef MuonHoughTransformTester::ObjectMatching |
Definition at line 29 of file MuonHoughTransformTester.cxx.
using MuonValR4::simHitSet = typedef std::unordered_set<const xAOD::MuonSimHit*> |
Definition at line 30 of file MuonHoughTransformTester.cxx.
Definition at line 31 of file MuonHoughTransformTester.cxx.
unsigned int MuonValR4::countMatched | ( | const xAOD::MuonSegment * | truthSeg, |
const MuonR4::Segment * | segment | ||
) |
Definition at line 43 of file MuonHoughTransformTester.cxx.
unsigned int MuonValR4::countMatched | ( | const xAOD::MuonSegment * | truthSeg, |
const MuonR4::SegmentSeed * | seed | ||
) |
Definition at line 39 of file MuonHoughTransformTester.cxx.
std::unique_ptr< TArrow > MuonValR4::drawArrow | ( | const Amg::Vector3D & | start, |
const Amg::Vector3D & | dir, | ||
const int | color = kRed +1 , |
||
const int | lineStyle = kDashed , |
||
const int | view = objViewEta |
||
) |
Definition at line 22 of file VisualizationHelpers.cxx.
std::unique_ptr< TLatex > MuonValR4::drawAtlasLabel | ( | const double | xPos, |
const double | yPos, | ||
const std::string & | status = "Internal" |
||
) |
Create a ATLAS label.
xPos | x-position of the label on the Canvas |
yPos | y-position of the label on the Canvas |
status | ATLAS label status to be drawn |
Definition at line 72 of file VisualizationHelpers.cxx.
std::unique_ptr< TBox > MuonValR4::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.
boxCenter | Center of the box to be placed expressed in chamber frame coordinates |
boxWidth | Width of the drawn box |
boxHeight | Height of the drawn box |
color | Color of the surrounding line & filling |
fillStyle | Box fill style |
view | Is the box placed in the y-z or in the x-z plane |
Definition at line 41 of file VisualizationHelpers.cxx.
std::unique_ptr< TBox > MuonValR4::drawBox | ( | const double | x1, |
const double | y1, | ||
const double | x2, | ||
const double | y2, | ||
const int | color = kGreen +2 , |
||
const int | fillStyle = hollowFilling |
||
) |
Creates a box for drawing, e.g strip measurements.
x1 | Left edge location |
y1 | Bottom edge location |
x2 | Right edge location |
y2 | TopEdgeLocation |
color | Color of the surrounding line & filling |
fillStyle | Box fill style |
view | Is the box placed in the y-z or in the x-z plane |
Definition at line 49 of file VisualizationHelpers.cxx.
std::unique_ptr< TEllipse > MuonValR4::drawDriftCircle | ( | const Amg::Vector3D & | center, |
const double | radius, | ||
const int | color = kViolet , |
||
const int | fillStyle = hollowFilling |
||
) |
Create a TEllipse for drawing a drift circle.
center | Position of the drift cirle expressed in the chambers frame y-coordinate corresponds to the tube layer z-coordinate corresponds to the tube in the layer |
radius | Radius of the drift circle to draw |
color | Color of the circle to draw |
fillStyle | Style to pick the filling of the circle |
Definition at line 12 of file VisualizationHelpers.cxx.
std::unique_ptr< TLatex > MuonValR4::drawLabel | ( | const std::string & | text, |
const double | xPos, | ||
const double | yPos, | ||
const unsigned int | fontSize = 18 |
||
) |
Create a TLatex label,.
text | Label text |
xPos | x-position of the label on the Canvas |
yPos | y-position of the label on the Canvas |
fontSize | Size of the label font |
Definition at line 32 of file VisualizationHelpers.cxx.
std::unique_ptr<TLine> MuonValR4::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.
pars | Segment fit parameters to extract position & direction from |
lowEnd | Lower boundary in Canvas-y of the line |
highEnd | Upper boundaty in Canbas-y of the line |
color | Color of the line (Cf. TColor documentation) |
lineStyle | Style of the drawn line (cf. TAttLine documentation) |
view | Is the line placed in the y-z or in the x-z plane |
Definition at line 59 of file VisualizationHelpers.cxx.
std::unique_ptr< TLatex > MuonValR4::drawLumiSqrtS | ( | const double | xPos, |
const double | yPos, | ||
const std::string_view | sqrtS = "14" , |
||
const std::string_view | lumi = "" |
||
) |
Create a luminosity sqrtS label.
xPos | x-position of the label on the Canvas |
yPos | y-position of the label on the Canvas |
sqrtS | Centre of mass energy [TeV] |
lumi | Luminosity [fb^{-1}]. If less <0 not drawn |
Definition at line 76 of file VisualizationHelpers.cxx.
bool MuonValR4::isPrecHit | ( | const SpType & | sp | ) |
Define a spacepoint as precision hit if it's a Mdt or NSW eta hit.
Definition at line 49 of file MuonHoughTransformTester.cxx.
|
constexpr |
Definition at line 21 of file VisualizationHelpers.h.
|
constexpr |
Definition at line 22 of file VisualizationHelpers.h.
|
constexpr |
Filling codes for hollow / fullFilling / hatched filling.
Definition at line 20 of file VisualizationHelpers.h.
|
constexpr |
ObjectView.
Definition at line 25 of file VisualizationHelpers.h.
|
constexpr |
Definition at line 26 of file VisualizationHelpers.h.