ATLAS Offline Software
Loading...
Searching...
No Matches
EMBHVModule.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LARHV_EMBHVMODULE_H
6#define LARHV_EMBHVMODULE_H
7
8#include <memory>
9
10class EMBHVManager;
11class EMBHVElectrode;
12
20
22{
23 public:
24 // The ownership of the EMBHVManager pointer NOT transferred to EMBHVModule
25 EMBHVModule(const EMBHVManager *manager
26 , unsigned int iSide
27 , unsigned int iEta
28 , unsigned int iPhi
29 , unsigned int iSector);
31
32 unsigned int getEtaIndex() const;
33 unsigned int getPhiIndex() const;
34 unsigned int getSectorIndex() const;
35
36 unsigned int getNumElectrodes() const { return 64; }
37
38 // Gets an electrode
39 const EMBHVElectrode& getElectrode(unsigned int iElectrode) const;
40
41 // Side Index (0=Negative, 1=Positive)
42 unsigned int getSideIndex() const;
43
44 double getEtaMin() const;
45 double getEtaMax() const;
46 double getPhiMin() const;
47 double getPhiMax() const;
48
49 const EMBHVManager& getManager() const;
50
51 private:
52
54 EMBHVModule(const EMBHVModule& right);
55
56 class Clockwork;
57 std::unique_ptr<Clockwork> m_c;
58
59 friend class ImaginaryFriend;
60};
61
62#endif
This class provides direct access to information on the HV electrodes within the barrels.
std::unique_ptr< Clockwork > m_c
Definition EMBHVModule.h:57
EMBHVModule(const EMBHVModule &right)
const EMBHVElectrode & getElectrode(unsigned int iElectrode) const
EMBHVModule(const EMBHVManager *manager, unsigned int iSide, unsigned int iEta, unsigned int iPhi, unsigned int iSector)
EMBHVModule & operator=(const EMBHVModule &right)
double getEtaMin() const
double getPhiMax() const
unsigned int getSectorIndex() const
const EMBHVManager & getManager() const
unsigned int getPhiIndex() const
unsigned int getSideIndex() const
double getEtaMax() const
double getPhiMin() const
friend class ImaginaryFriend
Definition EMBHVModule.h:59
unsigned int getEtaIndex() const
unsigned int getNumElectrodes() const
Definition EMBHVModule.h:36