![]() |
ATLAS Offline Software
|
Helper tool to visualize a pattern recogntion incident or a certain stage of the segment fit. More...
#include <IPatternVisualizationTool.h>
Public Types | |
using | PrimitivePtr = std::unique_ptr< TObject > |
using | PrimitiveVec = std::vector< PrimitivePtr > |
using | MaximumVec = std::vector< MuonR4::ActsPeakFinderForMuon::Maximum > |
using | LabeledSegmentSet = std::unordered_set< const xAOD::MuonSegment * > |
Public Member Functions | |
DeclareInterfaceID (IPatternVisualizationTool, 1, 0) | |
virtual | ~IPatternVisualizationTool ()=default |
virtual void | visualizeBucket (const EventContext &ctx, const MuonR4::SpacePointBucket &bucket, const std::string &extraLabel) const =0 |
Draws the content of the bucket on a TCanvas. More... | |
virtual void | visualizeBucket (const EventContext &ctx, const MuonR4::SpacePointBucket &bucket, const std::string &extraLabel, PrimitiveVec &&extraPaints) const =0 |
Draws the content of the bucket on a TCanvas. More... | |
virtual void | visualizeAccumulator (const EventContext &ctx, const MuonR4::HoughPlane &accumulator, const Acts::HoughTransformUtils::HoughAxisRanges &axisRanges, const MaximumVec &maxima, const std::string &extraLabel) const =0 |
Visualize the content of the Hough accumulator in a TH2 histogram. More... | |
virtual void | visualizeAccumulator (const EventContext &ctx, const MuonR4::HoughPlane &accumulator, const Acts::HoughTransformUtils::HoughAxisRanges &axisRanges, const MaximumVec &maxima, const std::string &extraLabel, PrimitiveVec &&extraPaints) const =0 |
Visualize the content of the Hough accumulator in a TH2 histogram. More... | |
virtual void | visualizeSeed (const EventContext &ctx, const MuonR4::SegmentSeed &seed, const std::string &extraLabel) const =0 |
Visualize the used space points of the seed together with the seed parameters. More... | |
virtual void | visualizeSeed (const EventContext &ctx, const MuonR4::SegmentSeed &seed, const std::string &extraLabel, PrimitiveVec &&extraPaints) const =0 |
Visualize the used space points of the seed together with the seed parameters. More... | |
virtual void | visualizeSegment (const EventContext &ctx, const MuonR4::Segment &segment, const std::string &extraLabel) const =0 |
Visualize the used space points of the segment together with the seed parameters. More... | |
virtual void | visualizeSegment (const EventContext &ctx, const MuonR4::Segment &segment, const std::string &extraLabel, PrimitiveVec &&extraPaints) const =0 |
Visualize the used space points of the segment together with the seed parameters. More... | |
virtual bool | isLabeled (const MuonR4::SpacePoint &hit) const =0 |
Returns whether the hit has been used on the labeled segments we refer to (e.g. More... | |
virtual bool | isLabeled (const xAOD::UncalibratedMeasurement &hit) const =0 |
virtual LabeledSegmentSet | getLabeledSegments (const std::vector< const MuonR4::SpacePoint * > &hits) const =0 |
Fetches all labeled (e.g. More... | |
virtual LabeledSegmentSet | getLabeledSegments (const std::vector< const xAOD::UncalibratedMeasurement * > &hits) const =0 |
Helper tool to visualize a pattern recogntion incident or a certain stage of the segment fit.
Definition at line 26 of file IPatternVisualizationTool.h.
using MuonValR4::IPatternVisualizationTool::LabeledSegmentSet = std::unordered_set<const xAOD::MuonSegment*> |
Definition at line 116 of file IPatternVisualizationTool.h.
using MuonValR4::IPatternVisualizationTool::MaximumVec = std::vector<MuonR4::ActsPeakFinderForMuon::Maximum> |
Definition at line 32 of file IPatternVisualizationTool.h.
using MuonValR4::IPatternVisualizationTool::PrimitivePtr = std::unique_ptr<TObject> |
Definition at line 30 of file IPatternVisualizationTool.h.
using MuonValR4::IPatternVisualizationTool::PrimitiveVec = std::vector<PrimitivePtr> |
Definition at line 31 of file IPatternVisualizationTool.h.
|
virtualdefault |
MuonValR4::IPatternVisualizationTool::DeclareInterfaceID | ( | IPatternVisualizationTool | , |
1 | , | ||
0 | |||
) |
|
pure virtual |
Fetches all labeled (e.g.
by truth or Zµµ reco) segments containing at least one measurement in the list passed as arg
hits | Vector of hits to search |
|
pure virtual |
|
pure virtual |
Returns whether the hit has been used on the labeled segments we refer to (e.g.
truth or data Zµµ)
hit | Reference to the hit to check |
|
pure virtual |
|
pure virtual |
Visualize the content of the Hough accumulator in a TH2 histogram.
ctx | EventContext to fetch calibration & alignment |
accumulator | Hough accumulator to visualize |
axisRanges | Current axis ranges to interpret the accumulator bins |
maxima | Extracted maxima from the accumulator |
extraLabel | Extra label for the legend |
|
pure virtual |
Visualize the content of the Hough accumulator in a TH2 histogram.
ctx | EventContext to fetch calibration & alignment |
accumulator | Hough accumulator to visualize |
axisRanges | Current axis ranges to interpret the accumulator bins |
maxima | Extracted maxima from the accumulator |
extraLabel | Extra label for the legend |
extraPaints | Other objects that shall be painted onto the canvas |
|
pure virtual |
Draws the content of the bucket on a TCanvas.
ctx | EventContext to fetch calibration & alignment |
bucket | Spacepoint bucket to draw |
extraLabel | Extra label for the legend |
|
pure virtual |
Draws the content of the bucket on a TCanvas.
ctx | EventContext to fetch calibration & alignment |
bucket | Spacepoint bucket to draw |
extraLabel | Extra label for the legend |
extraPaints | Other objects that shall be painted onto the canvas |
|
pure virtual |
Visualize the used space points of the seed together with the seed parameters.
ctx | EventContext to fetch calibration & alignment |
seed | Reference to the seed to visualize |
extraLabel | Extra label for the legend |
|
pure virtual |
Visualize the used space points of the seed together with the seed parameters.
ctx | EventContext to fetch calibration & alignment |
seed | Reference to the seed to visualize |
extraLabel | Extra label for the legend |
extraPaints | Other objects that shall be painted onto the canvas |
|
pure virtual |
Visualize the used space points of the segment together with the seed parameters.
ctx | EventContext to fetch calibration & alignment |
segment | Reference to the segment to visualize |
extraLabel | Extra label for the legend |
|
pure virtual |
Visualize the used space points of the segment together with the seed parameters.
ctx | EventContext to fetch calibration & alignment |
segment | Reference to the segment to visualize |
extraLabel | Extra label for the legend |
extraPaints | Other objects that shall be painted onto the canvas |