ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArG4
LArG4SD
src
FCALSDTool.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_FCALSDTOOL_H
6
#define LARG4SD_FCALSDTOOL_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
FCALSDTool
:
public
SimpleSDTool
25
{
26
public
:
27
29
FCALSDTool
(
const
std::string&
type
,
const
std::string& name,
30
const
IInterface* parent);
31
32
private
:
34
StatusCode
initializeCalculators
() override final;
35
37
G4VSensitiveDetector*
makeSD
()
const
override final;
38
41
Gaudi
::
Property
<
std
::
vector
<
std
::
string
>>
m_fcal1Volumes
{
this
,
"FCAL1Volumes"
};
42
Gaudi::Property<std::vector<std::string>>
m_fcal2Volumes
{
this
,
"FCAL2Volumes"
};
43
Gaudi::Property<std::vector<std::string>>
m_fcal3Volumes
{
this
,
"FCAL3Volumes"
};
45
46
ServiceHandle<ILArCalculatorSvc>
m_fcal1calc
{
this
,
"FCAL1Calculator"
47
,
"FCAL1Calculator"
};
//LArFCAL1Calculator::GetInstance()
48
ServiceHandle<ILArCalculatorSvc>
m_fcal2calc
{
this
,
"FCAL2Calculator"
49
,
"FCAL2Calculator"
};
//LArFCAL2Calculator::GetInstance()
50
ServiceHandle<ILArCalculatorSvc>
m_fcal3calc
{
this
,
"FCAL3Calculator"
51
,
"FCAL3Calculator"
};
//LArFCAL3Calculator::GetInstance()
52
};
// class FCALSDTool
53
}
// namespace LArG4
54
#endif
ILArCalculatorSvc.h
SimpleSDTool.h
Defines the SimpleSDTool class.
LArG4::FCALSDTool::m_fcal1Volumes
Gaudi::Property< std::vector< std::string > > m_fcal1Volumes
List of volumes for each SD.
Definition
FCALSDTool.h:41
LArG4::FCALSDTool::m_fcal3calc
ServiceHandle< ILArCalculatorSvc > m_fcal3calc
Definition
FCALSDTool.h:50
LArG4::FCALSDTool::FCALSDTool
FCALSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
LArG4::FCALSDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Create the SD wrapper for current worker thread.
LArG4::FCALSDTool::m_fcal2Volumes
Gaudi::Property< std::vector< std::string > > m_fcal2Volumes
Definition
FCALSDTool.h:42
LArG4::FCALSDTool::m_fcal2calc
ServiceHandle< ILArCalculatorSvc > m_fcal2calc
Definition
FCALSDTool.h:48
LArG4::FCALSDTool::initializeCalculators
StatusCode initializeCalculators() override final
Initialize Calculator Services.
LArG4::FCALSDTool::m_fcal3Volumes
Gaudi::Property< std::vector< std::string > > m_fcal3Volumes
Definition
FCALSDTool.h:43
LArG4::FCALSDTool::m_fcal1calc
ServiceHandle< ILArCalculatorSvc > m_fcal1calc
Definition
FCALSDTool.h:46
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.17.0