CMS 3D CMS Logo

List of all members | Public Types | Static Public Member Functions
PPSTimingCalibrationPI Class Reference

#include <PPSTimingCalibrationPayloadInspectorHelper.h>

Public Types

enum  conditions_channel {
  channel0 = 0, channel1 = 1, channel2 = 2, channel3 = 3,
  channel4 = 4, channel5 = 5, channel6 = 6, channel7 = 7,
  channel8 = 8, channel9 = 9, channel10 = 10, channel11 = 11
}
 
enum  conditions_db { db0 = 0, db1 = 1 }
 
enum  conditions_plane { plane0 = 0, plane1 = 1, plane2 = 2, plane3 = 3 }
 
enum  parameter { parameter0 = 0, parameter1 = 1, parameter2 = 2, parameter3 = 3 }
 

Static Public Member Functions

static std::string getStringFromChannelEnum (const conditions_channel &channel)
 
static std::string getStringFromDbEnum (const conditions_db &db)
 
static std::string getStringFromParamEnum (const parameter &parameter)
 
static std::string getStringFromPlaneEnum (const conditions_plane &plane)
 

Detailed Description

Definition at line 22 of file PPSTimingCalibrationPayloadInspectorHelper.h.

Member Enumeration Documentation

◆ conditions_channel

Enumerator
channel0 
channel1 
channel2 
channel3 
channel4 
channel5 
channel6 
channel7 
channel8 
channel9 
channel10 
channel11 

Definition at line 30 of file PPSTimingCalibrationPayloadInspectorHelper.h.

◆ conditions_db

◆ conditions_plane

◆ parameter

Member Function Documentation

◆ getStringFromChannelEnum()

static std::string PPSTimingCalibrationPI::getStringFromChannelEnum ( const conditions_channel channel)
inlinestatic

Definition at line 90 of file PPSTimingCalibrationPayloadInspectorHelper.h.

90  {
91  switch (channel) {
92  case 0:
93  return "channel = 0";
94  case 1:
95  return "channel = 1";
96  case 2:
97  return "channel = 2";
98  case 3:
99  return "channel = 3";
100  case 4:
101  return "channel = 4";
102  case 5:
103  return "channel = 5";
104  case 6:
105  return "channel = 6";
106  case 7:
107  return "channel = 7";
108  case 8:
109  return "channel = 8";
110  case 9:
111  return "channel = 9";
112  case 10:
113  return "channel = 10";
114  case 11:
115  return "channel = 11";
116 
117  default:
118  return "not here";
119  }
120  }

◆ getStringFromDbEnum()

static std::string PPSTimingCalibrationPI::getStringFromDbEnum ( const conditions_db db)
inlinestatic

Definition at line 62 of file PPSTimingCalibrationPayloadInspectorHelper.h.

References dqmiodatasetharvest::db.

Referenced by ParametersPerChannel< db, plane, param, PayloadType >::fill().

62  {
63  switch (db) {
64  case 0:
65  return "db = 0";
66  case 1:
67  return "db = 1";
68 
69  default:
70  return "not here";
71  }
72  }

◆ getStringFromParamEnum()

static std::string PPSTimingCalibrationPI::getStringFromParamEnum ( const parameter parameter)
inlinestatic

Definition at line 46 of file PPSTimingCalibrationPayloadInspectorHelper.h.

Referenced by ParametersPerChannel< db, plane, param, PayloadType >::fill().

46  {
47  switch (parameter) {
48  case 0:
49  return "parameter 0";
50  case 1:
51  return "parameter 1";
52  case 2:
53  return "parameter 2";
54  case 3:
55  return "parameter 3";
56 
57  default:
58  return "not here";
59  }
60  }

◆ getStringFromPlaneEnum()

static std::string PPSTimingCalibrationPI::getStringFromPlaneEnum ( const conditions_plane plane)
inlinestatic

Definition at line 74 of file PPSTimingCalibrationPayloadInspectorHelper.h.

Referenced by ParametersPerChannel< db, plane, param, PayloadType >::fill().

74  {
75  switch (plane) {
76  case 0:
77  return "plane = 0";
78  case 1:
79  return "plane = 1";
80  case 2:
81  return "plane = 2";
82  case 3:
83  return "plane = 3";
84 
85  default:
86  return "not here";
87  }
88  }