ATLAS Offline Software
Loading...
Searching...
No Matches
MuonPhaseII/MuonDigitization/MdtDigitizationR4/src/MdtDigitizationTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MDT_DIGITIZATIONR4_MDTDIGITIZATIONTOOL_H
5#define MDT_DIGITIZATIONR4_MDTDIGITIZATIONTOOL_H
6
7
14
15namespace MuonR4{
17 public:
18 MdtDigitizationTool(const std::string& type, const std::string& name, const IInterface* pIID);
19
20 StatusCode initialize() override final;
21 protected:
22 StatusCode digitize(const EventContext& ctx,
23 const TimedHits& hitsToDigit,
24 xAOD::MuonSimHitContainer* sdoContainer) const override final;
25
26
27 private:
28 SG::WriteHandleKey<MdtDigitContainer> m_writeKey{this, "OutputObjectName", "MDT_Digits"};
29
31 "Conditions object containing the calibrations"};
32
33
34 SG::ReadCondHandleKey<MdtCondDbData> m_badTubeKey{this, "BadTubeKey", "MdtCondDbData", "Key of MdtCondDbData"};
35
36 SG::ReadCondHandleKey<Muon::TwinTubeMap> m_twinTubeKey{this, "TwinTubeKey", "MdtTwinTubeMap"};
37
38 ToolHandle<IMDT_DigitizationTool> m_digiTool{this, "DigitizationTool", ""};
39
40 Gaudi::Property<double> m_timeResTDC{this, "ResolutionTDC", 0.5 * Gaudi::Units::ns, "TDC time resolution"};
41 Gaudi::Property<double> m_timeResADC{this, "ResolutionADC", 0.5 * Gaudi::Units::ns, "ADC time resolution"};
42 Gaudi::Property<double> m_deadTime{this, "DeadTime", 700., "MDT drift tube dead time"};
43 Gaudi::Property<bool> m_digitizeMuonOnly{this, "ProcessTrueMuonsOnly", false, "If set to true hit with pdgId != 13 are skipped"};
45 Gaudi::Property<bool> m_useTwinTube{this, "useTwinTubes", false};
46 Gaudi::Property<double> m_resTwin{this, "ResolutionTwinTube", 1.05 * Gaudi::Units::ns, "Twin Tube resolution"};
47
48
50
51 };
52}
53#endif
Gaudi::Property< bool > m_useTwinTube
Properties to model the Twin tube signals.
SG::ReadCondHandleKey< MuonCalib::MdtCalibDataContainer > m_calibDbKey
StatusCode digitize(const EventContext &ctx, const TimedHits &hitsToDigit, xAOD::MuonSimHitContainer *sdoContainer) const override final
Digitize the time ordered hits and write them to the digit format specific for the detector technolog...
MdtDigitizationTool(const std::string &type, const std::string &name, const IInterface *pIID)
Barebone implementation of the I/O infrastructure for all MuonDigitizationTools.
std::vector< TimedHitPtr< xAOD::MuonSimHit > > TimedHits
std::vector< std::unique_ptr< DetType > > OutDigitCache_t
DigitContainers are sorted by DigitCollections which are the ensemble of all hits in a given MuonCham...
Property holding a SG store/key/clid from which a WriteHandle is made.
This header ties the generic definitions in this package.
MuonSimHitContainer_v1 MuonSimHitContainer
Define the version of the pixel cluster container.