ATLAS Offline Software
LArCalorimeter
LArGeoModel
LArHV
src
FCALHVLine.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/FCALHVLine.h
"
6
#include "
LArHV/FCALHVModule.h
"
7
#include "
LArHV/FCALHVManager.h
"
8
#include "
FCALHVPayload.h
"
9
10
class
FCALHVLine::Clockwork
{
11
public
:
12
Clockwork
(
const
FCALHVModule
* modulePtr
13
,
unsigned
int
line
)
14
:
module
(modulePtr)
15
,
iLine
(
line
)
16
{}
17
18
const
FCALHVModule
*
module
;
19
unsigned
int
iLine
;
20
};
21
22
FCALHVLine::FCALHVLine
(
const
FCALHVModule
*
module
23
,
unsigned
int
iLine)
24
: m_c(
new
Clockwork
(
module
,iLine))
25
{
26
}
27
28
FCALHVLine::~FCALHVLine
()
29
{
30
delete
m_c
;
31
}
32
33
const
FCALHVModule
&
FCALHVLine::getModule
()
const
34
{
35
return
*(
m_c
->
module
);
36
}
37
38
unsigned
int
FCALHVLine::getLineIndex
()
const
39
{
40
return
m_c
->
iLine
;
41
}
42
43
#if !(defined(SIMULATIONBASE) || defined(GENERATIONBASE))
44
int
FCALHVLine::hvLineNo
(
const
LArHVIdMapping
* hvIdMapping)
const
{
45
return
m_c
->
module
->
getManager
().
hvLineNo
(*
this
,hvIdMapping);
46
}
47
#endif
checkFileSG.line
line
Definition:
checkFileSG.py:75
FCALHVLine::Clockwork::module
const FCALHVModule * module
Definition:
FCALHVLine.cxx:18
FCALHVLine::FCALHVLine
FCALHVLine(const FCALHVModule *module, unsigned int iLine)
Definition:
FCALHVLine.cxx:22
CSV_InDetExporter.new
new
Definition:
CSV_InDetExporter.py:145
FCALHVManager::hvLineNo
int hvLineNo(const FCALHVLine &line, const LArHVIdMapping *hvIdMapping, HWIdentifier *hvlId=nullptr) const
Definition:
FCALHVManager.cxx:284
FCALHVLine::hvLineNo
int hvLineNo(const LArHVIdMapping *hvIdMapping) const
Definition:
FCALHVLine.cxx:44
FCALHVLine::Clockwork
Definition:
FCALHVLine.cxx:10
FCALHVLine::Clockwork::Clockwork
Clockwork(const FCALHVModule *modulePtr, unsigned int line)
Definition:
FCALHVLine.cxx:12
FCALHVLine::getModule
const FCALHVModule & getModule() const
Definition:
FCALHVLine.cxx:33
FCALHVLine.h
python.PyAthena.module
module
Definition:
PyAthena.py:131
FCALHVLine::m_c
Clockwork * m_c
Definition:
FCALHVLine.h:33
FCALHVLine::getLineIndex
unsigned int getLineIndex() const
Definition:
FCALHVLine.cxx:38
FCALHVModule::getManager
const FCALHVManager & getManager() const
Definition:
FCALHVModule.cxx:83
LArHVIdMapping
Definition:
LArHVIdMapping.h:21
FCALHVModule.h
FCALHVManager.h
FCALHVLine::~FCALHVLine
~FCALHVLine()
Definition:
FCALHVLine.cxx:28
FCALHVLine::Clockwork::iLine
unsigned int iLine
Definition:
FCALHVLine.cxx:19
FCALHVPayload.h
FCALHVModule
Describes one HV Module within the FCAL.
Definition:
FCALHVModule.h:20
Generated on Wed Jan 22 2025 21:10:24 for ATLAS Offline Software by
1.8.18