ATLAS Offline Software
Loading...
Searching...
No Matches
EMECHVElectrode.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_EMECHVELECTRODE_H
6#define LARHV_EMECHVELECTRODE_H
7
8class EMECHVModule;
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 EMECHVElectrode
18 EMECHVElectrode(const EMECHVModule* module, unsigned int iElectrode);
20
21 unsigned int getElectrodeIndex() const;
22
23 // returns a pointer to the module that owns this electrode.
24 const EMECHVModule& getModule() const;
25
26 double getPhi() const;
27
28 // HVLine no
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
int hvLineNo(int iGap, const LArHVIdMapping *hvIdMapping) const
EMECHVElectrode(const EMECHVModule *module, unsigned int iElectrode)
EMECHVElectrode & operator=(const EMECHVElectrode &right)
EMECHVElectrode(const EMECHVElectrode &right)
double getPhi() const
unsigned int getElectrodeIndex() const
const EMECHVModule & getModule() const