ATLAS Offline Software
Loading...
Searching...
No Matches
LArCalorimeter
LArG4
LArG4SD
src
HECSDTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARG4SD_HECSDTOOL_H
6
#define LARG4SD_HECSDTOOL_H
7
8
// System includes
9
#include <string>
10
#include <vector>
11
12
// Project includes
13
#include "
LArG4Code/SimpleSDTool.h
"
14
#include "
LArG4Code/ILArCalculatorSvc.h
"
15
16
namespace
LArG4
17
{
18
24
class
HECSDTool
:
public
SimpleSDTool
25
{
26
27
public
:
28
30
HECSDTool
(
const
std::string&
type
,
const
std::string& name,
31
const
IInterface* parent);
32
33
private
:
35
StatusCode
initializeCalculators
() override final;
36
38
G4VSensitiveDetector*
makeSD
()
const
override final;
39
42
Gaudi
::
Property
<
std
::
vector
<
std
::
string
>>
m_wheelVolumes
{
this
,
"WheelVolumes"
};
44
45
ServiceHandle<ILArCalculatorSvc>
m_heccalc
{
this
,
"HECWheelCalculator"
,
"HECWheelCalculator"
};
//LArHECWheelCalculator::GetCalculator()
46
};
// class HECSDTool
47
48
}
// namespace LArG4
49
50
#endif
ILArCalculatorSvc.h
SimpleSDTool.h
Defines the SimpleSDTool class.
LArG4::HECSDTool::initializeCalculators
StatusCode initializeCalculators() override final
Initialize Calculator Services.
LArG4::HECSDTool::m_heccalc
ServiceHandle< ILArCalculatorSvc > m_heccalc
Definition
HECSDTool.h:45
LArG4::HECSDTool::m_wheelVolumes
Gaudi::Property< std::vector< std::string > > m_wheelVolumes
List of volumes for each SD.
Definition
HECSDTool.h:42
LArG4::HECSDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Create the SD wrapper for current worker thread.
LArG4::HECSDTool::HECSDTool
HECSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
LArG4::SimpleSDTool::SimpleSDTool
SimpleSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Property
Support class for PropertyMgr.
Definition
Property.h:23
ServiceHandle
Definition
ClusterMakerTool.h:36
vector
Definition
MultiHisto.h:13
const
Gaudi
=============================================================================
Definition
CaloGPUClusterAndCellDataMonitorOptions.h:273
LArG4
Definition
LArWheelCalculatorEnums.h:8
std
STL namespace.
type
Generated on
for ATLAS Offline Software by
1.14.0