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