ATLAS Offline Software
SiLorentzAngleCondData.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
9 #ifndef SiLorentzAngleCondData_h
10 #define SiLorentzAngleCondData_h
11 
12 #include <vector>
13 #include "AthenaKernel/CLASS_DEF.h"
15 
23 public:
24  // Constructor
26  // Destructor
27  virtual ~SiLorentzAngleCondData() = default;
28 
30  void resize(const unsigned int size);
31 
34  double getLorentzShift(const IdentifierHash& elementHash) const;
35 
38  double getLorentzShiftEta(const IdentifierHash& elementHash) const;
39 
42  double getTanLorentzAngle(const IdentifierHash& elementHash) const;
43 
46  double getTanLorentzAngleEta(const IdentifierHash& elementHash) const;
47 
49  double getBiasVoltage(const IdentifierHash& elementHash) const;
50 
52  double getTemperature(const IdentifierHash& elementHash) const;
53 
55  double getDepletionVoltage(const IdentifierHash& elementHash) const;
56 
58  double getCorrectionFactor() const;
59 
62  void setLorentzShift(const IdentifierHash& elementHash, const double lorentzShift);
63 
66  void setLorentzShiftEta(const IdentifierHash& elementHash, const double lorentzShiftEta);
67 
70  void setTanLorentzAngle(const IdentifierHash& elementHash, const double tanLorentzAngle);
71 
74  void setTanLorentzAngleEta(const IdentifierHash& elementHash, const double tanLorentzAngleEta);
75 
77  void setBiasVoltage(const IdentifierHash& elementHash, const double biasVoltage);
78 
80  void setTemperature(const IdentifierHash& elementHash, const double temperature);
81 
83  void setDepletionVoltage(const IdentifierHash& elementHash, const double depletionVoltage);
84 
86  void setCorrectionFactor(const double correctionFactor);
87 
88 private:
89  std::vector<double> m_lorentzShift;
90  std::vector<double> m_lorentzShiftEta;
91  std::vector<double> m_tanLorentzAngle;
92  std::vector<double> m_tanLorentzAngleEta;
93  std::vector<double> m_monitorBiasVoltage;
94  std::vector<double> m_monitorTemperature;
95  std::vector<double> m_monitorDepletionVoltage;
97 
98  static const double s_invalidValue;
99 };
100 
101 CLASS_DEF(SiLorentzAngleCondData, 91712959, 1)
102 
103 #include "AthenaKernel/CondCont.h"
105 
106 #endif // SiLorentzAngleCondData_h
CONDCONT_MIXED_DEF
CONDCONT_MIXED_DEF(SiLorentzAngleCondData, 150548945)
SiLorentzAngleCondData::m_correctionFactor
double m_correctionFactor
Definition: SiLorentzAngleCondData.h:96
SiLorentzAngleCondData::m_monitorTemperature
std::vector< double > m_monitorTemperature
Definition: SiLorentzAngleCondData.h:94
SiLorentzAngleCondData::setBiasVoltage
void setBiasVoltage(const IdentifierHash &elementHash, const double biasVoltage)
Set bias voltage.
Definition: SiLorentzAngleCondData.cxx:110
SiLorentzAngleCondData::getCorrectionFactor
double getCorrectionFactor() const
Get correction factor.
Definition: SiLorentzAngleCondData.cxx:81
SiLorentzAngleCondData::getLorentzShiftEta
double getLorentzShiftEta(const IdentifierHash &elementHash) const
Get the Lorentz shift correction in the local y (etaDist) direction Assumes the center of the detecto...
Definition: SiLorentzAngleCondData.cxx:45
SiLorentzAngleCondData
Definition: SiLorentzAngleCondData.h:22
SiLorentzAngleCondData::getTanLorentzAngleEta
double getTanLorentzAngleEta(const IdentifierHash &elementHash) const
Get tan af the Lorentz angle in the local y (etaDist) direction Assumes the center of the detector an...
Definition: SiLorentzAngleCondData.cxx:57
SiLorentzAngleCondData::setDepletionVoltage
void setDepletionVoltage(const IdentifierHash &elementHash, const double depletionVoltage)
Set depletion voltage.
Definition: SiLorentzAngleCondData.cxx:122
SiLorentzAngleCondData::setLorentzShift
void setLorentzShift(const IdentifierHash &elementHash, const double lorentzShift)
Set the Lorentz shift correction in the local x (phiDist) direction Assumes the center of the detecto...
Definition: SiLorentzAngleCondData.cxx:86
SiLorentzAngleCondData::getTanLorentzAngle
double getTanLorentzAngle(const IdentifierHash &elementHash) const
Get tan af the Lorentz angle in the local x (phiDist) direction Assumes the center of the detector an...
Definition: SiLorentzAngleCondData.cxx:51
SiLorentzAngleCondData::setCorrectionFactor
void setCorrectionFactor(const double correctionFactor)
Set correction factor.
Definition: SiLorentzAngleCondData.cxx:128
SiLorentzAngleCondData::m_lorentzShift
std::vector< double > m_lorentzShift
Definition: SiLorentzAngleCondData.h:89
SiLorentzAngleCondData::getBiasVoltage
double getBiasVoltage(const IdentifierHash &elementHash) const
Get bias voltage.
Definition: SiLorentzAngleCondData.cxx:63
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
SiLorentzAngleCondData::setLorentzShiftEta
void setLorentzShiftEta(const IdentifierHash &elementHash, const double lorentzShiftEta)
Set the Lorentz shift correction in the local y (etaDist) direction Assumes the center of the detecto...
Definition: SiLorentzAngleCondData.cxx:92
SiLorentzAngleCondData::getDepletionVoltage
double getDepletionVoltage(const IdentifierHash &elementHash) const
Get depletion voltage.
Definition: SiLorentzAngleCondData.cxx:75
SiLorentzAngleCondData::setTemperature
void setTemperature(const IdentifierHash &elementHash, const double temperature)
Set temperature.
Definition: SiLorentzAngleCondData.cxx:116
SiLorentzAngleCondData::SiLorentzAngleCondData
SiLorentzAngleCondData()
Definition: SiLorentzAngleCondData.cxx:16
SiLorentzAngleCondData::s_invalidValue
static const double s_invalidValue
Definition: SiLorentzAngleCondData.h:98
IdentifierHash.h
SiLorentzAngleCondData::m_lorentzShiftEta
std::vector< double > m_lorentzShiftEta
Definition: SiLorentzAngleCondData.h:90
SiLorentzAngleCondData::~SiLorentzAngleCondData
virtual ~SiLorentzAngleCondData()=default
SiLorentzAngleCondData::m_tanLorentzAngleEta
std::vector< double > m_tanLorentzAngleEta
Definition: SiLorentzAngleCondData.h:92
SiLorentzAngleCondData::m_monitorBiasVoltage
std::vector< double > m_monitorBiasVoltage
Definition: SiLorentzAngleCondData.h:93
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
SiLorentzAngleCondData::m_monitorDepletionVoltage
std::vector< double > m_monitorDepletionVoltage
Definition: SiLorentzAngleCondData.h:95
SiLorentzAngleCondData::getLorentzShift
double getLorentzShift(const IdentifierHash &elementHash) const
Get the Lorentz shift correction in the local x (phiDist) direction Assumes the center of the detecto...
Definition: SiLorentzAngleCondData.cxx:39
SiLorentzAngleCondData::setTanLorentzAngleEta
void setTanLorentzAngleEta(const IdentifierHash &elementHash, const double tanLorentzAngleEta)
Set tan af the Lorentz angle in the local y (etaDist) direction Assumes the center of the detector an...
Definition: SiLorentzAngleCondData.cxx:104
SiLorentzAngleCondData::m_tanLorentzAngle
std::vector< double > m_tanLorentzAngle
Definition: SiLorentzAngleCondData.h:91
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
SiLorentzAngleCondData::resize
void resize(const unsigned int size)
Reszie the data members.
Definition: SiLorentzAngleCondData.cxx:28
CLASS_DEF.h
macros to associate a CLID to a type
SiLorentzAngleCondData::setTanLorentzAngle
void setTanLorentzAngle(const IdentifierHash &elementHash, const double tanLorentzAngle)
Set tan af the Lorentz angle in the local x (phiDist) direction Assumes the center of the detector an...
Definition: SiLorentzAngleCondData.cxx:98
SiLorentzAngleCondData::getTemperature
double getTemperature(const IdentifierHash &elementHash) const
Get temperature.
Definition: SiLorentzAngleCondData.cxx:69