Skip to content
Snippets Groups Projects
Commit ec8a90fe authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'const.SCT_ConditionsTools-20180612' into 'master'

SCT_ConditionsTools: Declare tool methods const.

See merge request atlas/athena!12075
parents 3f169fed 86e76987
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ class ISCT_ElectricFieldTool: virtual public IAlgTool ...@@ -32,7 +32,7 @@ class ISCT_ElectricFieldTool: virtual public IAlgTool
double fluence, double fluence,
double depletionVoltage, double depletionVoltage,
double sensorThickness, double sensorThickness,
double biasVoltage)=0; double biasVoltage) const =0;
}; };
......
...@@ -72,7 +72,7 @@ public: ...@@ -72,7 +72,7 @@ public:
/**Bad chips for a given module*/ /**Bad chips for a given module*/
virtual unsigned int badChips(const Identifier& moduleId) const override; virtual unsigned int badChips(const Identifier& moduleId) const override;
/** Get the chip number containing a particular strip*/ /** Get the chip number containing a particular strip*/
int getChip(const Identifier& stripId) const; virtual int getChip(const Identifier& stripId) const override;
private: private:
// Mutex to protect the contents. // Mutex to protect the contents.
......
...@@ -36,7 +36,7 @@ double SCT_ElectricFieldTool::getElectricField(double positionZ, ...@@ -36,7 +36,7 @@ double SCT_ElectricFieldTool::getElectricField(double positionZ,
double /**fluence**/, double /**fluence**/,
double depletionVoltage, double depletionVoltage,
double sensorThickness, double sensorThickness,
double biasVoltage) { double biasVoltage) const {
if ((m_eFieldModel == UNIFORM_FIELD) or (m_eFieldModel == FLAT_DIODE)) { if ((m_eFieldModel == UNIFORM_FIELD) or (m_eFieldModel == FLAT_DIODE)) {
//-------------------------------------------------------------- //--------------------------------------------------------------
// Electric Field Ez // Electric Field Ez
......
...@@ -34,7 +34,7 @@ class SCT_ElectricFieldTool: public extends<AthAlgTool, ISCT_ElectricFieldTool> ...@@ -34,7 +34,7 @@ class SCT_ElectricFieldTool: public extends<AthAlgTool, ISCT_ElectricFieldTool>
double fluence, double fluence,
double depletionVoltage, double depletionVoltage,
double sensorThickness, double sensorThickness,
double biasVoltage) override; double biasVoltage) const override;
private: private:
enum FieldModel{UNIFORM_FIELD, FLAT_DIODE}; enum FieldModel{UNIFORM_FIELD, FLAT_DIODE};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment