ATLAS Offline Software
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 
11 public:
12  Clockwork(const FCALHVModule* modulePtr
13  , unsigned int line)
14  : module(modulePtr)
15  , iLine(line)
16  {}
17 
19  unsigned int iLine;
20 };
21 
23  , unsigned int iLine)
24  : m_c(new Clockwork(module,iLine))
25 {
26 }
27 
29 {
30  delete m_c;
31 }
32 
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
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
FCALHVManager::hvLineNo
int hvLineNo(const FCALHVLine &line, const LArHVIdMapping *hvIdMapping) const
Definition: FCALHVManager.cxx:284