ATLAS Offline Software
Public Types | Static Public Member Functions | Static Private Member Functions | List of all members
TileBchPrbs Class Reference

Static class providing TileCal bad channel problems. More...

#include <TileBchPrbs.h>

Collaboration diagram for TileBchPrbs:

Public Types

enum  Prb {
  Invalid = 0, GeneralMaskAdc = 1000, AdcDead = 1001, VeryLargeHfNoise = 1004,
  NoData = 1005, WrongDspConfig = 1006, SevereStuckBit = 1007, SevereDataCorruption = 1008,
  StuckBit = 1002, DataCorruption = 1003, LargeHfNoise = 1100, CorrelatedNoise = 1101,
  LargeLfNoise = 1102, NoCis = 1103, BadCis = 1104, IgnoredByDQV = 1105,
  GeneralMaskChannel = 2000, NoPmt = 2001, NoHV = 2002, WrongHV = 2003,
  NoLaser = 2100, BadLaser = 2101, NoCesium = 2102, BadCesium = 2103,
  NoTiming = 2104, BadTiming = 2105, Emergency = 2106, HVReadoutPb = 2107,
  BrokenClearFibre = 2108, IgnoreCs = 2109, UnstableCs = 2110, WrongBCID = 2111,
  TimingDmuBcOffsetPos = 2112, TimingDmuBcOffsetNeg = 2113, BurntIntegrator = 2114, TrigGeneralMask = 3000,
  TrigNoGain = 3001, TrigHalfGain = 3002, TrigNoisy = 3003, IgnoredInDsp = 4000,
  IgnoredInHlt = 4001, DisableForL1 = 4002, OnlineBadTiming = 4105, OnlineWrongBCID = 4111,
  OnlineTimingDmuBcOffsetPos = 4112, OnlineTimingDmuBcOffsetNeg = 4113, OnlineGeneralMaskAdc = 5000
}
 

Static Public Member Functions

static std::string getDescription (const Prb &prb)
 Get description of problem. More...
 

Static Private Member Functions

static std::map< Prb, std::string > initPrbDesc ()
 Initializes the problem description map. More...
 

Detailed Description

Static class providing TileCal bad channel problems.

Author
Nils Gollub nils..nosp@m.goll.nosp@m.ub@ce.nosp@m.rn.c.nosp@m.h

The different problems are encoded as enums. The enum assigned to a problem should never be changed (otherwise readback of old conditions data is compromised)!

Definition at line 20 of file TileBchPrbs.h.

Member Enumeration Documentation

◆ Prb

Enumerator
Invalid 
GeneralMaskAdc 
AdcDead 
VeryLargeHfNoise 
NoData 
WrongDspConfig 
SevereStuckBit 
SevereDataCorruption 
StuckBit 
DataCorruption 
LargeHfNoise 
CorrelatedNoise 
LargeLfNoise 
NoCis 
BadCis 
IgnoredByDQV 
GeneralMaskChannel 
NoPmt 
NoHV 
WrongHV 
NoLaser 
BadLaser 
NoCesium 
BadCesium 
NoTiming 
BadTiming 
Emergency 
HVReadoutPb 
BrokenClearFibre 
IgnoreCs 
UnstableCs 
WrongBCID 
TimingDmuBcOffsetPos 
TimingDmuBcOffsetNeg 
BurntIntegrator 
TrigGeneralMask 
TrigNoGain 
TrigHalfGain 
TrigNoisy 
IgnoredInDsp 
IgnoredInHlt 
DisableForL1 
OnlineBadTiming 
OnlineWrongBCID 
OnlineTimingDmuBcOffsetPos 
OnlineTimingDmuBcOffsetNeg 
OnlineGeneralMaskAdc 

Definition at line 24 of file TileBchPrbs.h.

24  {
25 
26  Invalid = 0,
27 
28  //=============================
29  //=== ADC
30  //=============================
31  //---serious problems
32  GeneralMaskAdc = 1000,
33  AdcDead = 1001,
34  VeryLargeHfNoise = 1004,
35  NoData = 1005,
36  WrongDspConfig = 1006,
37  SevereStuckBit = 1007,
38  SevereDataCorruption = 1008,
39  //--- impact on data quality
40  StuckBit = 1002,
41  DataCorruption = 1003,
42  LargeHfNoise = 1100,
43  CorrelatedNoise = 1101,
44  LargeLfNoise = 1102,
45  NoCis = 1103,
46  BadCis = 1104,
47  IgnoredByDQV = 1105,
48 
49  //=============================
50  //=== Channel
51  //=============================
52  //--- serious problems
53  GeneralMaskChannel = 2000,
54  NoPmt = 2001,
55  NoHV = 2002,
56  WrongHV = 2003,
57 
58  //--- impact on data quality
59  NoLaser = 2100,
60  BadLaser = 2101,
61  NoCesium = 2102,
62  BadCesium = 2103,
63  NoTiming = 2104,
64  BadTiming = 2105,
65  Emergency = 2106,
66  HVReadoutPb = 2107,
67  BrokenClearFibre = 2108,
68  IgnoreCs = 2109,
69  UnstableCs = 2110,
70  WrongBCID = 2111,
71  TimingDmuBcOffsetPos = 2112,
72  TimingDmuBcOffsetNeg = 2113,
73  BurntIntegrator = 2114,
74 
75  //============================================
76  //=== Level-1 Trigger (all channel) - online
77  //============================================
78  TrigGeneralMask = 3000,
79  TrigNoGain = 3001,
80  TrigHalfGain = 3002,
81  TrigNoisy = 3003,
82 
83  //================================
84  //=== Other ONLINE (all channel)
85  //================================
86  IgnoredInDsp = 4000,
87  IgnoredInHlt = 4001,
88  DisableForL1 = 4002,
89  OnlineBadTiming = 4105,
90  OnlineWrongBCID = 4111,
93 
94  //================================
95  //=== Other ONLINE ADC
96  //================================
98 
99  };

Member Function Documentation

◆ getDescription()

std::string TileBchPrbs::getDescription ( const Prb prb)
static

Get description of problem.

Definition at line 11 of file TileBchPrbs.cxx.

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 }

◆ initPrbDesc()

std::map< TileBchPrbs::Prb, std::string > TileBchPrbs::initPrbDesc ( )
staticprivate

Initializes the problem description map.

Definition at line 23 of file TileBchPrbs.cxx.

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 }

The documentation for this class was generated from the following files:
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::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::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