Project
Loading...
Searching...
No Matches
CDBTypes.h
Go to the documentation of this file.
1// 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
15
16#ifndef AliceO2_TPC_CDBTypes_H_
17#define AliceO2_TPC_CDBTypes_H_
18
19#include <unordered_map>
20#include <string>
21
22namespace o2::tpc
23{
24
92
94const std::unordered_map<CDBType, const std::string> CDBTypeMap{
95 {CDBType::CalPedestal, "TPC/Calib/Pedestal"},
96 {CDBType::CalNoise, "TPC/Calib/Noise"},
97 {CDBType::CalPedestalNoise, "TPC/Calib/PedestalNoise"},
98 {CDBType::CalPulser, "TPC/Calib/Pulser"},
99 {CDBType::CalCE, "TPC/Calib/CE"},
100 {CDBType::CalPadGainFull, "TPC/Calib/PadGainFull"},
101 {CDBType::CalPadGainResidual, "TPC/Calib/PadGainResidual"},
102 {CDBType::CalLaserTracks, "TPC/Calib/LaserTracks"},
103 {CDBType::CalTimeGain, "TPC/Calib/TimeGain"},
104 {CDBType::CalTimeGainMC, "TPC/Calib/TimeGainMC"},
105 {CDBType::CalGas, "TPC/Calib/Gas"},
106 {CDBType::CalTemperature, "TPC/Calib/Temperature"},
107 {CDBType::CalHV, "TPC/Calib/HV"},
108 {CDBType::CalTopologyGain, "TPC/Calib/TopologyGainPiecewise"},
109 {CDBType::CalVDriftTgl, "TPC/Calib/VDriftTgl"},
110 //
111 {CDBType::ConfigFEEPad, "TPC/Config/FEEPad"},
112 {CDBType::ConfigFEE, "TPC/Config/FEE"},
113 {CDBType::ConfigRunInfo, "TPC/Config/RunInfoV2"},
114 //
115 {CDBType::ParDetector, "TPC/Parameter/Detector"},
116 {CDBType::ParElectronics, "TPC/Parameter/Electronics"},
117 {CDBType::ParGas, "TPC/Parameter/Gas"},
118 {CDBType::ParGEM, "TPC/Parameter/GEM"},
119 // IDCs
120 {CDBType::CalIDC0A, "TPC/Calib/IDC_0_A"},
121 {CDBType::CalIDC0C, "TPC/Calib/IDC_0_C"},
122 {CDBType::CalIDC1A, "TPC/Calib/IDC_1_A"},
123 {CDBType::CalIDC1C, "TPC/Calib/IDC_1_C"},
124 {CDBType::CalIDCDeltaA, "TPC/Calib/IDC_DELTA_A"},
125 {CDBType::CalIDCDeltaC, "TPC/Calib/IDC_DELTA_C"},
126 {CDBType::CalIDCFourierA, "TPC/Calib/IDC_FOURIER_A"},
127 {CDBType::CalIDCFourierC, "TPC/Calib/IDC_FOURIER_C"},
128 {CDBType::CalIDCPadStatusMapA, "TPC/Calib/IDC_PadStatusMap_A"},
129 {CDBType::CalIDCPadStatusMapC, "TPC/Calib/IDC_PadStatusMap_C"},
130 {CDBType::CalIDCGroupingParA, "TPC/Calib/IDC_GROUPINGPAR_A"},
131 {CDBType::CalIDCGroupingParC, "TPC/Calib/IDC_GROUPINGPAR_C"},
132 // SACs
133 {CDBType::CalSAC0, "TPC/Calib/SAC_0"},
134 {CDBType::CalSAC1, "TPC/Calib/SAC_1"},
135 {CDBType::CalSACDelta, "TPC/Calib/SAC_DELTA"},
136 {CDBType::CalSACFourier, "TPC/Calib/SAC_FOURIER"},
137 // ITPCCs
138 {CDBType::CalITPC0, "TPC/Calib/ITPCC_0"},
139 {CDBType::CalITPC1, "TPC/Calib/ITPCC_1"},
140 // correction maps
141 {CDBType::CalCorrMap, "TPC/Calib/CorrectionMapV2"},
142 {CDBType::CalCorrMapRef, "TPC/Calib/CorrectionMapRefV2"},
143 // correction maps for MC
144 {CDBType::CalCorrMapMC, "TPC/Calib/CorrectionMapMCV2"},
145 {CDBType::CalCorrDerivMapMC, "TPC/Calib/CorrectionMapDerivativeMCV2"},
146 // derivative map correction
147 {CDBType::CalCorrDerivMap, "TPC/Calib/CorrectionMapDerivativeV2"},
148 // time series
149 {CDBType::CalTimeSeries, "TPC/Calib/TimeSeries"},
150 {CDBType::CalScaler, "TPC/Calib/Scaler"},
151 {CDBType::CalScalerWeights, "TPC/Calib/ScalerWeights"},
152 {CDBType::CalMShape, "TPC/Calib/MShapePotential"},
153 // correction maps loader params
154 {CDBType::CorrMapParam, "TPC/Calib/CorrMapParam"},
155 // distortion maps
156 {CDBType::DistortionMapMC, "TPC/Calib/DistortionMapMC"},
157 {CDBType::DistortionMapDerivMC, "TPC/Calib/DistortionMapDerivativeMC"},
158 // AltroSyncSignal
159 {CDBType::AltroSyncSignal, "TPC/Config/AltroSyncSignal"},
160};
161
162} // namespace o2::tpc
163#endif
Global TPC definitions and constants.
Definition SimTraits.h:167
const std::unordered_map< CDBType, const std::string > CDBTypeMap
Storage name in CCDB for each calibration and parameter type.
Definition CDBTypes.h:94
CDBType
Calibration and parameter types for CCDB.
Definition CDBTypes.h:26
@ CalIDCPadStatusMapA
Status map of the pads (dead etc. obatined from CalIDC0)
@ CalIDC0C
I_0(r,\phi) = <I(r,\phi,t)>_t.
@ CalITPC0
2D average TPC clusters for longer time interval
@ CalIDCDeltaC
\Delta I(r,\phi,t) = I(r,\phi,t) / ( I_0(r,\phi) * I_1(t) )
@ ParDetector
Parameter for Detector.
@ CalScaler
Scaler from IDCs or combined estimator.
@ CalVDriftTgl
ITS-TPC difTgl vdrift calibration.
@ CalSAC0
I_0(r,\phi) = <I(r,\phi,t)>_t.
@ CalSACDelta
\Delta I(r,\phi,t) = I(r,\phi,t) / ( I_0(r,\phi) * I_1(t) )
@ CalScalerWeights
Weights for scalers.
@ ParElectronics
Parameter for Electronics.
@ CalIDC1A
I_1(t) = <I(r,\phi,t) / I_0(r,\phi)>_{r,\phi}.
@ CalCorrMapMC
Cluster correction map (high IR rate distortions) for MC.
@ CalPedestalNoise
Pedestal and Noise calibration.
@ CalNoise
Noise calibration.
@ CalPadGainFull
Full pad gain calibration.
@ CalIDCDeltaA
\Delta I(r,\phi,t) = I(r,\phi,t) / ( I_0(r,\phi) * I_1(t) )
@ CalTemperature
DCS temperature measurements.
@ CalGas
DCS gas measurements.
@ ConfigFEEPad
FEE pad-by-pad configuration map.
@ ParGas
Parameter for Gas.
@ CalIDC0A
I_0(r,\phi) = <I(r,\phi,t)>_t.
@ CalPadGainResidual
ResidualpPad gain calibration (e.g. from tracks)
@ CalTimeSeries
integrated DCAs for longer time interval
@ CalIDCGroupingParA
Parameters which were used for the averaging of the CalIDCDelta.
@ CalPulser
Pulser calibration.
@ CalLaserTracks
Laser track calibration data.
@ CalCorrMapRef
Cluster correction reference map (static distortions)
@ CalTimeGain
Gain variation over time.
@ CalHV
DCS HV measurements.
@ CalPedestal
Pedestal calibration.
@ CalSAC1
I_1(t) = <I(r,\phi,t) / I_0(r,\phi)>_{r,\phi}.
@ CalIDCFourierC
Fourier coefficients of CalIDC1.
@ CalIDCPadStatusMapC
Status map of the pads (dead etc. obatined from CalIDC0)
@ CalTimeGainMC
Gain variation over time for MC.
@ CalIDC1C
I_1(t) = <I(r,\phi,t) / I_0(r,\phi)>_{r,\phi}.
@ CalCorrMap
Cluster correction map (high IR rate distortions)
@ AltroSyncSignal
timing of Altro chip sync. signal
@ CalIDCFourierA
Fourier coefficients of CalIDC1.
@ CalCE
Laser CE calibration.
@ DistortionMapDerivMC
derivative distortions for MC used in the digitizer for scaling
@ ConfigFEE
FEE configuration map for each tag.
@ DistortionMapMC
full distortions (static + IR dependant) for MC used in the digitizer