CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10/src/DataFormats/SiStripCommon/interface/ConstantsForMonitorable.h

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