#include <MDT_Response_DigiTool.h>
|
| SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > | m_detMgrKey {this, "DetMgr", "MuonDetectorManager", ""} |
| Gaudi::Property< double > | m_clusterDensity {this, "ClusterDensity" , 10.} |
| Gaudi::Property< double > | m_threshold {this, "Threshold" , 20.} |
| Gaudi::Property< double > | m_attenuationLength {this, "AttenuationLength", 30000} |
| Gaudi::Property< bool > | m_DoQballGamma {this, "DoQballGamma", false} |
| StoreGateSvc_t | m_evtStore |
| | Pointer to StoreGate (event store by default)
|
| StoreGateSvc_t | m_detStore |
| | Pointer to StoreGate (detector store by default)
|
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
Definition at line 26 of file MDT_Response_DigiTool.h.
◆ StoreGateSvc_t
◆ MDT_Response_DigiTool()
| MDT_Response_DigiTool::MDT_Response_DigiTool |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
◆ declareGaudiProperty()
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
158 {
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
◆ DeclareInterfaceID()
◆ declareProperty()
Definition at line 145 of file AthCommonDataStore.h.
145 {
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
◆ detStore()
◆ digitize()
Implements IMDT_DigitizationTool.
Definition at line 19 of file MDT_Response_DigiTool.cxx.
21 {
22
23 SG::ReadCondHandle<MuonGM::MuonDetectorManager> detMgr{
m_detMgrKey, ctx};
24 MDT_Response responseTube{};
25
26 responseTube.
SetTubeRadius(detMgr->getMdtReadoutElement(
input.getHitID())->innerTubeRadius());
30
34 double ParticleCharge =
input.electriccharge();
35 double ParticleGamma =
input.gamma();
36 if (ParticleGamma > 0.) {
37 if (responseTube.
GetSignal(ParticleCharge, ParticleGamma, rndmEngine)) {
40 }
41 } else {
45 }
46 }
47
48 } else {
52 }
53 }
54 MdtDigiToolOutput
output(
false, 0., 0.);
56}
void SetSegment(double r, double x)
void SetAttLength(double len)
double AdcResponse() const
void SetClusterDensity(double dens)
bool GetSignal(CLHEP::HepRandomEngine *rndmEngine)
void SetTubeRadius(double radius)
void SetTriggerElectron(double el)
◆ evtStore()
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ initialize()
| StatusCode MDT_Response_DigiTool::initialize |
( |
| ) |
|
Definition at line 58 of file MDT_Response_DigiTool.cxx.
58 {
60 return StatusCode::SUCCESS;
61}
#define ATH_CHECK
Evaluate an expression and check for errors.
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ msg()
◆ msgLvl()
| bool AthCommonMsg< AlgTool >::msgLvl |
( |
const MSG::Level | lvl | ) |
const |
|
inlineinherited |
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ renounce()
Definition at line 380 of file AthCommonDataStore.h.
381 {
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
◆ renounceArray()
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
Definition at line 308 of file AthCommonDataStore.h.
308 {
309
310
313 for (
auto k :
keys) {
315 }
316 }
317 }
std::vector< SG::VarHandleKeyArray * > m_vhka
◆ m_attenuationLength
| Gaudi::Property<double> MDT_Response_DigiTool::m_attenuationLength {this, "AttenuationLength", 30000} |
|
private |
◆ m_clusterDensity
| Gaudi::Property<double> MDT_Response_DigiTool::m_clusterDensity {this, "ClusterDensity" , 10.} |
|
private |
◆ m_detMgrKey
◆ m_detStore
◆ m_DoQballGamma
| Gaudi::Property<bool> MDT_Response_DigiTool::m_DoQballGamma {this, "DoQballGamma", false} |
|
private |
◆ m_evtStore
◆ m_threshold
| Gaudi::Property<double> MDT_Response_DigiTool::m_threshold {this, "Threshold" , 20.} |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files: