ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
HECHVManager.h
HECHVModule.h
HECHVPayload.h
HECHVSubgap.h
HECHVModule
Describes one HV Module within the HEC.
Definition
HECHVModule.h:23
HECHVSubgap::Clockwork
Definition
HECHVSubgap.cxx:11
HECHVSubgap::Clockwork::Clockwork
Clockwork(const HECHVModule *modulePtr, unsigned int subgap)
Definition
HECHVSubgap.cxx:13
HECHVSubgap::Clockwork::iSubgap
unsigned int iSubgap
Definition
HECHVSubgap.cxx:20
HECHVSubgap::Clockwork::module
const HECHVModule * module
Definition
HECHVSubgap.cxx:19
HECHVSubgap::HECHVSubgap
HECHVSubgap(const HECHVModule *module, unsigned int iSubgap)
Definition
HECHVSubgap.cxx:23
HECHVSubgap::getModule
const HECHVModule & getModule() const
Definition
HECHVSubgap.cxx:34
HECHVSubgap::~HECHVSubgap
~HECHVSubgap()
Definition
HECHVSubgap.cxx:29
HECHVSubgap::getSubgapIndex
unsigned int getSubgapIndex() const
Definition
HECHVSubgap.cxx:39
HECHVSubgap::hvLineNo
int hvLineNo(const LArHVIdMapping *hvIdMapping) const
Definition
HECHVSubgap.cxx:45
HECHVSubgap::m_c
Clockwork * m_c
Definition
HECHVSubgap.h:35
LArHVIdMapping
Definition
LArHVIdMapping.h:21
Generated on
for ATLAS Offline Software by
1.17.0