|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef LARG4_EC_HVHELPER_H
6 #define LARG4_EC_HVHELPER_H
16 #include "G4ThreeVector.hh"
21 namespace LArG4 {
namespace EC {
55 G4int, G4int, G4int, G4int
60 G4double phi, G4int compartment, G4int
eta_bin
65 virtual G4double
GetVoltage(
const G4ThreeVector&, G4int, G4int)
const;
67 const G4ThreeVector&,
const std::pair<G4int, G4int> &
98 G4int, G4int, G4int, G4int
99 )
const override final;
119 G4int, G4int, G4int, G4int
120 )
const override final;
132 #endif // LARG4_EC_HVHELPER_H
const G4int m_NumberOfElectrodesInPhiSection
virtual G4double GetVoltage(const G4ThreeVector &, G4int, G4int) const
HVHelperV00(const LArWheelCalculator *calc, const G4String &version, G4bool fromDB)
const LArWheelCalculator * m_calculator
static constexpr G4int s_NofElectrodesOut
virtual G4int GetPhiSection(G4int, G4int, G4int, G4int) const =0
const G4int m_NofPhiSections
HVHelperV02(const LArWheelCalculator *calc, const G4String &version, G4bool fromDB)
FILE * OpenFileAndCheckVersion(const G4String &version)
virtual void ReadMapFromFile(const G4String &version)=0
static constexpr G4int s_NofAtlasSide
void ReadMapFromFile(const G4String &version) override final
const G4double m_WheelShift
HVHelper(const LArWheelCalculator *calc, const G4String &version)
void ReadMapFromFile(const G4String &version) override final
G4int m_StartPhi[s_NofAtlasSide *s_NofEtaSection *s_NofElectrodeSide]
virtual G4double GetVoltage(const G4ThreeVector &, const std::pair< G4int, G4int > &) const
virtual G4int GetPhiSection(G4int, G4int, G4int, G4int) const override final
void SetStartPhi(G4int value, G4int side, G4int eta, G4int ele)
G4double GetVoltageBarrett(G4double phi, G4int compartment, G4int eta_bin) const
Class to provide easy MsgStream access and capabilities.
G4int StartPhi(G4int side, G4int eta, G4int ele) const
static std::unique_ptr< const HVHelper > CreateHelper(const LArWheelCalculator *calc, const G4String &version, G4bool fromDB)
G4double m_Values[s_NofAtlasSide][s_NofEtaSection][s_NofElectrodeSide][s_NofElectrodesOut]
Wrapper to avoid constant divisions when using units.
G4double GetVoltage(const G4ThreeVector &p) const
static const G4double s_EtaLimit[s_NofEtaSection+1]
const float EC[NC]
Energy levels for Carbon.
virtual G4int GetPhiSection(G4int, G4int, G4int, G4int) const override final
const LArWheelCalculator * lwc(void) const
G4int GetEtaSection(const G4ThreeVector &p) const
void AcquireMaps(const G4String &version, G4bool from_DB)
static constexpr G4int s_NofElectrodeSide
static constexpr G4int s_NofEtaSection