![]() |
ATLAS Offline Software
|
Tool to produce MDT PRDs. More...
#include <MdtRdoToPrepDataToolMT.h>
Classes | |
| struct | ConvCache |
| Helper struct to parse the event data around the tool. More... | |
Public Member Functions | |
| virtual | ~MdtRdoToPrepDataToolMT ()=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 | provideEmptyContainer (const EventContext &ctx) const override |
| virtual StatusCode | decode (const EventContext &ctx, const std::vector< uint32_t > &robIds) const override |
Protected Member Functions | |
| void | printPrepDataImpl (const Muon::MdtPrepDataContainer *mdtPrepDataContainer) const |
| Muon::MdtDriftCircleStatus | getMdtTwinPosition (const MdtDigit &prompt_digit, const MdtDigit &twin_digit, double &radius, double &errRadius, double &zTwin, double &errZTwin, bool &twinIsPrompt) const |
| method to get the twin tube 2nd coordinate | |
| StatusCode | processCsm (const EventContext &ctx, ConvCache &mdtPrepDataContainer, const MdtCsm *rdoColl) const |
| StatusCode | processCsmTwin (const EventContext &ctx, ConvCache &mdtPrepDataContainer, const MdtCsm *rdoColll) const |
| std::unique_ptr< MdtPrepData > | createPrepData (const MdtCalibInput &calibInput, const MdtCalibOutput &calibOutput, ConvCache &cache) const |
| Creates the PRD object. | |
| ConvCache | setupMdtPrepDataContainer (const EventContext &ctx) const |
| Creates the prep data container to be written. | |
| const MdtCsmContainer * | getRdoContainer (const EventContext &ctx) const |
| Loads the input RDO container from StoreGate. | |
| void | processPRDHashes (const EventContext &ctx, ConvCache &mdtPrepDataContainer, const std::vector< IdentifierHash > &chamberHashInRobs) const |
| bool | handlePRDHash (const EventContext &ctx, ConvCache &mdtPrepDataContainer, IdentifierHash rdoHash) const |
| void | initDeadChannels (const MuonGM::MdtReadoutElement *mydetEl) |
Protected Attributes | |
| ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"} |
| ToolHandle< IMdtCalibrationTool > | m_calibrationTool {this, "CalibrationTool", "MdtCalibrationTool"} |
| MDT calibration service. | |
| Gaudi::Property< bool > | m_useNewGeo |
| const MuonGMR4::MuonDetectorManager * | m_detMgrR4 {nullptr} |
| SG::ReadHandleKey< ActsTrk::GeometryContext > | m_geoCtxKey {this, "AlignmentKey", "ActsAlignment", "Stored alignment"} |
| SG::WriteHandleKey< Muon::MdtPrepDataContainer > | m_mdtPrepDataContainerKey {this, "OutputCollection", "MDT_DriftCircles"} |
| MdtPrepRawData containers. | |
| SG::ReadHandleKey< MdtCsmContainer > | m_rdoContainerKey {this, "RDOContainer", "MDTCSM"} |
| Gaudi::Property< int > | m_adcCut |
| member variables for algorithm properties: | |
| Gaudi::Property< bool > | m_calibratePrepData {this, "CalibratePrepData", true} |
| toggle on/off calibration of MdtPrepData | |
| Gaudi::Property< bool > | m_decodeData {this, "DecodeData", true} |
| toggle on/off the decoding of MDT RDO into MdtPrepData | |
| bool | m_sortPrepData = false |
| Toggle on/off the sorting of the MdtPrepData. | |
| ToolHandle< Muon::IMDT_RDO_Decoder > | m_mdtDecoder {this, "Decoder", "Muon::MdtRDO_Decoder/MdtRDO_Decoder"} |
| bool | m_BMGpresent {false} |
| int | m_BMGid {-1} |
| Gaudi::Property< bool > | m_useTwin {this, "UseTwin", true} |
| Gaudi::Property< bool > | m_discardSecondaryHitTwin {this, "DiscardSecondaryHitTwin", false} |
| SG::ReadCondHandleKey< TwinTubeMap > | m_twinTubeKey {this, "TwinTubeKey", "MdtTwinTubeMap"} |
| std::unordered_set< Identifier > | m_DeadChannels {} |
| SG::ReadCondHandleKey< MuonMDT_CablingMap > | m_readKey {this, "ReadKey", "MuonMDT_CablingMap", "Key of MuonMDT_CablingMap"} |
| SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > | m_muDetMgrKey |
| SG::UpdateHandleKey< MdtPrepDataCollection_Cache > | m_prdContainerCacheKey |
| This is the key for the cache for the MDT PRD containers, can be empty. | |
| SG::WriteHandleKey< xAOD::MdtDriftCircleContainer > | m_xAODKey {this, "xAODKey", "", "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", "", "If empty, do not produce xAOD, otherwise this is the key of the output xAOD MDT PRD container"} |
Tool to produce MDT PRDs.
Definition at line 40 of file MdtRdoToPrepDataToolMT.h.
|
virtualdefault |
default destructor
|
protected |
Creates the PRD object.
Test by how much do we break frozen Tier0
Definition at line 292 of file MdtRdoToPrepDataToolMT.cxx.
|
overridevirtual |
Decode method - declared in Muon::IMuonRdoToPrepDataTool.
Construct the hashes from the existing RDOs
Definition at line 258 of file MdtRdoToPrepDataToolMT.cxx.
|
overridevirtual |
Definition at line 210 of file MdtRdoToPrepDataToolMT.cxx.
|
protected |
method to get the twin tube 2nd coordinate
|
protected |
Loads the input RDO container from StoreGate.
Definition at line 216 of file MdtRdoToPrepDataToolMT.cxx.
|
protected |
Definition at line 237 of file MdtRdoToPrepDataToolMT.cxx.
|
protected |
Definition at line 549 of file MdtRdoToPrepDataToolMT.cxx.
|
overridevirtual |
standard Athena-Algorithm method
Definition at line 153 of file MdtRdoToPrepDataToolMT.cxx.
|
protected |
|
protected |
MDT hit context
Definition at line 331 of file MdtRdoToPrepDataToolMT.cxx.
|
protected |
MDT hit context
Create new PrepData
check for the twin tube id
Definition at line 422 of file MdtRdoToPrepDataToolMT.cxx.
|
protected |
Definition at line 230 of file MdtRdoToPrepDataToolMT.cxx.
|
overridevirtual |
Definition at line 226 of file MdtRdoToPrepDataToolMT.cxx.
|
protected |
Creates the prep data container to be written.
Retrieve the Geometry context if activated
Retrieve the legacy detector mananger if activated
Definition at line 580 of file MdtRdoToPrepDataToolMT.cxx.
|
protected |
member variables for algorithm properties:
Definition at line 136 of file MdtRdoToPrepDataToolMT.h.
|
protected |
Definition at line 145 of file MdtRdoToPrepDataToolMT.h.
|
protected |
Definition at line 144 of file MdtRdoToPrepDataToolMT.h.
|
protected |
toggle on/off calibration of MdtPrepData
Definition at line 138 of file MdtRdoToPrepDataToolMT.h.
|
protected |
MDT calibration service.
Definition at line 119 of file MdtRdoToPrepDataToolMT.h.
|
protected |
Definition at line 154 of file MdtRdoToPrepDataToolMT.h.
|
protected |
toggle on/off the decoding of MDT RDO into MdtPrepData
Definition at line 139 of file MdtRdoToPrepDataToolMT.h.
|
protected |
Definition at line 125 of file MdtRdoToPrepDataToolMT.h.
|
protected |
Definition at line 149 of file MdtRdoToPrepDataToolMT.h.
|
protected |
Definition at line 126 of file MdtRdoToPrepDataToolMT.h.
|
protected |
Definition at line 116 of file MdtRdoToPrepDataToolMT.h.
|
protected |
Definition at line 142 of file MdtRdoToPrepDataToolMT.h.
|
protected |
MdtPrepRawData containers.
Definition at line 130 of file MdtRdoToPrepDataToolMT.h.
|
protected |
Definition at line 159 of file MdtRdoToPrepDataToolMT.h.
|
protected |
This is the key for the cache for the MDT PRD containers, can be empty.
Definition at line 162 of file MdtRdoToPrepDataToolMT.h.
|
protected |
Definition at line 132 of file MdtRdoToPrepDataToolMT.h.
|
protected |
Definition at line 157 of file MdtRdoToPrepDataToolMT.h.
|
protected |
Toggle on/off the sorting of the MdtPrepData.
Definition at line 140 of file MdtRdoToPrepDataToolMT.h.
|
protected |
Definition at line 152 of file MdtRdoToPrepDataToolMT.h.
|
protected |
Definition at line 122 of file MdtRdoToPrepDataToolMT.h.
|
protected |
Definition at line 148 of file MdtRdoToPrepDataToolMT.h.
|
protected |
Definition at line 166 of file MdtRdoToPrepDataToolMT.h.
|
protected |
Definition at line 167 of file MdtRdoToPrepDataToolMT.h.