ATLAS Offline Software
TileCalorimeter
TileCalib
TileCalibBlobObjs
src
TileBchPrbs.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
#include "
TileCalibBlobObjs/TileBchPrbs.h
"
7
8
//
9
//________________________________________________________________
10
std::string
11
TileBchPrbs::getDescription
(
const
Prb
& prb)
12
{
13
static
const
std::map<Prb,std::string> prbNames =
initPrbDesc
();
14
std::map<Prb,std::string>::const_iterator iMap = prbNames.find(prb);
15
std::string
desc
(
"<no description available>"
);
16
if
(iMap!=prbNames.end()){
desc
=iMap->second; }
17
return
desc
;
18
}
19
20
//
21
//________________________________________________________________
22
std::map<TileBchPrbs::Prb,std::string>
23
TileBchPrbs::initPrbDesc
()
24
{
25
std::map<Prb,std::string> prbNames;
26
prbNames[
TileBchPrbs::Invalid
] =
"Invalid"
;
27
28
//=== adc
29
prbNames[
TileBchPrbs::GeneralMaskAdc
] =
"ADC masked (unspecified)"
;
30
prbNames[
TileBchPrbs::AdcDead
] =
"ADC dead"
;
31
prbNames[
TileBchPrbs::StuckBit
] =
"Stuck bit"
;
32
prbNames[
TileBchPrbs::SevereStuckBit
] =
"Severe stuck bit"
;
33
prbNames[
TileBchPrbs::DataCorruption
] =
"Data corruption"
;
34
prbNames[
TileBchPrbs::SevereDataCorruption
] =
"Severe data corruption"
;
35
prbNames[
TileBchPrbs::VeryLargeHfNoise
] =
"Very large HF noise"
;
36
prbNames[
TileBchPrbs::NoData
] =
"No data"
;
37
prbNames[
TileBchPrbs::WrongDspConfig
] =
"Wrong DSP configuration"
;
38
prbNames[
TileBchPrbs::LargeHfNoise
] =
"Large HF noise"
;
39
prbNames[
TileBchPrbs::CorrelatedNoise
] =
"Correlated noise"
;
40
prbNames[
TileBchPrbs::LargeLfNoise
] =
"Large LF noise"
;
41
prbNames[
TileBchPrbs::NoCis
] =
"No CIS calibration"
;
42
prbNames[
TileBchPrbs::BadCis
] =
"Bad CIS calibration"
;
43
prbNames[
TileBchPrbs::IgnoredByDQV
] =
"Ignored by DQV"
;
44
45
//=== channel
46
prbNames[
TileBchPrbs::GeneralMaskChannel
] =
"Channel masked (unspecified)"
;
47
prbNames[
TileBchPrbs::NoPmt
] =
"No PMT connected"
;
48
prbNames[
TileBchPrbs::NoHV
] =
"No HV"
;
49
prbNames[
TileBchPrbs::WrongHV
] =
"Wrong HV"
;
50
prbNames[
TileBchPrbs::NoLaser
] =
"No laser calibration"
;
51
prbNames[
TileBchPrbs::BadLaser
] =
"Bad laser calibration"
;
52
prbNames[
TileBchPrbs::NoCesium
] =
"No cesium calibration"
;
53
prbNames[
TileBchPrbs::BadCesium
] =
"Bad cesium calibration"
;
54
prbNames[
TileBchPrbs::NoTiming
] =
"No timing set in dskew"
;
55
prbNames[
TileBchPrbs::BadTiming
] =
"Bad timing"
;
56
prbNames[
TileBchPrbs::Emergency
] =
"Module in emergency mode"
;
57
prbNames[
TileBchPrbs::HVReadoutPb
] =
"HV readout problem"
;
58
prbNames[
TileBchPrbs::BrokenClearFibre
] =
"Broken clear fibre"
;
59
prbNames[
TileBchPrbs::IgnoreCs
] =
"Ignore cesium"
;
60
prbNames[
TileBchPrbs::UnstableCs
] =
"Unstable cesium"
;
61
prbNames[
TileBchPrbs::WrongBCID
] =
"Wrong BCID"
;
62
prbNames[
TileBchPrbs::TimingDmuBcOffsetPos
] =
"Timing DMU BC offset (positive)"
;
63
prbNames[
TileBchPrbs::TimingDmuBcOffsetNeg
] =
"Timing DMU BC offset (negative)"
;
64
prbNames[
TileBchPrbs::BurntIntegrator
] =
"Burnt Integrator"
;
65
66
//=== DSP
67
prbNames[
TileBchPrbs::IgnoredInDsp
] =
"Ignored in DSP"
;
68
prbNames[
TileBchPrbs::IgnoredInHlt
] =
"Ignored in HLT"
;
69
70
//=== Trigger
71
prbNames[
TileBchPrbs::TrigGeneralMask
] =
"Channel masked for LV1 (unspecified)"
;
72
prbNames[
TileBchPrbs::TrigNoGain
] =
"LV1 channel no gain"
;
73
prbNames[
TileBchPrbs::TrigHalfGain
] =
"LV1 channel half gain"
;
74
prbNames[
TileBchPrbs::TrigNoisy
] =
"LV1 channel noisy"
;
75
prbNames[
TileBchPrbs::DisableForL1
] =
"Channel disabled for LV1"
;
76
77
//=== online channel
78
prbNames[
TileBchPrbs::OnlineBadTiming
] =
"Online bad timing"
;
79
prbNames[
TileBchPrbs::OnlineTimingDmuBcOffsetPos
] =
"Online timing DMU BC offset (positive)"
;
80
prbNames[
TileBchPrbs::OnlineTimingDmuBcOffsetNeg
] =
"Online timing DMU BC offset (negative)"
;
81
prbNames[
TileBchPrbs::OnlineWrongBCID
] =
"Online wrong BCID"
;
82
83
//=== online adc
84
prbNames[
TileBchPrbs::OnlineGeneralMaskAdc
] =
"Online ADC masked (unspecified)"
;
85
86
return
prbNames;
87
}
TileBchPrbs::TrigHalfGain
@ TrigHalfGain
Definition:
TileBchPrbs.h:80
TileBchPrbs::WrongBCID
@ WrongBCID
Definition:
TileBchPrbs.h:70
TileBchPrbs::HVReadoutPb
@ HVReadoutPb
Definition:
TileBchPrbs.h:66
TileBchPrbs::SevereDataCorruption
@ SevereDataCorruption
Definition:
TileBchPrbs.h:38
TileBchPrbs::initPrbDesc
static std::map< Prb, std::string > initPrbDesc()
Initializes the problem description map.
Definition:
TileBchPrbs.cxx:23
TileBchPrbs::BrokenClearFibre
@ BrokenClearFibre
Definition:
TileBchPrbs.h:67
TileBchPrbs::IgnoredInDsp
@ IgnoredInDsp
Definition:
TileBchPrbs.h:86
TileBchPrbs::StuckBit
@ StuckBit
Definition:
TileBchPrbs.h:40
TileBchPrbs::BadTiming
@ BadTiming
Definition:
TileBchPrbs.h:64
TileBchPrbs::CorrelatedNoise
@ CorrelatedNoise
Definition:
TileBchPrbs.h:43
TileBchPrbs::WrongDspConfig
@ WrongDspConfig
Definition:
TileBchPrbs.h:36
TileBchPrbs::OnlineTimingDmuBcOffsetNeg
@ OnlineTimingDmuBcOffsetNeg
Definition:
TileBchPrbs.h:92
TileBchPrbs::TimingDmuBcOffsetPos
@ TimingDmuBcOffsetPos
Definition:
TileBchPrbs.h:71
TileBchPrbs::UnstableCs
@ UnstableCs
Definition:
TileBchPrbs.h:69
TileBchPrbs::BadCesium
@ BadCesium
Definition:
TileBchPrbs.h:62
TileBchPrbs::OnlineWrongBCID
@ OnlineWrongBCID
Definition:
TileBchPrbs.h:90
TileBchPrbs::TrigNoGain
@ TrigNoGain
Definition:
TileBchPrbs.h:79
TileBchPrbs::NoCis
@ NoCis
Definition:
TileBchPrbs.h:45
TileBchPrbs::BurntIntegrator
@ BurntIntegrator
Definition:
TileBchPrbs.h:73
TileBchPrbs::TrigNoisy
@ TrigNoisy
Definition:
TileBchPrbs.h:81
TileBchPrbs::WrongHV
@ WrongHV
Definition:
TileBchPrbs.h:56
TileBchPrbs::NoTiming
@ NoTiming
Definition:
TileBchPrbs.h:63
TileBchPrbs::NoCesium
@ NoCesium
Definition:
TileBchPrbs.h:61
TileBchPrbs::Emergency
@ Emergency
Definition:
TileBchPrbs.h:65
TileBchPrbs::AdcDead
@ AdcDead
Definition:
TileBchPrbs.h:33
TileBchPrbs::IgnoredInHlt
@ IgnoredInHlt
Definition:
TileBchPrbs.h:87
CaloCondBlobAlgs_fillNoiseFromASCII.desc
desc
Definition:
CaloCondBlobAlgs_fillNoiseFromASCII.py:54
TileBchPrbs::Prb
Prb
Definition:
TileBchPrbs.h:24
TileBchPrbs::NoLaser
@ NoLaser
Definition:
TileBchPrbs.h:59
TileBchPrbs::LargeLfNoise
@ LargeLfNoise
Definition:
TileBchPrbs.h:44
TileBchPrbs::BadLaser
@ BadLaser
Definition:
TileBchPrbs.h:60
TileBchPrbs::VeryLargeHfNoise
@ VeryLargeHfNoise
Definition:
TileBchPrbs.h:34
TileBchPrbs::NoData
@ NoData
Definition:
TileBchPrbs.h:35
TileBchPrbs::OnlineTimingDmuBcOffsetPos
@ OnlineTimingDmuBcOffsetPos
Definition:
TileBchPrbs.h:91
TileBchPrbs::BadCis
@ BadCis
Definition:
TileBchPrbs.h:46
TileBchPrbs::Invalid
@ Invalid
Definition:
TileBchPrbs.h:26
TileBchPrbs::NoPmt
@ NoPmt
Definition:
TileBchPrbs.h:54
TileBchPrbs::IgnoredByDQV
@ IgnoredByDQV
Definition:
TileBchPrbs.h:47
TileBchPrbs::DataCorruption
@ DataCorruption
Definition:
TileBchPrbs.h:41
TileBchPrbs::OnlineGeneralMaskAdc
@ OnlineGeneralMaskAdc
Definition:
TileBchPrbs.h:97
TileBchPrbs::DisableForL1
@ DisableForL1
Definition:
TileBchPrbs.h:88
TileBchPrbs.h
TileBchPrbs::TimingDmuBcOffsetNeg
@ TimingDmuBcOffsetNeg
Definition:
TileBchPrbs.h:72
TileBchPrbs::IgnoreCs
@ IgnoreCs
Definition:
TileBchPrbs.h:68
TileBchPrbs::TrigGeneralMask
@ TrigGeneralMask
Definition:
TileBchPrbs.h:78
TileBchPrbs::LargeHfNoise
@ LargeHfNoise
Definition:
TileBchPrbs.h:42
TileBchPrbs::SevereStuckBit
@ SevereStuckBit
Definition:
TileBchPrbs.h:37
TileBchPrbs::NoHV
@ NoHV
Definition:
TileBchPrbs.h:55
TileBchPrbs::OnlineBadTiming
@ OnlineBadTiming
Definition:
TileBchPrbs.h:89
TileBchPrbs::GeneralMaskChannel
@ GeneralMaskChannel
Definition:
TileBchPrbs.h:53
TileBchPrbs::GeneralMaskAdc
@ GeneralMaskAdc
Definition:
TileBchPrbs.h:32
TileBchPrbs::getDescription
static std::string getDescription(const Prb &prb)
Get description of problem.
Definition:
TileBchPrbs.cxx:11
Generated on Fri Jan 10 2025 21:19:01 for ATLAS Offline Software by
1.8.18