ATLAS Offline Software
LArCalorimeter
LArGeoModel
LArHV
src
HECHVSubgap.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
LArHV/HECHVSubgap.h
"
6
#include "
LArHV/HECHVModule.h
"
7
#include "
LArHV/HECHVManager.h
"
8
9
#include "
HECHVPayload.h
"
10
11
class
HECHVSubgap::Clockwork
{
12
public
:
13
Clockwork
(
const
HECHVModule
* modulePtr
14
,
unsigned
int
subgap)
15
:
module
(modulePtr)
16
,
iSubgap
(subgap)
17
{}
18
19
const
HECHVModule
*
module
;
20
unsigned
int
iSubgap
;
21
};
22
23
HECHVSubgap::HECHVSubgap
(
const
HECHVModule
*
module
24
,
unsigned
int
iSubgap)
25
:m_c(
new
Clockwork
(
module
,iSubgap))
26
{
27
}
28
29
HECHVSubgap::~HECHVSubgap
()
30
{
31
delete
m_c
;
32
}
33
34
const
HECHVModule
&
HECHVSubgap::getModule
()
const
35
{
36
return
*(
m_c
->
module
);
37
}
38
39
unsigned
int
HECHVSubgap::getSubgapIndex
()
const
40
{
41
return
m_c
->
iSubgap
;
42
}
43
44
#if !(defined(SIMULATIONBASE) || defined(GENERATIONBASE))
45
int
HECHVSubgap::hvLineNo
(
const
LArHVIdMapping
* hvIdMapping)
const
{
46
return
m_c
->
module
->
getManager
().
hvLineNo
(*
this
,hvIdMapping);
47
}
48
#endif
HECHVModule
Describes one HV Module within the HEC.
Definition:
HECHVModule.h:21
HECHVSubgap::Clockwork::Clockwork
Clockwork(const HECHVModule *modulePtr, unsigned int subgap)
Definition:
HECHVSubgap.cxx:13
HECHVSubgap::Clockwork
Definition:
HECHVSubgap.cxx:11
CSV_InDetExporter.new
new
Definition:
CSV_InDetExporter.py:145
HECHVModule::getManager
const HECHVManager & getManager() const
Definition:
HECHVModule.cxx:89
HECHVManager.h
python.PyAthena.module
module
Definition:
PyAthena.py:131
HECHVSubgap::HECHVSubgap
HECHVSubgap(const HECHVModule *module, unsigned int iSubgap)
Definition:
HECHVSubgap.cxx:23
HECHVSubgap::hvLineNo
int hvLineNo(const LArHVIdMapping *hvIdMapping) const
Definition:
HECHVSubgap.cxx:45
HECHVSubgap.h
HECHVPayload.h
HECHVSubgap::getModule
const HECHVModule & getModule() const
Definition:
HECHVSubgap.cxx:34
HECHVSubgap::getSubgapIndex
unsigned int getSubgapIndex() const
Definition:
HECHVSubgap.cxx:39
HECHVSubgap::Clockwork::iSubgap
unsigned int iSubgap
Definition:
HECHVSubgap.cxx:20
HECHVSubgap::m_c
Clockwork * m_c
Definition:
HECHVSubgap.h:34
HECHVSubgap::~HECHVSubgap
~HECHVSubgap()
Definition:
HECHVSubgap.cxx:29
LArHVIdMapping
Definition:
LArHVIdMapping.h:21
HECHVSubgap::Clockwork::module
const HECHVModule * module
Definition:
HECHVSubgap.cxx:19
HECHVModule.h
HECHVManager::hvLineNo
int hvLineNo(const HECHVSubgap &subgap, const LArHVIdMapping *hvIdMapping, HWIdentifier *hvlId=nullptr) const
Definition:
HECHVManager.cxx:298
Generated on Mon Sep 29 2025 21:11:03 for ATLAS Offline Software by
1.8.18