![]() |
ATLAS Offline Software
|
Tool to produce MDT PRDs for Run 4. More...
#include <MdtRdoToMdtPrepDataTool.h>
Classes | |
| struct | HandleCache |
| Helper cache to carry the data containers needed for the dedcoding around. More... | |
Public Member Functions | |
| ~MdtRdoToMdtPrepDataTool ()=default | |
| default destructor | |
| virtual StatusCode | initialize () override |
| standard Athena-Algorithm method | |
| virtual StatusCode | decode (const EventContext &ctx, const std::vector< IdentifierHash > &idVect) const override |
| Decode method - declared in Muon::IMuonRdoToPrepDataTool. | |
| virtual StatusCode | decode (const EventContext &ctx, const std::vector< uint32_t > &robIds) const override |
| virtual StatusCode | provideEmptyContainer (const EventContext &ctx) const override |
Protected Types | |
| using | DigitPtr_t = std::unique_ptr<MdtDigit> |
| Abrivate the digit pointer. | |
| using | TwinDigit_t = std::array<DigitPtr_t, 2> |
| using | DigitVec_t = std::vector<DigitPtr_t> |
| Store the digits per chamber to ensure sorting. | |
Protected Member Functions | |
| HandleCache | setupHandleCache (const EventContext &ctx) const |
Private Member Functions | |
| void | processDigit (const EventContext &ctx, DigitPtr_t &&digit, HandleCache &hCache) const |
| Process a digit to be converted to a 1D measurement. | |
| void | processDigit (const EventContext &ctx, TwinDigit_t &&digit, HandleCache &cache) const |
| StatusCode | processCsm (const EventContext &ctx, const MdtCsm *rdoColl, HandleCache &hCache) const |
| StatusCode | processCsmTwin (const EventContext &ctx, const MdtCsm *rdoColl, HandleCache &hCache) const |
| StatusCode | processPRDHashes (const EventContext &ctx, const std::vector< IdentifierHash > &chamberHashInRobs, HandleCache &hCache) const |
Private Attributes | |
| ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"} |
| tools and services | |
| ToolHandle< IMdtCalibrationTool > | m_calibrationTool {this, "CalibrationTool", "MdtCalibrationTool"} |
| ToolHandle< Muon::IMDT_RDO_Decoder > | m_mdtDecoder {this, "Decoder", "Muon::MdtRDO_Decoder/MdtRDO_Decoder"} |
| const MuonGMR4::MuonDetectorManager * | m_detMgrR4 {nullptr} |
| SG::ReadHandleKey< ActsTrk::GeometryContext > | m_geoCtxKey {this, "AlignmentKey", "ActsAlignment", "Stored alignment"} |
| SG::ReadHandleKey< MdtCsmContainer > | m_rdoContainerKey {this, "RDOContainer", "MDTCSM"} |
| SG::ReadCondHandleKey< Muon::TwinTubeMap > | m_twinTubeKey {this, "TwinTubeKey", "MdtTwinTubeMap"} |
| SG::ReadCondHandleKey< MuonMDT_CablingMap > | m_cablingKey {this, "ReadKey", "MuonMDT_CablingMap", "Key of MuonMDT_CablingMap"} |
| Gaudi::Property< int > | m_adcCut {this, "AdcCut", 50, "Minimal cut on the adc to convert it into a prepdata object"} |
| Gaudi::Property< bool > | m_calibratePrepData {this, "CalibratePrepData", true} |
| toggle on/off calibration of MdtPrepData | |
| Gaudi::Property< bool > | m_useTwin {this, "UseTwin", true} |
| SG::WriteHandleKey< xAOD::MdtDriftCircleContainer > | m_xAODKey {this, "xAODKey", "xMdtDriftCircles", "If empty, do not produce xAOD, otherwise this is the key of the output xAOD MDT PRD container"} |
| SG::WriteHandleKey< xAOD::MdtTwinDriftCircleContainer > | m_xAODTwinKey {this, "xAODTwinKey", "xMdtTwinDriftCircles", "If empty, do not produce xAOD, otherwise this is the key of the output xAOD MDT PRD container"} |
Tool to produce MDT PRDs for Run 4.
Definition at line 38 of file MdtRdoToMdtPrepDataTool.h.
|
protected |
Abrivate the digit pointer.
Definition at line 55 of file MdtRdoToMdtPrepDataTool.h.
|
protected |
Store the digits per chamber to ensure sorting.
Definition at line 58 of file MdtRdoToMdtPrepDataTool.h.
|
protected |
Definition at line 56 of file MdtRdoToMdtPrepDataTool.h.
|
default |
default destructor
|
overridevirtual |
Decode method - declared in Muon::IMuonRdoToPrepDataTool.
Construct the hashes from the existing RDOs
Definition at line 25 of file MdtRdoToMdtPrepDataTool.cxx.
|
overridevirtual |
Definition at line 53 of file MdtRdoToMdtPrepDataTool.cxx.
|
overridevirtual |
standard Athena-Algorithm method
Definition at line 10 of file MdtRdoToMdtPrepDataTool.cxx.
|
private |
MDT hit context
Definition at line 186 of file MdtRdoToMdtPrepDataTool.cxx.
|
private |
check for the twin tube id
Definition at line 218 of file MdtRdoToMdtPrepDataTool.cxx.
|
private |
Process a digit to be converted to a 1D measurement.
| ctx | EventContext to access the calibration constants |
| digit | Pointer to the digit for conversion |
| hCache | Data cache handling the container to which the measurement is appended |
Definition at line 74 of file MdtRdoToMdtPrepDataTool.cxx.
|
private |
Definition at line 135 of file MdtRdoToMdtPrepDataTool.cxx.
|
private |
Definition at line 280 of file MdtRdoToMdtPrepDataTool.cxx.
|
overridevirtual |
Definition at line 59 of file MdtRdoToMdtPrepDataTool.cxx.
|
protected |
Definition at line 64 of file MdtRdoToMdtPrepDataTool.cxx.
|
private |
Definition at line 119 of file MdtRdoToMdtPrepDataTool.h.
|
private |
Definition at line 116 of file MdtRdoToMdtPrepDataTool.h.
|
private |
toggle on/off calibration of MdtPrepData
Definition at line 120 of file MdtRdoToMdtPrepDataTool.h.
|
private |
Definition at line 106 of file MdtRdoToMdtPrepDataTool.h.
|
private |
Definition at line 108 of file MdtRdoToMdtPrepDataTool.h.
|
private |
Definition at line 111 of file MdtRdoToMdtPrepDataTool.h.
|
private |
tools and services
Definition at line 105 of file MdtRdoToMdtPrepDataTool.h.
|
private |
Definition at line 107 of file MdtRdoToMdtPrepDataTool.h.
|
private |
Definition at line 112 of file MdtRdoToMdtPrepDataTool.h.
|
private |
Definition at line 115 of file MdtRdoToMdtPrepDataTool.h.
|
private |
Definition at line 121 of file MdtRdoToMdtPrepDataTool.h.
|
private |
Definition at line 123 of file MdtRdoToMdtPrepDataTool.h.
|
private |
Definition at line 124 of file MdtRdoToMdtPrepDataTool.h.