ATLAS Offline Software
Loading...
Searching...
No Matches
TileBchPrbs.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5
7
8//
9//________________________________________________________________
10std::string
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//________________________________________________________________
22std::map<TileBchPrbs::Prb,std::string>
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 prbNames[TileBchPrbs::HalfGain ] = "Half gain";
45
46 //=== channel
47 prbNames[TileBchPrbs::GeneralMaskChannel ] = "Channel masked (unspecified)";
48 prbNames[TileBchPrbs::NoPmt ] = "No PMT connected";
49 prbNames[TileBchPrbs::NoHV ] = "No HV";
50 prbNames[TileBchPrbs::WrongHV ] = "Wrong HV";
51 prbNames[TileBchPrbs::NoLaser ] = "No laser calibration";
52 prbNames[TileBchPrbs::BadLaser ] = "Bad laser calibration";
53 prbNames[TileBchPrbs::NoCesium ] = "No cesium calibration";
54 prbNames[TileBchPrbs::BadCesium ] = "Bad cesium calibration";
55 prbNames[TileBchPrbs::NoTiming ] = "No timing set in dskew";
56 prbNames[TileBchPrbs::BadTiming ] = "Bad timing";
57 prbNames[TileBchPrbs::Emergency ] = "Module in emergency mode";
58 prbNames[TileBchPrbs::HVReadoutPb ] = "HV readout problem";
59 prbNames[TileBchPrbs::BrokenClearFibre ] = "Broken clear fibre";
60 prbNames[TileBchPrbs::IgnoreCs ] = "Ignore cesium";
61 prbNames[TileBchPrbs::UnstableCs ] = "Unstable cesium";
62 prbNames[TileBchPrbs::WrongBCID ] = "Wrong BCID";
63 prbNames[TileBchPrbs::TimingDmuBcOffsetPos ] = "Timing DMU BC offset (positive)";
64 prbNames[TileBchPrbs::TimingDmuBcOffsetNeg ] = "Timing DMU BC offset (negative)";
65 prbNames[TileBchPrbs::BurntIntegrator ] = "Burnt Integrator";
66
67 //=== DSP
68 prbNames[TileBchPrbs::IgnoredInDsp ] = "Ignored in DSP";
69 prbNames[TileBchPrbs::IgnoredInHlt ] = "Ignored in HLT";
70
71 //=== Trigger
72 prbNames[TileBchPrbs::TrigGeneralMask ] = "Channel masked for LV1 (unspecified)";
73 prbNames[TileBchPrbs::TrigNoGain ] = "LV1 channel no gain";
74 prbNames[TileBchPrbs::TrigHalfGain ] = "LV1 channel half gain";
75 prbNames[TileBchPrbs::TrigNoisy ] = "LV1 channel noisy";
76 prbNames[TileBchPrbs::DisableForL1 ] = "Channel disabled for LV1";
77
78 //=== online channel
79 prbNames[TileBchPrbs::OnlineBadTiming ] = "Online bad timing";
80 prbNames[TileBchPrbs::OnlineTimingDmuBcOffsetPos] = "Online timing DMU BC offset (positive)";
81 prbNames[TileBchPrbs::OnlineTimingDmuBcOffsetNeg] = "Online timing DMU BC offset (negative)";
82 prbNames[TileBchPrbs::OnlineWrongBCID ] = "Online wrong BCID";
83
84 //=== online adc
85 prbNames[TileBchPrbs::OnlineGeneralMaskAdc ] = "Online ADC masked (unspecified)";
86
87 return prbNames;
88}
@ OnlineTimingDmuBcOffsetNeg
Definition TileBchPrbs.h:93
@ SevereDataCorruption
Definition TileBchPrbs.h:38
@ TimingDmuBcOffsetPos
Definition TileBchPrbs.h:72
@ OnlineGeneralMaskAdc
Definition TileBchPrbs.h:98
@ TimingDmuBcOffsetNeg
Definition TileBchPrbs.h:73
@ OnlineTimingDmuBcOffsetPos
Definition TileBchPrbs.h:92
static std::map< Prb, std::string > initPrbDesc()
Initializes the problem description map.
static std::string getDescription(const Prb &prb)
Get description of problem.