ATLAS Offline Software
MuonSpectrometer
MuonDigitization
MDT_Digitization
src
MDT_Response_DigiTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MDT_DIGITIZATION_MDT_RESPONSE_DIGITOOL_H
6
#define MDT_DIGITIZATION_MDT_RESPONSE_DIGITOOL_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "CLHEP/Random/RandomEngine.h"
10
#include "
MDT_Digitization/IMDT_DigitizationTool.h
"
11
#include "
MDT_Digitization/MdtDigiToolOutput.h
"
12
#include "
StoreGate/ReadCondHandleKey.h
"
13
#include "
MuonReadoutGeometry/MuonDetectorManager.h
"
14
#include "
MDT_Response/MDT_Response.h
"
15
/*-----------------------------------------------
16
17
Created 7-5-2004 by Niels van Eldik
18
19
Digitization tool which uses MDT_Response to convert MDT digitization
20
input quantities into the output
21
22
-----------------------------------------------*/
23
24
class
MdtIdHelper
;
25
26
class
MDT_Response_DigiTool
:
public
AthAlgTool
,
virtual
public
IMDT_DigitizationTool
{
27
public
:
28
MDT_Response_DigiTool
(
const
std::string&
type
,
const
std::string&
name
,
const
IInterface*
parent
);
29
30
MdtDigiToolOutput
digitize
(
const
EventContext& ctx,
31
const
MdtDigiToolInput
&
input
,
32
CLHEP::HepRandomEngine* rndmEngine)
const
;
33
34
StatusCode
initialize
();
35
36
37
38
private
:
39
SG::ReadCondHandleKey<MuonGM::MuonDetectorManager>
m_detMgrKey
{
this
,
"DetMgr"
,
"MuonDetectorManager"
,
""
};
40
41
42
Gaudi::Property<double>
m_clusterDensity
{
this
,
"ClusterDensity"
, 8.5};
43
Gaudi::Property<double>
m_threshold
{
this
,
"Threshold"
, 20.};
44
Gaudi::Property<double>
m_attenuationLength
{
this
,
"AttenuationLength"
, 16000};
45
Gaudi::Property<bool>
m_DoQballGamma
{
this
,
"DoQballGamma"
,
false
};
46
};
47
48
#endif
MDT_Response_DigiTool
Definition:
MDT_Response_DigiTool.h:26
MdtDigiToolInput
Definition:
MdtDigiToolInput.h:26
MDT_Response_DigiTool::m_clusterDensity
Gaudi::Property< double > m_clusterDensity
Definition:
MDT_Response_DigiTool.h:42
MDT_Response_DigiTool::initialize
StatusCode initialize()
Definition:
MDT_Response_DigiTool.cxx:58
MDT_Response_DigiTool::digitize
MdtDigiToolOutput digitize(const EventContext &ctx, const MdtDigiToolInput &input, CLHEP::HepRandomEngine *rndmEngine) const
Definition:
MDT_Response_DigiTool.cxx:19
MDT_Response_DigiTool::m_attenuationLength
Gaudi::Property< double > m_attenuationLength
Definition:
MDT_Response_DigiTool.h:44
MDT_Response.h
MdtDigiToolOutput
Definition:
MdtDigiToolOutput.h:19
IMDT_DigitizationTool
Definition:
IMDT_DigitizationTool.h:23
IMDT_DigitizationTool.h
MDT_Response_DigiTool::MDT_Response_DigiTool
MDT_Response_DigiTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
MDT_Response_DigiTool.cxx:14
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PlotPulseshapeFromCool.input
input
Definition:
PlotPulseshapeFromCool.py:106
AthAlgTool.h
MdtIdHelper
Definition:
MdtIdHelper.h:61
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
ReadCondHandleKey.h
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
MDT_Response_DigiTool::m_detMgrKey
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_detMgrKey
Definition:
MDT_Response_DigiTool.h:39
MuonDetectorManager.h
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager >
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
MDT_Response_DigiTool::m_DoQballGamma
Gaudi::Property< bool > m_DoQballGamma
Definition:
MDT_Response_DigiTool.h:45
MDT_Response_DigiTool::m_threshold
Gaudi::Property< double > m_threshold
Definition:
MDT_Response_DigiTool.h:43
AthAlgTool
Definition:
AthAlgTool.h:26
MdtDigiToolOutput.h
Generated on Fri Jan 10 2025 21:13:53 for ATLAS Offline Software by
1.8.18