ATLAS Offline Software
Loading...
Searching...
No Matches
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"
8#include "FCALHVPayload.h"
9
11public:
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
38unsigned int FCALHVLine::getLineIndex() const
39{
40 return m_c->iLine;
41}
42
43#if !(defined(SIMULATIONBASE) || defined(GENERATIONBASE))
44int FCALHVLine::hvLineNo(const LArHVIdMapping* hvIdMapping) const {
45 return m_c->module->getManager().hvLineNo(*this,hvIdMapping);
46}
47#endif
const FCALHVModule * module
Clockwork(const FCALHVModule *modulePtr, unsigned int line)
const FCALHVModule & getModule() const
int hvLineNo(const LArHVIdMapping *hvIdMapping) const
FCALHVLine(const FCALHVModule *module, unsigned int iLine)
Clockwork * m_c
Definition FCALHVLine.h:34
unsigned int getLineIndex() const
Describes one HV Module within the FCAL.