![]() |
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...
Namespaces | |
| detail | |
Classes | |
| class | IPatternVisualizationTool |
| Helper tool to visualize a pattern recogntion incident or a certain stage of the segment fit. More... | |
| class | IRootVisualizationService |
| Definition of the IRootVisualizationService interface. More... | |
| class | ITrackVisualizationTool |
| 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 | MsTrackTester |
| class | MuonHitTesterAlg |
| class | MuonHoughTransformTester |
| class | MuonRecoChainTester |
| class | MuonSPCalibrationTest |
| class | PatternVisualizationTool |
| class | RootVisualizationService |
| Implementation of the IRootVisualization service. More... | |
| class | RpcMeasurementVariables |
| class | SegmentExtpTest |
| class | SegmentRefitTest |
| Simple tester class to refit the Mdt segments with the Acts global chi2 fitter In the ideal case, the Acts fit should return the same parameters as the Muon segment fitter with the same measurements to be included on the fit. More... | |
| class | SimHitTester |
| class | SpacePointTesterModule |
| class | TesterModuleBase |
| class | TgcStripVariables |
| class | TrackContainerModule |
| class | TrackSummaryModule |
| class | TrackSummaryValueBranch |
| Helper branch class to dump a pick a single hit summary value from the overall summary & to dump it in the tree. More... | |
| class | TrackVisualizationTool |
| class | xMuonHitAnalysis |
Typedefs | |
| using | ObjectMatching = MuonHoughTransformTester::ObjectMatching |
| using | simHitSet = std::unordered_set< const xAOD::MuonSimHit * > |
| using | LabeledSegmentSet = PatternVisualizationTool::LabeledSegmentSet |
| using | Category = MuonR4::HitSummary::HitCategory |
| using | Status = MuonR4::HitSummary::Status |
| using | ICanvasObject = RootVisualizationService::ICanvasObject |
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::string | nameBr (Category cat, Status status, LayerIndex layer, bool isSmall) |
| std::string | removeNonAlphaNum (std::string str) |
| Removes all non-alpha numerical characters from a string. More... | |
| void | ensureDirectory (const std::string &path) |
| Ensures that the subdirectory in the path is created. More... | |
| void | drawPropagation (const std::vector< Acts::detail::Step > &steps, Acts::ObjVisualization3D &visualHelper, const Acts::ViewConfig &viewConfig=Acts::s_viewLine) |
| Draws the recorded propagation steps as a polygon line. More... | |
| void | drawBoundParameters (const ActsTrk::GeometryContext &gctx, const Acts::BoundTrackParameters &pars, Acts::ObjVisualization3D &visualHelper, const Acts::ViewConfig &viewConfig=Acts::s_viewLine, const double standardLength=3.*Gaudi::Units::cm) |
| Draw a line representing the bound track parameters. More... | |
| void | drawSegmentLine (const ActsTrk::GeometryContext &gctx, const xAOD::MuonSegment &segment, Acts::ObjVisualization3D &visualHelper, const Acts::ViewConfig &viewConfig=Acts::s_viewLine, const double standardLength=1.*Gaudi::Units::m) |
| Draw a segment line inside the obj file. More... | |
| void | drawSegmentMeasurements (const ActsTrk::GeometryContext &gctx, const xAOD::MuonSegment &segment, Acts::ObjVisualization3D &visualHelper, const Acts::ViewConfig &viewConfig=Acts::s_viewSensitive) |
| Draw all uncalibrated measurements associated to the segment. More... | |
| void | drawMeasurement (const ActsTrk::GeometryContext &gctx, const xAOD::UncalibratedMeasurement *meas, Acts::ObjVisualization3D &visualHelper, const Acts::ViewConfig &viewConfig=Acts::s_viewSensitive) |
| Draw an uncalibrated measurement inside the obj file. More... | |
| std::vector< std::unique_ptr< TObject > > | clone (const std::vector< std::unique_ptr< TObject >> &cloneMe) |
| 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 = Acts::toUnderlying(MuonR4::SegmentFit::AxisDefs::etaCov) |
| ObjectView. More... | |
| constexpr int | objViewPhi = Acts::toUnderlying(MuonR4::SegmentFit::AxisDefs::phiCov) |
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.
| using MuonValR4::Category = typedef MuonR4::HitSummary::HitCategory |
Definition at line 14 of file TrackSummaryModule.cxx.
| using MuonValR4::ICanvasObject = typedef RootVisualizationService::ICanvasObject |
Definition at line 33 of file RootVisualizationService.cxx.
Definition at line 40 of file PatternVisualizationTool.cxx.
| using MuonValR4::ObjectMatching = typedef MuonHoughTransformTester::ObjectMatching |
Definition at line 28 of file MuonHoughTransformTester.cxx.
| using MuonValR4::simHitSet = typedef std::unordered_set<const xAOD::MuonSimHit*> |
Definition at line 29 of file MuonHoughTransformTester.cxx.
| using MuonValR4::Status = typedef MuonR4::HitSummary::Status |
Definition at line 15 of file TrackSummaryModule.cxx.
| std::vector< std::unique_ptr< TObject > > MuonValR4::clone | ( | const std::vector< std::unique_ptr< TObject >> & | cloneMe | ) |
Definition at line 13 of file VisualizationHelpers.cxx.
Definition at line 30 of file MuonHoughTransformTester.cxx.
| unsigned int MuonValR4::countMatched | ( | const xAOD::MuonSegment * | truthSeg, |
| const MuonR4::Segment * | segment | ||
| ) |
Definition at line 42 of file MuonHoughTransformTester.cxx.
| unsigned int MuonValR4::countMatched | ( | const xAOD::MuonSegment * | truthSeg, |
| const MuonR4::SegmentSeed * | seed | ||
| ) |
Definition at line 38 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 30 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 80 of file VisualizationHelpers.cxx.
| void MuonValR4::drawBoundParameters | ( | const ActsTrk::GeometryContext & | gctx, |
| const Acts::BoundTrackParameters & | pars, | ||
| Acts::ObjVisualization3D & | visualHelper, | ||
| const Acts::ViewConfig & | viewConfig = Acts::s_viewLine, |
||
| const double | standardLength = 3.*Gaudi::Units::cm |
||
| ) |
Draw a line representing the bound track parameters.
| gctx | Geometry context to align the parameters globally |
| pars | Bound track parameters to draw |
| vsualHelper | Obj helper to which the drawn line is appended |
| viewConfig | Configuration style of the drawn line |
| standardLength | Length of the segment as a fallback solution |
Definition at line 175 of file ObjVisualizationHelpers.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 49 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 57 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 20 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 40 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 67 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 84 of file VisualizationHelpers.cxx.
| void MuonValR4::drawMeasurement | ( | const ActsTrk::GeometryContext & | gctx, |
| const xAOD::UncalibratedMeasurement * | meas, | ||
| Acts::ObjVisualization3D & | visualHelper, | ||
| const Acts::ViewConfig & | viewConfig = Acts::s_viewSensitive |
||
| ) |
Draw an uncalibrated measurement inside the obj file.
The measurement is translated to a temporary surface with adapted position & boundaries (e.g. drift radius or measurement uncertainty)
| gctx | Geometry context needed to fetch the positions of the surface |
| meas | Pointer to the muon measurement to visualize |
| vsualHelper | Obj helper to which the measurement is appended. |
| viewConfig | Configuration style of the drawn measurement |
Combined pseudo measurement
Check whether the measurement is a phi measurement or not
2D RPC or sTGC pad
Combined pseudo measurement
Check whether the measurement is a phi measurement or not
2D RPC or sTGC pad
Definition at line 90 of file ObjVisualizationHelpers.cxx.
| void MuonValR4::drawPropagation | ( | const std::vector< Acts::detail::Step > & | steps, |
| Acts::ObjVisualization3D & | visualHelper, | ||
| const Acts::ViewConfig & | viewConfig = Acts::s_viewLine |
||
| ) |
Draws the recorded propagation steps as a polygon line.
| step | List of steps to draw |
| vsualHelper | Obj helper to which the drawn trajectory is appended |
| viewConfig | Configuration style of the drawn polygon. |
Definition at line 29 of file ObjVisualizationHelpers.cxx.
| void MuonValR4::drawSegmentLine | ( | const ActsTrk::GeometryContext & | gctx, |
| const xAOD::MuonSegment & | segment, | ||
| Acts::ObjVisualization3D & | visualHelper, | ||
| const Acts::ViewConfig & | viewConfig = Acts::s_viewLine, |
||
| const double | standardLength = 1.*Gaudi::Units::m |
||
| ) |
Draw a segment line inside the obj file.
If the segment is a reconstructed segment and has associated measurements, then the first and last surface position is used to determine the length of the segment, otherwise the standard lenth is used.
| gctx | Geometry context needed to fetch the positions of the first & last measurement |
| segment | The segment which is meant to draw |
| vsualHelper | Obj helper to which the segment is appended. |
| viewConfig | Configuration style of the drawn line |
| standardLength | Length of the segment as a fallback solution |
Take the local z component of the local to global transform as plane normal
Create the intersections
Take the local z component of the local to global transform as plane normal
Create the intersections
Definition at line 46 of file ObjVisualizationHelpers.cxx.
| void MuonValR4::drawSegmentMeasurements | ( | const ActsTrk::GeometryContext & | gctx, |
| const xAOD::MuonSegment & | segment, | ||
| Acts::ObjVisualization3D & | visualHelper, | ||
| const Acts::ViewConfig & | viewConfig = Acts::s_viewSensitive |
||
| ) |
Draw all uncalibrated measurements associated to the segment.
| gctx | Geometry context needed to fetch the positions of the first & last measurement |
| segment | The segment which from which the measurements are taken |
| vsualHelper | Obj helper to which the measurements are appended. |
| viewConfig | Configuration style of the drawn measurements |
Definition at line 81 of file ObjVisualizationHelpers.cxx.
| void MuonValR4::ensureDirectory | ( | const std::string & | path | ) |
Ensures that the subdirectory in the path is created.
| path | Reference to the path from which the directory is to be craeted |
Definition at line 17 of file FileHelpers.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 48 of file MuonHoughTransformTester.cxx.
|
inline |
Definition at line 16 of file TrackSummaryModule.cxx.
| std::string MuonValR4::removeNonAlphaNum | ( | std::string | str | ) |
|
constexpr |
Definition at line 24 of file VisualizationHelpers.h.
|
constexpr |
Definition at line 25 of file VisualizationHelpers.h.
|
constexpr |
Filling codes for hollow / fullFilling / hatched filling.
Definition at line 23 of file VisualizationHelpers.h.
|
constexpr |
ObjectView.
Definition at line 28 of file VisualizationHelpers.h.
|
constexpr |
Definition at line 29 of file VisualizationHelpers.h.
1.8.18