ATLAS Offline Software
Loading...
Searching...
No Matches
MuonR4::IxAODSegmentCnvTool Class Referenceabstract

The xAODSegmentCnvTool takes a MuonR4::Segment and converts it into a xAOD::MuonSegment. More...

#include <IxAODSegmentCnvTool.h>

Inheritance diagram for MuonR4::IxAODSegmentCnvTool:
Collaboration diagram for MuonR4::IxAODSegmentCnvTool:

Classes

struct  DataShip
 Structure to hold the data needed for the conversion and decoration. More...

Public Member Functions

virtual ~IxAODSegmentCnvTool ()=default
 DeclareInterfaceID (IxAODSegmentCnvTool, 1, 0)
virtual xAOD::MuonSegmentconvertSegment (const EventContext &ctx, const MuonR4::Segment &inSegment, DataShip &ship) const =0
 Convert a MuonR4::Segment to an xAOD::MuonSegment and decorate it with the necessary information.

Detailed Description

The xAODSegmentCnvTool takes a MuonR4::Segment and converts it into a xAOD::MuonSegment.

The segments carry the global segment position and direction, the fit quality in terms of chi2 & nDoF, and the hit, outlier and hole hit count summary. For the latter, the algortihm optionally launches a hole search using the Acts::TrackingGeometry. Further, the local parameters and covariance from the fit are decorated onto the segment. Finally, the ElementLinks to the contributing measurements are attached. Prds from the uncombined space points (mainly Mdt, Mm, BI-RPC, sTGC pad) are directly appended to the list. The eta & phi measurements of Rpc/Tgc/sTgc which are within the same gasgap are combined in a CombindMuonStrip object which itself is then appended to the list. Optionally, the conversion alg can also convert the beamspot measurement into a xAOD::UncalibratedMeasurement. For each measurement, the flag whether it was an outlier or not is also stored.

Definition at line 38 of file IxAODSegmentCnvTool.h.

Constructor & Destructor Documentation

◆ ~IxAODSegmentCnvTool()

virtual MuonR4::IxAODSegmentCnvTool::~IxAODSegmentCnvTool ( )
virtualdefault

Member Function Documentation

◆ convertSegment()

virtual xAOD::MuonSegment * MuonR4::IxAODSegmentCnvTool::convertSegment ( const EventContext & ctx,
const MuonR4::Segment & inSegment,
DataShip & ship ) const
pure virtual

Convert a MuonR4::Segment to an xAOD::MuonSegment and decorate it with the necessary information.

Parameters
ctxThe event context
inSegmentThe input segment
shipThe data ship
Returns
: The converted segment

◆ DeclareInterfaceID()

MuonR4::IxAODSegmentCnvTool::DeclareInterfaceID ( IxAODSegmentCnvTool ,
1 ,
0  )

The documentation for this class was generated from the following file: