ATLAS Offline Software
Loading...
Searching...
No Matches
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"
8
9#include "HECHVPayload.h"
10
12public:
13 Clockwork(const HECHVModule* modulePtr
14 , unsigned int subgap)
15 : module(modulePtr)
16 , iSubgap(subgap)
17 {}
18
20 unsigned int iSubgap;
21};
22
24 , unsigned int iSubgap)
25 :m_c(new Clockwork(module,iSubgap))
26{
27}
28
30{
31 delete m_c;
32}
33
35{
36 return *(m_c->module);
37}
38
39unsigned int HECHVSubgap::getSubgapIndex() const
40{
41 return m_c->iSubgap;
42}
43
44#if !(defined(SIMULATIONBASE) || defined(GENERATIONBASE))
45int HECHVSubgap::hvLineNo(const LArHVIdMapping* hvIdMapping) const {
46 return m_c->module->getManager().hvLineNo(*this,hvIdMapping);
47}
48#endif
Describes one HV Module within the HEC.
Definition HECHVModule.h:21
Clockwork(const HECHVModule *modulePtr, unsigned int subgap)
const HECHVModule * module
HECHVSubgap(const HECHVModule *module, unsigned int iSubgap)
const HECHVModule & getModule() const
unsigned int getSubgapIndex() const
int hvLineNo(const LArHVIdMapping *hvIdMapping) const
Clockwork * m_c
Definition HECHVSubgap.h:35