You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[EMCAL-567] Add class to handle EMCal temperature calibration
- Gain of EMCal cell is temperature dependent.
- The temperature is stored in the ccdb about every 3min for 8 sensors per SM
- New class downloads temperature values from ccdb and averages them per SM
- Per cell, the energy dependence was determined in run2. These values are stored in the ccdb and also read in at initializeFromCCDB
- As the temperature values are accumulated per run, the end of run timestamp is taken - 60s of safety margin
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2
+
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3
+
// All rights not expressly granted are reserved.
4
+
//
5
+
// This software is distributed under the terms of the GNU General Public
6
+
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7
+
//
8
+
// In applying this license CERN does not waive the privileges and immunities
9
+
// granted to it by virtue of its status as an Intergovernmental Organization
10
+
// or submit itself to any jurisdiction.
11
+
12
+
/// \class EMCALTempCalibExtractor
13
+
/// \brief Calculate gain correction factors based on the temperature and the cell-by-cell temperature dependent correction factors (slope and intercept)
staticconstexprunsignedshortmNCells = 17664; ///< Number of EMCal cells
83
+
std::array<float, mNCells> mGainCalibFactors; ///< gain calibration factors that are calculated based on the temperature and the slopes for each cell
84
+
o2::emcal::Geometry* mGeometry; ///< pointer to the EMCal geometry
85
+
std::array<float, 2> mAcceptedTempRange = {15., 30.}; ///< Temperature range where sensors are believed to send good data. Temperatures outside this range will be rejected
86
+
boolmUseMedian = true; /// switch to decide if temperature within a SM should be calculated as the mean or the median of the individual sensor data
LOG(warning) << "No sensor data between " << mAcceptedTempRange[0] << " and " << mAcceptedTempRange[1] << "degree found... for SM " << iSM << " Setting to default 20 degree";
0 commit comments