ATLAS Offline Software
Loading...
Searching...
No Matches
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>
15
21
23public:
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
88private:
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
102
103#include "AthenaKernel/CondCont.h"
105
106#endif // SiLorentzAngleCondData_h
#define CONDCONT_MIXED_DEF(...)
Definition CondCont.h:1446
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
This is a "hash" representation of an Identifier.
Concrete class for Lorentz angle conditions data for each detector element.
void setTemperature(const IdentifierHash &elementHash, const double temperature)
Set temperature.
std::vector< double > m_monitorDepletionVoltage
void setCorrectionFactor(const double correctionFactor)
Set correction factor.
std::vector< double > m_tanLorentzAngle
std::vector< double > m_tanLorentzAngleEta
void resize(const unsigned int size)
Reszie the data members.
double getLorentzShift(const IdentifierHash &elementHash) const
Get the Lorentz shift correction in the local x (phiDist) direction Assumes the center of the detecto...
double getTemperature(const IdentifierHash &elementHash) const
Get temperature.
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...
double getDepletionVoltage(const IdentifierHash &elementHash) const
Get depletion voltage.
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...
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...
std::vector< double > m_monitorBiasVoltage
void setBiasVoltage(const IdentifierHash &elementHash, const double biasVoltage)
Set bias voltage.
double getBiasVoltage(const IdentifierHash &elementHash) const
Get bias voltage.
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...
double getCorrectionFactor() const
Get correction factor.
void setDepletionVoltage(const IdentifierHash &elementHash, const double depletionVoltage)
Set depletion voltage.
std::vector< double > m_monitorTemperature
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...
std::vector< double > m_lorentzShiftEta
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...
static const double s_invalidValue
double getLorentzShiftEta(const IdentifierHash &elementHash) const
Get the Lorentz shift correction in the local y (etaDist) direction Assumes the center of the detecto...
std::vector< double > m_lorentzShift
virtual ~SiLorentzAngleCondData()=default