ATLAS Offline Software
Loading...
Searching...
No Matches
LArCalorimeter
LArG4
LArG4H6SD
src
H62004HECSDTool.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 LARG4H62004SD_H62004HECSDTOOL_H
6
#define LARG4H62004SD_H62004HECSDTOOL_H
7
8
// System includes
9
#include <string>
10
11
// Local includes
12
#include "
H62004SimpleSDTool.h
"
13
#include "
LArG4Code/ILArCalculatorSvc.h
"
14
namespace
LArG4
15
{
16
25
class
H62004HECSDTool
:
public
H62004SimpleSDTool
26
{
27
28
public
:
29
31
H62004HECSDTool
(
const
std::string&
type
,
const
std::string& name,
32
const
IInterface* parent);
33
34
private
:
35
36
StatusCode
initializeCalculators
() override final;
37
39
G4VSensitiveDetector*
makeSD
()
const
override final;
40
42
std
::
string
m_hitCollName
{
"LArHitHEC"
};
43
ServiceHandle<ILArCalculatorSvc>
m_calculator
{
this
,
"Calculator"
,
"LArH62004HECLocalCalculator"
};
44
};
// class H62004HECSDTool
45
46
}
// namespace LArG4
47
48
#endif
H62004SimpleSDTool.h
ILArCalculatorSvc.h
LArG4::H62004HECSDTool::initializeCalculators
StatusCode initializeCalculators() override final
Initialize Calculator Services.
LArG4::H62004HECSDTool::m_calculator
ServiceHandle< ILArCalculatorSvc > m_calculator
Definition
H62004HECSDTool.h:43
LArG4::H62004HECSDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Create the SD wrapper for current worker thread.
LArG4::H62004HECSDTool::H62004HECSDTool
H62004HECSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
LArG4::H62004HECSDTool::m_hitCollName
std::string m_hitCollName
Hit collection name.
Definition
H62004HECSDTool.h:42
LArG4::H62004SimpleSDTool::H62004SimpleSDTool
H62004SimpleSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
ServiceHandle
Definition
ClusterMakerTool.h:36
const
LArG4
Definition
LArWheelCalculatorEnums.h:8
std
STL namespace.
type
Generated on
for ATLAS Offline Software by
1.14.0