- double GetTemperature(int secSinceStart) const; // for all sensors, all SuperModules
- double GetTemperatureSM(int imod, int secSinceStart) const; // for all sensors, in a SuperModule
- double GetTemperatureSMSensor(int imod, int isens, int secSinceStart) const; // for a sensor, in a SuperModule
- double GetCorrection(double temperature) const; //
+ Double_t GetTemperatureSM(int imod, UInt_t timeStamp) const; // for all sensors, in a SuperModule
+ // End of Temperature Section
+
+ // control parameters
+ void SetTemperatureResolution(Double_t d) { fTemperatureResolution = d; } // value for checking at which level we care about temperature differences
+ void SetMaxTemperatureDiff(Double_t d) { fMaxTemperatureDiff = d; }
+ void SetTimeBinsPerHour(Int_t i) { fTimeBinsPerHour = i; } // size of the time-bins we use for corrections
+ Double_t GetTemperatureResolution() const { return fTemperatureResolution; } // value for checking at which level we care about temperature differences
+ Double_t GetMaxTemperatureDiff() const { return fMaxTemperatureDiff; }
+ Int_t GetTimeBinsPerHour() const { return fTimeBinsPerHour; } // size of the time-bins we use foc corrections
+
+ void SetHighLowGainFactor(Double_t value) {fHighLowGainFactor = value;}
+ Double_t GetHighLowGainFactor() const {return fHighLowGainFactor;}
+
+ // access to other pointers
+ AliCaloCalibSignal * GetCalibSignal() const { return fCalibSignal; } //
+ AliEMCALCalibTempCoeff * GetCalibTempCoeff() const { return fCalibTempCoeff; } //
+ AliEMCALCalibReference * GetCalibReference() const { return fCalibReference; } //
+
+ // storage and access of the correction info
+ Int_t CalcCorrection(); //
+ AliEMCALCalibTimeDepCorrection * GetCalibTimeDepCorrection()
+ const { return fCalibTimeDepCorrection; } //
+
+ Double_t GetTempCoeff(Double_t IDark, Double_t M) const; //
+
+ // for local debugging: setters of the main input pointers that are normally from OCDB
+ void SetTempArray(AliEMCALSensorTempArray *arr) { fTempArray = arr; } //
+ void SetCalibSignal(AliCaloCalibSignal *obj) { fCalibSignal = obj; } //
+ void SetCalibTempCoeff(AliEMCALCalibTempCoeff *obj) { fCalibTempCoeff = obj; } //
+ void SetCalibReference(AliEMCALCalibReference *obj) { fCalibReference = obj; } //
+ // basic setters, also for local debugging
+ void SetRunNumber(Int_t i) { fRun= i; } //
+ void SetStartTime(UInt_t ui) { fStartTime = ui; } //
+ void SetEndTime(UInt_t ui) { fEndTime = ui; } //
+
+ Int_t GetVerbosity() const { return fVerbosity; } // debug flag
+ void SetVerbosity(Int_t i) { fVerbosity= i; } // debug flag