ATLAS Offline Software
EMBHVElectrode.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LARHV_EMBHVELECTRODE_H
6 #define LARHV_EMBHVELECTRODE_H
7 
8 class EMBHVModule;
9 
10 #if !(defined(SIMULATIONBASE) || defined(GENERATIONBASE))
11 class LArHVIdMapping;
12 #endif
13 
15 {
16  public:
17  // The ownership of the EMBHVModule pointer NOT transferred to EMBHVElectrode
18  EMBHVElectrode(const EMBHVModule* module, unsigned int iElectrode);
20 
21  // Returns the index of this electrode.
22  unsigned int getElectrodeIndex() const;
23 
24  // returns a reference to the module that owns this electrode.
25  const EMBHVModule& getModule() const;
26 
27  double getPhi() const;
28 
29 #if !(defined(SIMULATIONBASE) || defined(GENERATIONBASE))
30  int hvLineNo(int iGap, const LArHVIdMapping* hvIdMapping) const;
31 #endif
32 
33  private:
36 
37  class Clockwork;
39 };
40 
41 #endif
EMBHVElectrode
Definition: EMBHVElectrode.h:15
EMBHVElectrode::operator=
EMBHVElectrode & operator=(const EMBHVElectrode &right)
python.PyAthena.module
module
Definition: PyAthena.py:131
EMBHVElectrode::hvLineNo
int hvLineNo(int iGap, const LArHVIdMapping *hvIdMapping) const
Definition: EMBHVElectrode.cxx:43
EMBHVElectrode::getElectrodeIndex
unsigned int getElectrodeIndex() const
Definition: EMBHVElectrode.cxx:48
EMBHVElectrode::Clockwork
Definition: EMBHVElectrode.cxx:12
EMBHVElectrode::getModule
const EMBHVModule & getModule() const
Definition: EMBHVElectrode.cxx:32
EMBHVElectrode::EMBHVElectrode
EMBHVElectrode(const EMBHVModule *module, unsigned int iElectrode)
Definition: EMBHVElectrode.cxx:22
EMBHVElectrode::EMBHVElectrode
EMBHVElectrode(const EMBHVElectrode &right)
EMBHVElectrode::m_c
Clockwork * m_c
Definition: EMBHVElectrode.h:37
LArHVIdMapping
Definition: LArHVIdMapping.h:21
EMBHVElectrode::getPhi
double getPhi() const
Definition: EMBHVElectrode.cxx:37
EMBHVElectrode::~EMBHVElectrode
~EMBHVElectrode()
Definition: EMBHVElectrode.cxx:27
EMBHVModule
Describes one HV Module within the EMB.
Definition: EMBHVModule.h:20