ATLAS Offline Software
Loading...
Searching...
No Matches
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
8class EMBHVModule;
9
10#if !(defined(SIMULATIONBASE) || defined(GENERATIONBASE))
11class 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(const EMBHVModule *module, unsigned int iElectrode)
Clockwork * m_c
EMBHVElectrode & operator=(const EMBHVElectrode &right)
const EMBHVModule & getModule() const
int hvLineNo(int iGap, const LArHVIdMapping *hvIdMapping) const
EMBHVElectrode(const EMBHVElectrode &right)
double getPhi() const
unsigned int getElectrodeIndex() const
Describes one HV Module within the EMB.
Definition EMBHVModule.h:20