00001
00002
00003 #ifndef DataFormats_SiStripCommon_ConstantsForMonitorable_H
00004 #define DataFormats_SiStripCommon_ConstantsForMonitorable_H
00005
00006 #include "DataFormats/SiStripCommon/interface/Constants.h"
00007 #include <string>
00008
00015 namespace sistrip {
00016
00017
00018
00019
00020 static const std::string unknownMonitorable_ = "UnknownMonitorable";
00021 static const std::string undefinedMonitorable_ = "UndefinedMonitorable";
00022
00023
00024 static const std::string fedCablingFedId_ = "FedId";
00025 static const std::string fedCablingFedCh_ = "FedCh";
00026 static const std::string fedCablingAdcLevel_ = "AdcLevel";
00027
00028
00029 static const std::string fastCablingDcuId_ = "DcuId";
00030 static const std::string fastCablingLldCh_ = "LldCh";
00031 static const std::string fastCablingHighLevel_ = "HighLightLevel";
00032 static const std::string fastCablingHighRms_ = "SpreadInHighLightLevel";
00033 static const std::string fastCablingLowLevel_ = "LowLightLevel";
00034 static const std::string fastCablingLowRms_ = "SpreadInLowLightLevel";
00035 static const std::string fastCablingAdcRange_ = "AdcRangeInLightLevel";
00036 static const std::string fastCablingMax_ = "MaximumLightLevel";
00037 static const std::string fastCablingMin_ = "MinimumLightLevel";
00038 static const std::string fastCablingConnsPerFed_ = "ConnectionsPerFed";
00039
00040
00041 static const std::string apvTimingTime_ = "TimeOfTickMarkEdge";
00042 static const std::string apvTimingMax_ = "MaxSamplingPoint";
00043 static const std::string apvTimingDelay_ = "RequiredDelayAdjustment";
00044 static const std::string apvTimingError_ = "ErrorOnTickMarkEdge";
00045 static const std::string apvTimingBase_ = "TickMarkBase";
00046 static const std::string apvTimingPeak_ = "TickMarkPeak";
00047 static const std::string apvTimingHeight_ = "TickMarkHeight";
00048
00049
00050 static const std::string fedTimingTime_ = "TimeOfTickMarkEdge";
00051 static const std::string fedTimingMax_ = "MaxSamplingPoint";
00052 static const std::string fedTimingDelay_ = "RequiredDelayAdjustment";
00053 static const std::string fedTimingError_ = "ErrorOnTickMarkEdge";
00054 static const std::string fedTimingBase_ = "TickMarkBase";
00055 static const std::string fedTimingPeak_ = "TickMarkPeak";
00056 static const std::string fedTimingHeight_ = "TickMarkHeight";
00057
00058
00059 static const std::string optoScanLldBias_ = "LldBiasSetting";
00060 static const std::string optoScanLldGain_ = "LldGainSetting";
00061 static const std::string optoScanMeasGain_ = "MeasuredGain";
00062 static const std::string optoScanZeroLight_ = "ZeroLightLevel";
00063 static const std::string optoScanLinkNoise_ = "LinkNoise";
00064 static const std::string optoScanBaseLiftOff_ = "BaselineLiftOff";
00065 static const std::string optoScanLaserThresh_ = "LaserThreshold";
00066 static const std::string optoScanTickHeight_ = "TickHeight";
00067
00068
00069 static const std::string vpspScanBothApvs_ = "ApvVpspSettings";
00070 static const std::string vpspScanApv0_ = "Apv0VpspSetting";
00071 static const std::string vpspScanApv1_ = "Apv1VpspSetting";
00072 static const std::string vpspScanAdcLevel_ = "BaselineLevel";
00073 static const std::string vpspScanDigitalHigh_ = "DigitalHigh";
00074 static const std::string vpspScanDigitalLow_ = "DigitalLow";
00075
00076
00077 static const std::string pedestalsAllStrips_ = "StripPedestals";
00078 static const std::string pedestalsMean_ = "PedestalMean";
00079 static const std::string pedestalsSpread_ = "PedestalRmsSpread";
00080 static const std::string pedestalsMax_ = "PedestalMax";
00081 static const std::string pedestalsMin_ = "PedestalMin";
00082
00083
00084 static const std::string noiseAllStrips_ = "StripNoise";
00085 static const std::string noiseMean_ = "NoiseMean";
00086 static const std::string noiseSpread_ = "NoiseRmsSpread";
00087 static const std::string noiseMax_ = "NoiseMax";
00088 static const std::string noiseMin_ = "NoiseMin";
00089 static const std::string numOfDead_ = "NumOfDeadStrips";
00090 static const std::string numOfNoisy_ = "NumOfNoisyStrips";
00091
00092
00093 static const std::string fineDelayPos_ = "FineDelayPosition";
00094 static const std::string fineDelayErr_ = "FineDelayError";
00095
00096
00097 static const std::string calibrationAmplitude_ = "CalibrationAmplitude";
00098 static const std::string calibrationTail_ = "CalibrationTail";
00099 static const std::string calibrationRiseTime_ = "CalibrationRiseTime";
00100 static const std::string calibrationTimeConstant_ = "CalibrationTimeConstant";
00101 static const std::string calibrationSmearing_ = "CalibrationSmearing";
00102 static const std::string calibrationChi2_ = "CalibrationChi2";
00103 static const std::string calibrationAmplitudeAS_ = "StripCalibrationAmplitude";
00104 static const std::string calibrationTailAS_ = "StripCalibrationTail";
00105 static const std::string calibrationRiseTimeAS_ = "StripCalibrationRiseTime";
00106 static const std::string calibrationTimeConstantAS_ = "StripCalibrationTimeConstant";
00107 static const std::string calibrationSmearingAS_ = "StripCalibrationSmearing";
00108 static const std::string calibrationChi2AS_ = "StripCalibrationChi2";
00109 static const std::string calibrationAmplitudeMin_ = "MinCalibrationAmplitude";
00110 static const std::string calibrationTailMin_ = "MinCalibrationTail";
00111 static const std::string calibrationRiseTimeMin_ = "MinCalibrationRiseTime";
00112 static const std::string calibrationTimeConstantMin_ = "MinCalibrationTimeConstant";
00113 static const std::string calibrationSmearingMin_ = "MinCalibrationSmearing";
00114 static const std::string calibrationChi2Min_ = "MinCalibrationChi2";
00115 static const std::string calibrationAmplitudeMax_ = "MaxCalibrationAmplitude";
00116 static const std::string calibrationTailMax_ = "MaxCalibrationTail";
00117 static const std::string calibrationRiseTimeMax_ = "MaxCalibrationRiseTime";
00118 static const std::string calibrationTimeConstantMax_ = "MaxCalibrationTimeConstant";
00119 static const std::string calibrationSmearingMax_ = "MaxCalibrationSmearing";
00120 static const std::string calibrationChi2Max_ = "MaxCalibrationChi2";
00121
00122
00123 static const std::string daqScopeModeMeanSignal_ = "DaqScopeMode_MeanSignal";
00124
00125
00126
00128 enum Monitorable { UNKNOWN_MONITORABLE = sistrip::unknown_,
00129 UNDEFINED_MONITORABLE = sistrip::invalid_,
00130
00131 FED_CABLING_FED_ID = 1301,
00132 FED_CABLING_FED_CH = 1302,
00133 FED_CABLING_ADC_LEVEL = 1303,
00134
00135 FAST_CABLING_DCU_ID = 2101,
00136 FAST_CABLING_LLD_CH = 2102,
00137 FAST_CABLING_HIGH_LEVEL = 2103,
00138 FAST_CABLING_LOW_LEVEL = 2104,
00139 FAST_CABLING_HIGH_RMS = 2105,
00140 FAST_CABLING_LOW_RMS = 2106,
00141 FAST_CABLING_MAX = 2107,
00142 FAST_CABLING_MIN = 2108,
00143 FAST_CABLING_CONNS_PER_FED = 2109,
00144
00145 APV_TIMING_TIME = 501,
00146 APV_TIMING_MAX_TIME = 502,
00147 APV_TIMING_DELAY = 503,
00148 APV_TIMING_ERROR = 504,
00149 APV_TIMING_BASE = 505,
00150 APV_TIMING_PEAK = 506,
00151 APV_TIMING_HEIGHT = 507,
00152
00153 FED_TIMING_TIME = 1201,
00154 FED_TIMING_MAX_TIME = 1202,
00155 FED_TIMING_DELAY = 1203,
00156 FED_TIMING_ERROR = 1204,
00157 FED_TIMING_BASE = 1205,
00158 FED_TIMING_PEAK = 1206,
00159 FED_TIMING_HEIGHT = 1207,
00160
00161 OPTO_SCAN_LLD_GAIN_SETTING = 401,
00162 OPTO_SCAN_LLD_BIAS_SETTING = 402,
00163 OPTO_SCAN_MEASURED_GAIN = 403,
00164 OPTO_SCAN_ZERO_LIGHT_LEVEL = 404,
00165 OPTO_SCAN_LINK_NOISE = 405,
00166 OPTO_SCAN_BASELINE_LIFT_OFF = 406,
00167 OPTO_SCAN_LASER_THRESHOLD = 407,
00168 OPTO_SCAN_TICK_HEIGHT = 408,
00169
00170 VPSP_SCAN_APV_SETTINGS = 1401,
00171 VPSP_SCAN_APV0_SETTING = 1402,
00172 VPSP_SCAN_APV1_SETTING = 1403,
00173 VPSP_SCAN_ADC_LEVEL = 1404,
00174 VPSP_SCAN_DIGITAL_HIGH = 1405,
00175 VPSP_SCAN_DIGITAL_LOW = 1406,
00176
00177 PEDESTALS_ALL_STRIPS = 201,
00178 PEDESTALS_MEAN = 202,
00179 PEDESTALS_SPREAD = 203,
00180 PEDESTALS_MAX = 204,
00181 PEDESTALS_MIN = 205,
00182
00183 NOISE_ALL_STRIPS = 206,
00184 NOISE_MEAN = 207,
00185 NOISE_SPREAD = 208,
00186 NOISE_MAX = 209,
00187 NOISE_MIN = 210,
00188 NUM_OF_DEAD = 211,
00189 NUM_OF_NOISY = 212,
00190
00191 FINE_DELAY_POS = 601,
00192 FINE_DELAY_ERROR = 602,
00193
00194 CALIBRATION_AMPLITUDE = 701,
00195 CALIBRATION_TAIL = 702,
00196 CALIBRATION_RISETIME = 703,
00197 CALIBRATION_TIMECONSTANT = 704,
00198 CALIBRATION_SMEARING = 705,
00199 CALIBRATION_CHI2 = 706,
00200 CALIBRATION_AMPLITUDE_ALLSTRIPS = 707,
00201 CALIBRATION_TAIL_ALLSTRIPS = 708,
00202 CALIBRATION_RISETIME_ALLSTRIPS = 709,
00203 CALIBRATION_TIMECONSTANT_ALLSTRIPS = 710,
00204 CALIBRATION_SMEARING_ALLSTRIPS = 711,
00205 CALIBRATION_CHI2_ALLSTRIPS = 712,
00206 CALIBRATION_AMPLITUDE_MIN = 713,
00207 CALIBRATION_TAIL_MIN = 714,
00208 CALIBRATION_RISETIME_MIN = 715,
00209 CALIBRATION_TIMECONSTANT_MIN = 716,
00210 CALIBRATION_SMEARING_MIN = 717,
00211 CALIBRATION_CHI2_MIN = 718,
00212 CALIBRATION_AMPLITUDE_MAX = 719,
00213 CALIBRATION_TAIL_MAX = 720,
00214 CALIBRATION_RISETIME_MAX = 721,
00215 CALIBRATION_TIMECONSTANT_MAX = 722,
00216 CALIBRATION_SMEARING_MAX = 723,
00217 CALIBRATION_CHI2_MAX = 724,
00218
00219 DAQ_SCOPE_MODE_MEAN_SIGNAL = 1501
00220 };
00221
00222 }
00223
00224 #endif // DataFormats_SiStripCommon_ConstantsForMonitorable_H
00225
00226