![]() |
|
|||
File indexing completed on 2024-04-06 12:06:27
0001 #eoscms ls -l /eos/cms/store/group/dpg_hcal/comm_hcal/USC/run327785/USC_327785.root 0002 # choose run in /store/group/dpg_hcal/comm_hcal/USC/ 0003 #how to run: cmsRun remoteMonitoring_LED_eraTEST2019_cfg.py 331370 /store/group/dpg_hcal/comm_hcal/USC/ /afs/cern.ch/cms/CAF/CMSALCA/ALCA_HCALCALIB/HCALMONITORING/RDMScript/CMSSW_10_6_5/src/WORK 0004 #how to run: cmsRun remoteMonitoring_Global_PSM_test_cfg.py 0005 0006 import sys 0007 import FWCore.ParameterSet.Config as cms 0008 from Configuration.StandardSequences.Eras import eras 0009 process = cms.Process("TEST", eras.Run2_2018) 0010 #process = cms.Process("TEST", eras.Run3) 0011 process.load("Configuration.StandardSequences.GeometryDB_cff") 0012 process.load("CondCore.CondDB.CondDB_cfi") 0013 process.load("EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi") 0014 process.l1GtUnpack.DaqGtInputTag = 'source' 0015 # from RelValAlCaPedestal_cfg_2018.py 0016 process.load('Configuration.StandardSequences.Services_cff') 0017 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi') 0018 process.load('FWCore.MessageService.MessageLogger_cfi') 0019 process.load('Configuration.EventContent.EventContent_cff') 0020 process.load('Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff') 0021 process.load('Configuration.StandardSequences.Reconstruction_Data_cff') 0022 process.load('Configuration.StandardSequences.EndOfProcess_cff') 0023 #process.load('RecoLocalCalo.Configuration.hcalLocalReco_cff') 0024 process.load('Configuration.StandardSequences.GeometryRecoDB_cff') 0025 process.load('Configuration.StandardSequences.EndOfProcess_cff') 0026 0027 #runnumber = sys.argv[1] 0028 #rundir = sys.argv[2] 0029 #histodir = sys.argv[3] 0030 0031 #print 'RUN = '+runnumber 0032 #print 'Input file = '+rundir+'/run'+runnumber+'/USC_'+runnumber+'.root' 0033 ##print 'Input file = '+rundir+'/USC_'+runnumber+'.root' 0034 #print 'Output file = '+histodir+'/LED_'+runnumber+'.root' 0035 0036 process.maxEvents = cms.untracked.PSet( 0037 # input = cms.untracked.int32(10000) 0038 input = cms.untracked.int32(-1) 0039 ) 0040 0041 0042 # eos ls -latr /eos/cms/store/data/Run2018A/HcalNZS/RAW/v1/000/316/ 0043 # eos ls -latr /eos/cms/store/data/Run2018A/HcalNZS/RAW/v1/000/316/982/00000/ 0044 process.source = cms.Source("PoolSource", 0045 fileNames = cms.untracked.vstring( 0046 '/store/data/Run2018A/HcalNZS/RAW/v1/000/316/982/00000/228C54E3-EB61-E811-ACB3-FA163E2EA36F.root' 0047 # 'file:/afs/cern.ch/work/z/zhokin/hcal/toc1/CMSSW_10_6_5_patch1/src/WORK/my.root' 0048 ), 0049 secondaryFileNames = cms.untracked.vstring() 0050 ) 0051 process.options = cms.untracked.PSet( 0052 # SkipEvent = cms.untracked.vstring('ProductNotFound') 0053 ) 0054 0055 0056 #process.source = cms.Source("HcalTBSource", 0057 # skipBadFiles=cms.untracked.bool(True), 0058 # firstLuminosityBlockForEachRun = cms.untracked.VLuminosityBlockID([]), 0059 # firstRun = cms.untracked.uint32(316982), 0060 # fileNames = cms.untracked.vstring( 0061 #'/store/data/Run2018A/HcalNZS/RAW/v1/000/316/982/00000/228C54E3-EB61-E811-ACB3-FA163E2EA36F.root' 0062 # ), 0063 # secondaryFileNames = cms.untracked.vstring() 0064 # ) 0065 #process.options = cms.untracked.PSet( 0066 #) 0067 0068 0069 # eoscp /eos/cms/store/data/Run2018D/SingleMuon/ALCARECO/HcalCalHBHEMuonFilter-PromptReco-v2/000/325/172/00000/90635E6F-32C1-BF4E-A6F9-B84E85723051.root my.root 0070 #eos ls -latr /eos/cms/store/data/Run2018D/SingleMuon/ALCARECO/HcalCalHBHEMuonFilter-PromptReco-v2/000/325/172/00000/ 0071 #eos ls -latr /eos/cms/store/data/Run2018E/ZeroBias/RAW/v1/000/325/700/00000/0439205E-54D1-3249-98C1-064D418F374F.root 0072 # eoscp /eos/cms/store/data/Run2018E/ZeroBias/RAW/v1/000/325/700/00000/0439205E-54D1-3249-98C1-064D418F374F.root my.root 0073 # eos ls -latr /eos/cms/store/data/Run2018A/HcalNZS/RAW/v1/000/316/982/00000/228C54E3-EB61-E811-ACB3-FA163E2EA36F.root 0074 0075 # Production Info 0076 #process.configurationMetadata = cms.untracked.PSet( 0077 # annotation = cms.untracked.string('Reconstruction.py nevts:10'), 0078 # name = cms.untracked.string('Applications'), 0079 # version = cms.untracked.string('$Revision: 1.19 $') 0080 #) 0081 ###########################################################################################################3 0082 process.Analyzer = cms.EDAnalyzer("CMTRawAnalyzer", 0083 # 0084 Verbosity = cms.untracked.int32(0), 0085 #Verbosity = cms.untracked.int32(-9062), 0086 #Verbosity = cms.untracked.int32(-9063), 0087 #Verbosity = cms.untracked.int32(-9064), 0088 #Verbosity = cms.untracked.int32(-9065), 0089 #Verbosity = cms.untracked.int32(-84), 0090 #Verbosity = cms.untracked.int32(-91), 0091 #Verbosity = cms.untracked.int32(-92), 0092 # 0093 MapCreation = cms.untracked.int32(1), 0094 # 0095 recordNtuples = cms.untracked.bool(False), 0096 #recordNtuples = cms.untracked.bool(True), 0097 maxNeventsInNtuple = cms.int32(1), 0098 # 0099 #recordHistoes = cms.untracked.bool(False), 0100 recordHistoes = cms.untracked.bool(True), 0101 # 0102 ##scripts: zRunRatio34.C, zRunNbadchan.C 0103 studyRunDependenceHist = cms.untracked.bool(True), 0104 #studyRunDependenceHist = cms.untracked.bool(False), 0105 # 0106 ##scripts: zerrors.C 0107 studyCapIDErrorsHist = cms.untracked.bool(True), 0108 #studyCapIDErrorsHist = cms.untracked.bool(False), 0109 # 0110 ##scripts: zrms.C 0111 studyRMSshapeHist = cms.untracked.bool(True), 0112 #studyRMSshapeHist = cms.untracked.bool(False), 0113 # 0114 ##scripts: zratio34.C 0115 studyRatioShapeHist = cms.untracked.bool(True), 0116 #studyRatioShapeHist = cms.untracked.bool(False), 0117 # 0118 ##scripts: zadcamplitude.C 0119 studyADCAmplHist = cms.untracked.bool(True), 0120 #studyADCAmplHist = cms.untracked.bool(False), 0121 # 0122 ##scripts: ztsmean.C 0123 studyTSmeanShapeHist = cms.untracked.bool(True), 0124 #studyTSmeanShapeHist = cms.untracked.bool(False), 0125 # 0126 ##scripts: ztsmaxa.C 0127 studyTSmaxShapeHist = cms.untracked.bool(True), 0128 #studyTSmaxShapeHist = cms.untracked.bool(False), 0129 # 0130 ##scripts: zcalib....C 0131 studyCalibCellsHist = cms.untracked.bool(True), 0132 #studyCalibCellsHist = cms.untracked.bool(False), 0133 # 0134 ##scripts: zdifampl.C 0135 studyDiffAmplHist = cms.untracked.bool(True), 0136 #studyDiffAmplHist = cms.untracked.bool(False), 0137 # 0138 ##scripts: zadcamplitude.C 0139 studyPedestalsHist = cms.untracked.bool(True), 0140 #studyPedestalsHist = cms.untracked.bool(False), 0141 # 0142 ##scripts: zamplpedcorr.C 0143 studyPedestalCorrelations = cms.untracked.bool(True), 0144 #studyPedestalsHist = cms.untracked.bool(False), 0145 # 0146 # 0147 ##DigiCollectionLabel = cms.untracked.InputTag("hcalDigis"), 0148 #Verbosity = cms.untracked.int32(-54), 0149 #Verbosity = cms.untracked.int32(-22), 0150 #Verbosity = cms.untracked.int32(-11), 0151 #Verbosity = cms.untracked.int32(-12), 0152 #Verbosity = cms.untracked.int32(-13), 0153 #Verbosity = cms.untracked.int32(-51), 0154 #Verbosity = cms.untracked.int32(-24), 0155 #Verbosity = cms.untracked.int32(-244), 0156 #Verbosity = cms.untracked.int32(-233), 0157 # 0158 # 0159 # Normal channels: 0160 # 0161 # -53 for BAD HBHEHF channels from study on shape Ratio 0162 #Verbosity = cms.untracked.int32(-53), 0163 ratioHBMin = cms.double(0.70), 0164 ratioHBMax = cms.double(0.94), 0165 ratioHEMin = cms.double(0.60), 0166 ratioHEMax = cms.double(0.95), 0167 ratioHFMin = cms.double(0.45), 0168 ratioHFMax = cms.double(1.02), 0169 ratioHOMin = cms.double(0.40), 0170 ratioHOMax = cms.double(1.04), 0171 # -54 for BAD HBHEHF channels from study on RMS of shapes 0172 #Verbosity = cms.untracked.int32(-54), 0173 rmsHBMin = cms.double(0.7), 0174 rmsHBMax = cms.double(2.5), 0175 rmsHEMin = cms.double(0.7), 0176 rmsHEMax = cms.double(2.2), 0177 rmsHFMin = cms.double(0.1), 0178 rmsHFMax = cms.double(2.6), 0179 rmsHOMin = cms.double(0.1), 0180 rmsHOMax = cms.double(2.8), 0181 # -55 for BAD HBHEHF channels from study on TSmean of shapes 0182 #Verbosity = cms.untracked.int32(-55), 0183 TSmeanHBMin = cms.double(2.5), 0184 TSmeanHBMax = cms.double(5.5), 0185 TSmeanHEMin = cms.double(1.0), 0186 TSmeanHEMax = cms.double(5.2), 0187 TSmeanHFMin = cms.double(1.0), 0188 TSmeanHFMax = cms.double(4.2), 0189 TSmeanHOMin = cms.double(1.0), 0190 TSmeanHOMax = cms.double(4.8), 0191 # -55 for BAD HBHEHF channels from study on TSmax of shapes 0192 #Verbosity = cms.untracked.int32(-55), 0193 TSpeakHBMin = cms.double(2.2), 0194 TSpeakHBMax = cms.double(5.5), 0195 TSpeakHEMin = cms.double(1.5), 0196 TSpeakHEMax = cms.double(6.5), 0197 TSpeakHFMin = cms.double(0.5), 0198 TSpeakHFMax = cms.double(4.5), 0199 TSpeakHOMin = cms.double(0.5), 0200 TSpeakHOMax = cms.double(7.5), 0201 # -56 for BAD HBHEHOHF channels from study on ADC Amplitude 0202 #Verbosity = cms.untracked.int32(-56), 0203 ADCAmplHBMin = cms.double(10000.), 0204 ADCAmplHBMax = cms.double(300000.), 0205 ADCAmplHEMin = cms.double(20000.), 0206 ADCAmplHEMax = cms.double(300000.), 0207 ADCAmplHFMin = cms.double(50.), 0208 ADCAmplHFMax = cms.double(9000.), 0209 ADCAmplHOMin = cms.double(50.), 0210 ADCAmplHOMax = cms.double(9000.), 0211 # 0212 # to see channels w/ PedestalSigma < cut 0213 #Verbosity = cms.untracked.int32(-57), 0214 pedestalwHBMax = cms.double(0.1), 0215 pedestalwHEMax = cms.double(0.1), 0216 pedestalwHFMax = cms.double(0.4), 0217 pedestalwHOMax = cms.double(0.1), 0218 # 0219 # to see channels for pedestal < cut 0220 pedestalHBMax = cms.double(0.1), 0221 pedestalHEMax = cms.double(0.6), 0222 pedestalHFMax = cms.double(0.8), 0223 pedestalHOMax = cms.double(0.1), 0224 # 0225 # 0226 # CALIBRATION channels: 0227 # 0228 # for BAD HBHEHOHF CALIBRATION channels from study on ADC amplitude 0229 # cuts for Laser runs: 0230 #calibrADCHBMin = cms.double(15.0), 0231 #calibrADCHEMin = cms.double(15.0), 0232 #calibrADCHOMin = cms.double(15.0), 0233 #calibrADCHFMin = cms.double(15.0), 0234 # cuts for LED runs: 0235 calibrADCHBMin = cms.double(1000.), 0236 calibrADCHBMax = cms.double(100000000.), 0237 calibrADCHEMin = cms.double(1000.), 0238 calibrADCHEMax = cms.double(100000000.), 0239 calibrADCHOMin = cms.double(1000.), 0240 calibrADCHOMax = cms.double(100000000.), 0241 calibrADCHFMin = cms.double(100.), 0242 calibrADCHFMax = cms.double(100000000.), 0243 0244 # for BAD HBHEHOHF CALIBRATION channels from study on shape Ratio 0245 calibrRatioHBMin = cms.double(0.76), 0246 calibrRatioHBMax = cms.double(0.94), 0247 calibrRatioHEMin = cms.double(0.76), 0248 calibrRatioHEMax = cms.double(0.94), 0249 calibrRatioHOMin = cms.double(0.85), 0250 calibrRatioHOMax = cms.double(0.99), 0251 calibrRatioHFMin = cms.double(0.5), 0252 calibrRatioHFMax = cms.double(0.8), 0253 # for BAD HBHEHOHF CALIBRATION channels from study on TSmax 0254 calibrTSmaxHBMin = cms.double(1.50), 0255 calibrTSmaxHBMax = cms.double(2.50), 0256 calibrTSmaxHEMin = cms.double(1.50), 0257 calibrTSmaxHEMax = cms.double(2.50), 0258 calibrTSmaxHOMin = cms.double(1.50), 0259 calibrTSmaxHOMax = cms.double(2.50), 0260 calibrTSmaxHFMin = cms.double(3.50), 0261 calibrTSmaxHFMax = cms.double(4.50), 0262 # for BAD HBHEHOHF CALIBRATION channels from study on TSmean 0263 calibrTSmeanHBMin = cms.double(2.40), 0264 calibrTSmeanHBMax = cms.double(3.70), 0265 calibrTSmeanHEMin = cms.double(2.40), 0266 calibrTSmeanHEMax = cms.double(3.70), 0267 calibrTSmeanHOMin = cms.double(1.50), 0268 calibrTSmeanHOMax = cms.double(2.70), 0269 calibrTSmeanHFMin = cms.double(3.50), 0270 calibrTSmeanHFMax = cms.double(4.50), 0271 # for BAD HBHEHOHF CALIBRATION channels from study on Width 0272 calibrWidthHBMin = cms.double(1.30), 0273 calibrWidthHBMax = cms.double(1.90), 0274 calibrWidthHEMin = cms.double(1.30), 0275 calibrWidthHEMax = cms.double(1.90), 0276 calibrWidthHOMin = cms.double(0.70), 0277 calibrWidthHOMax = cms.double(1.65), 0278 calibrWidthHFMin = cms.double(0.30), 0279 calibrWidthHFMax = cms.double(1.50), 0280 # 0281 # Special task of run or LS quality: 0282 # 0283 # flag for ask runs of LSs for RMT & CMT accordingly: 0284 #=0-runs, =1-LSs 0285 # keep for LED runs this flags =0 always 0286 flagtoaskrunsorls = cms.int32(0), 0287 # 0288 # flag for choice of criterion of bad channels: 0289 #=0-CapIdErr, =1-Ratio, =2-Width, =3-TSmax, =4-TSmean, =5-adcAmplitud 0290 # keep for CMT (global runs) this flags =0 always 0291 flagtodefinebadchannel = cms.int32(0), 0292 #how many bins you want on the plots:better to choice (#LS+1) 0293 howmanybinsonplots = cms.int32(25), 0294 # 0295 # ls - range for RBX study (and ??? perhaps for gain stability via abort gap): 0296 lsmin = cms.int32(1), 0297 #lsmax = cms.int32(620), 0298 lsmax = cms.int32(2600), 0299 # 0300 flagabortgaprejected = cms.int32(1), 0301 bcnrejectedlow = cms.int32(3446), 0302 bcnrejectedhigh= cms.int32(3564), 0303 # 0304 # flag cpu time reducing 0305 #=0-all plots, =1-optimized number of plots (for Global runs) 0306 flagcpuoptimization = cms.int32(0), 0307 # 0308 # flag for ask type of Normalization for CMT estimators: 0309 #=0-normalizationOn#evOfLS; =1-averageVariable-normalizationOn#entriesInLS; 0310 flagestimatornormalization = cms.int32(1), 0311 # 0312 # 0313 # cuts on Nbadchannels to see LS dependences: 0314 # Verbosity = cms.untracked.int32(-77), 0315 # to select abnormal events,for which Nbcs > this limits 0316 lsdep_cut1_peak_HBdepth1 = cms.int32(20), 0317 lsdep_cut1_peak_HBdepth2 = cms.int32(7), 0318 lsdep_cut1_peak_HEdepth1 = cms.int32(16), 0319 lsdep_cut1_peak_HEdepth2 = cms.int32(13), 0320 lsdep_cut1_peak_HEdepth3 = cms.int32(4), 0321 lsdep_cut1_peak_HFdepth1 = cms.int32(10), 0322 lsdep_cut1_peak_HFdepth2 = cms.int32(5), 0323 lsdep_cut1_peak_HOdepth4 = cms.int32(45), 0324 # to select events with Nbcs > this limits 0325 lsdep_cut3_max_HBdepth1 = cms.int32(19), 0326 lsdep_cut3_max_HBdepth2 = cms.int32(6), 0327 lsdep_cut3_max_HEdepth1 = cms.int32(15), 0328 lsdep_cut3_max_HEdepth2 = cms.int32(12), 0329 lsdep_cut3_max_HEdepth3 = cms.int32(3), 0330 lsdep_cut3_max_HFdepth1 = cms.int32(9), 0331 lsdep_cut3_max_HFdepth2 = cms.int32(4), 0332 lsdep_cut3_max_HOdepth4 = cms.int32(40), 0333 # 0334 # 0335 #old was for runs: 0336 # nbadchannels1 = cms.int32(7), 0337 # nbadchannels2 = cms.int32(12), 0338 # nbadchannels3 = cms.int32(50), 0339 # 0340 #Verbosity = cms.untracked.int32(-79), 0341 # cuts on Estimator1 to see LS dependences: 0342 lsdep_estimator1_HBdepth1 = cms.double(2500.), 0343 lsdep_estimator1_HBdepth2 = cms.double(2500.), 0344 lsdep_estimator1_HBdepth3 = cms.double(2500.), 0345 lsdep_estimator1_HBdepth4 = cms.double(2500.), 0346 lsdep_estimator1_HEdepth1 = cms.double(2500.), 0347 lsdep_estimator1_HEdepth2 = cms.double(2500.), 0348 lsdep_estimator1_HEdepth3 = cms.double(2500.), 0349 lsdep_estimator1_HEdepth4 = cms.double(2500.), 0350 lsdep_estimator1_HEdepth5 = cms.double(2500.), 0351 lsdep_estimator1_HEdepth6 = cms.double(2500.), 0352 lsdep_estimator1_HEdepth7 = cms.double(2500.), 0353 lsdep_estimator1_HFdepth1 = cms.double(2500.), 0354 lsdep_estimator1_HFdepth2 = cms.double(2500.), 0355 lsdep_estimator1_HFdepth3 = cms.double(2500.), 0356 lsdep_estimator1_HFdepth4 = cms.double(2500.), 0357 lsdep_estimator1_HOdepth4 = cms.double(2500.), 0358 # cuts on Estimator2 to see LS dependences: 0359 lsdep_estimator2_HBdepth1 = cms.double(7.), 0360 lsdep_estimator2_HBdepth2 = cms.double(7.), 0361 lsdep_estimator2_HEdepth1 = cms.double(7.), 0362 lsdep_estimator2_HEdepth2 = cms.double(7.), 0363 lsdep_estimator2_HEdepth3 = cms.double(7.), 0364 lsdep_estimator2_HFdepth1 = cms.double(7.), 0365 lsdep_estimator2_HFdepth2 = cms.double(7.), 0366 lsdep_estimator2_HOdepth4 = cms.double(7.), 0367 # cuts on Estimator3 to see LS dependences: 0368 lsdep_estimator3_HBdepth1 = cms.double(7.), 0369 lsdep_estimator3_HBdepth2 = cms.double(7.), 0370 lsdep_estimator3_HEdepth1 = cms.double(7.), 0371 lsdep_estimator3_HEdepth2 = cms.double(7.), 0372 lsdep_estimator3_HEdepth3 = cms.double(7.), 0373 lsdep_estimator3_HFdepth1 = cms.double(7.), 0374 lsdep_estimator3_HFdepth2 = cms.double(7.), 0375 lsdep_estimator3_HOdepth4 = cms.double(7.), 0376 # cuts on Estimator4 to see LS dependences: 0377 lsdep_estimator4_HBdepth1 = cms.double(5.), 0378 lsdep_estimator4_HBdepth2 = cms.double(5.), 0379 lsdep_estimator4_HEdepth1 = cms.double(5.), 0380 lsdep_estimator4_HEdepth2 = cms.double(5.), 0381 lsdep_estimator4_HEdepth3 = cms.double(5.), 0382 lsdep_estimator4_HFdepth1 = cms.double(5.), 0383 lsdep_estimator4_HFdepth2 = cms.double(5.), 0384 lsdep_estimator4_HOdepth4 = cms.double(5.), 0385 # cuts on Estimator5 to see LS dependences: 0386 lsdep_estimator5_HBdepth1 = cms.double(1.8), 0387 lsdep_estimator5_HBdepth2 = cms.double(1.8), 0388 lsdep_estimator5_HEdepth1 = cms.double(1.8), 0389 lsdep_estimator5_HEdepth2 = cms.double(1.8), 0390 lsdep_estimator5_HEdepth3 = cms.double(1.8), 0391 lsdep_estimator5_HFdepth1 = cms.double(1.8), 0392 lsdep_estimator5_HFdepth2 = cms.double(1.8), 0393 lsdep_estimator5_HOdepth4 = cms.double(1.8), 0394 # 0395 # 0396 #Verbosity = cms.untracked.int32(-81), 0397 #Verbosity = cms.untracked.int32(-82), 0398 #Verbosity = cms.untracked.int32(-83), 0399 # 0400 # use ADC amplitude: 0401 useADCmassive = cms.untracked.bool(True), 0402 useADCfC = cms.untracked.bool(False), 0403 useADCcounts = cms.untracked.bool(False), 0404 # 0405 # Pedestals in fC 0406 #usePedestalSubtraction = cms.untracked.bool(True), 0407 usePedestalSubtraction = cms.untracked.bool(False), 0408 # 0409 # for possible ignoring of channels w/o signal, apply same cut for 0410 # HBHEHFHO on Amplitude, usable for all Estimators 1,2,3,4,5: 0411 # forallestimators_amplitude_bigger = cms.double(10.), 0412 forallestimators_amplitude_bigger = cms.double(-100.), 0413 # 0414 # 0415 # 0416 #usecontinuousnumbering = cms.untracked.bool(False), 0417 usecontinuousnumbering = cms.untracked.bool(True), 0418 # 0419 # 0420 # 0421 hcalCalibDigiCollectionTag = cms.InputTag('hcalDigis'), 0422 hbheDigiCollectionTag = cms.InputTag('hcalDigis'), 0423 hoDigiCollectionTag = cms.InputTag('hcalDigis'), 0424 hfDigiCollectionTag = cms.InputTag('hcalDigis'), 0425 # 0426 # 0427 # 0428 # 0429 #for upgrade: --------------------------------------------------------- 0430 hbheQIE11DigiCollectionTag = cms.InputTag('hcalDigis'), 0431 hbheQIE10DigiCollectionTag = cms.InputTag('hcalDigis'), 0432 # flag to use either only old QIE8 digiCollections or only new QIE10,11 digiCollections 0433 #=0-all digiCollections(default for normal running), =1-only old QIE8 digiCollections, 0434 #=2-only new QIE1011 digiCollections, =3-only new QIE1011 digiCollections w/o new high depthes 0435 #=4-2016fall, =5-2016fall w/o new high depthes, =6-2017bebin, =7-2017bebin w/o new high depthes in HEonly 0436 #=8--2017bebin w/o new high depthes, =9-all digiCollections w/o new high depthes 0437 # flag HBHE8 HBHE11 HF8 HF10 comments: 0438 # 0 + + + + all 0439 # 1 + - + - old 0440 # 2 - + - + new 0441 # 3 - + - + new w/o high depthes 0442 # 4 + - + + 2016fall 0443 # 5 + - + + 2016fall w/o high depthes 0444 # 6 + + - + 2017 && 2018 && 2021 0445 # 7 + + - + 2017begin w/o high depthes in HEonly 0446 # 8 + + - + 2017begin w/o high depthes 0447 # 9 + + + + all w/o high depthes 0448 # 10 + - - + 2017 w/o HEP17 0449 # 0450 flagupgradeqie1011 = cms.int32(6), 0451 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 0452 # flaguseshunt = 1 or 6 (6 is default for global runs) 0453 flaguseshunt = cms.int32(6), 0454 # flagsipmcorrection: != 0 yes,apply; = 0 do not use; 0455 flagsipmcorrection = cms.int32(1), 0456 #end upgrade: --------------------------------------------------------- end upgrade 0457 # 0458 # 0459 # for local LASER runs ONLY!!! to be > 0 (,else = 0) 0460 flagLaserRaddam = cms.int32(0), 0461 # for gaussian fit for local shunt1 (Gsel0) led low-intensity or ped ONLY!!! to be > 0 (,else = 0) 0462 flagfitshunt1pedorledlowintensity = cms.int32(0), 0463 # 0464 splashesUpperLimit = cms.int32(10000), 0465 # 0466 # 0467 # for use in IterativeMethod of CalibrationGroup!!! to be > 1 (,else = 0) 0468 flagIterativeMethodCalibrationGroupDigi = cms.int32(1), 0469 # 0470 # for use in IterativeMethod of CalibrationGroup!!! to be > 1 (,else = 0) 0471 flagIterativeMethodCalibrationGroupReco = cms.int32(1), 0472 # 0473 hbheInputSignalTag = cms.InputTag('hbherecoMBNZS'), 0474 hbheInputNoiseTag = cms.InputTag('hbherecoNoise'), 0475 hfInputSignalTag = cms.InputTag('hfrecoMBNZS'), 0476 hfInputNoiseTag = cms.InputTag('hfrecoNoise'), 0477 # 0478 # 0479 # 0480 # 0481 # 0482 # 0483 #HistOutFile = cms.untracked.string('LED_331370.root'), 0484 #HistOutFile = cms.untracked.string(histodir+'/LED_'+runnumber+'.root'), 0485 #HistOutFile = cms.untracked.string('Global_325172_1.root'), 0486 #HistOutFile = cms.untracked.string('Global_316982.root'), 0487 HistOutFile = cms.untracked.string('Global.root'), 0488 MAPOutFile = cms.untracked.string('LogEleMapdb.h') 0489 # 0490 ##OutputFilePath = cms.string('/tmp/zhokin/'), 0491 ##OutputFileExt = cms.string(''), 0492 # 0493 ) 0494 ########################################################################### 0495 # Other statements 0496 process.hcal_db_producer = cms.ESProducer("HcalDbProducer", 0497 dump = cms.untracked.vstring(''), 0498 file = cms.untracked.string('') 0499 ) 0500 process.es_hardcode = cms.ESSource("HcalHardcodeCalibrations", 0501 toGet = cms.untracked.vstring('QIEShape', 0502 'QIEData', 0503 'ChannelQuality', 0504 'HcalQIEData', 0505 'Pedestals', 0506 'PedestalWidths', 0507 'Gains', 0508 'GainWidths', 0509 'ZSThresholds', 0510 'RespCorrs') 0511 ) 0512 0513 ## Jula's recipe for too many files 0514 #process.options = cms.untracked.PSet( 0515 # wantSummary = cms.untracked.bool(False), 0516 # Rethrow = cms.untracked.vstring("ProductNotFound"), # make this exception fatal 0517 # fileMode = cms.untracked.string('NOMERGE') # no ordering needed, but calls endRun/beginRun etc. at file boundaries 0518 #) 0519 0520 ######################################################################################## Global Tags for 2018 data taking : 0521 # use twiki site to specify HLT reconstruction Global tags: 0522 # https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideFrontierConditions 0523 # 0524 # 100X_dataRun2_HLT_v2 for CMSSW_10_0_3 onwards CRUZET 2018 update of 0T templates for SiPixels 0525 # 100X_dataRun2_HLT_v1 for CMSSW_10_0_0 onwards MWGRs 2018 first HLT GT for 2018 0526 # 0527 # 0528 ############################################################################ GlobalTag :1+ good as 5 0529 #from Configuration.AlCa.GlobalTag_condDBv2 import GlobalTag 0530 #process.GlobalTag = GlobalTag(process.GlobalTag, '100X_dataRun2_HLT_v2', '') 0531 0532 #from Configuration.AlCa.GlobalTag_condDBv2 import GlobalTag 0533 #process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_data_FULL', '') 0534 0535 0536 #from Configuration.AlCa.GlobalTag_condDBv2 import GlobalTag 0537 #process.GlobalTag = GlobalTag(process.GlobalTag, '101X_dataRun2_HLT_v7', '') 0538 0539 # 2019 Ultra Legacy 2017 0540 #process.GlobalTag.globaltag = '106X_dataRun2_trackerAlignment2017_v1' 0541 # 2019 Ultra Legacy 2018 test TkAl 0542 #process.GlobalTag.globaltag = '106X_dataRun2_v17' 0543 # 2019 Ultra Legacy 2018 0544 #process.GlobalTag.globaltag = '106X_dataRun2_newTkAl_v18' 0545 # 2019 Ultra Legacy 2016 0546 #process.GlobalTag.globaltag = '106X_dataRun2_UL2016TkAl_v24' 0547 #process.GlobalTag.globaltag = '105X_dataRun2_v8' 0548 0549 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") 0550 from Configuration.AlCa.autoCond import autoCond 0551 process.GlobalTag.globaltag = '104X_dataRun2_v1' 0552 #process.GlobalTag.globaltag = '105X_postLS2_design_v4' 0553 #process.GlobalTag.globaltag = '106X_dataRun3_HLT_v3' 0554 0555 0556 ############################################################################ 0557 # V.EPSHTEIN: 0558 #process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") 0559 #process.GlobalTag.globaltag = '100X_dataRun2_Prompt_Candidate_2018_01_31_16_01_36' 0560 ### 0561 #process.hcal_db_producer = cms.ESProducer("HcalDbProducer", 0562 # dump = cms.untracked.vstring(''), 0563 # file = cms.untracked.string('') 0564 #) 0565 # 0566 #process.hcalDigis= cms.EDProducer("HcalRawToDigi", 0567 # FilterDataQuality = cms.bool(True), 0568 # HcalFirstFED = cms.untracked.int32(700), 0569 # InputLabel = cms.InputTag("source"), 0570 # UnpackCalib = cms.untracked.bool(True), 0571 # FEDs = cms.untracked.vint32(1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117), 0572 #) 0573 ### 0574 ############################################################################ 0575 process.load('Configuration.StandardSequences.RawToDigi_Data_cff') 0576 #process.hcalDigis.FilterDataQuality = cms.bool(False) 0577 #process.hcalDigis.InputLabel = cms.InputTag("source") 0578 ############################################################################ 0579 #process.hcalDigis= cms.EDProducer("HcalRawToDigi", 0580 # FilterDataQuality = cms.bool(True), 0581 # FilterDataQuality = cms.bool(False), 0582 # HcalFirstFED = cms.untracked.int32(700), 0583 # InputLabel = cms.InputTag("source"), 0584 #InputLabel = cms.InputTag("rawDataCollector"), 0585 #) 0586 #process.hcalDigis.FilterDataQuality = cms.bool(False) 0587 #process.hcalDigis.InputLabel = cms.InputTag("source") 0588 ############################################################################ 0589 ##process.load("Calibration.HcalAlCaRecoProducers.ALCARECOHcalCalPedestal_cff") 0590 ##process.load("Calibration.HcalAlCaRecoProducers.ALCARECOHcalCalPedestalLocal_cff") 0591 process.load("Calibration.HcalAlCaRecoProducers.ALCARECOHcalCalMinBias_cff") 0592 #process.load("ALCARECOHcalCalPedestalLocal_cff") 0593 ############################################################################ 0594 #process.p = cms.Path(process.hcalDigis*process.Analyzer) 0595 #process.p = cms.Path(process.seqALCARECOHcalCalMinBiasDigiNoHLT*process.seqALCARECOHcalCalMinBias*process.minbiasana) 0596 0597 process.p = cms.Path(process.hcalDigis*process.seqALCARECOHcalCalMinBiasDigiNoHLT*process.seqALCARECOHcalCalMinBias*process.Analyzer) 0598 #process.p = cms.Path(process.seqALCARECOHcalCalMinBiasDigiNoHLT*process.seqALCARECOHcalCalMinBias*process.Analyzer) 0599 0600 #process.p = cms.Path(process.hcalDigis*process.seqALCARECOHcalCalMinBiasDigi*process.seqALCARECOHcalCalMinBias*process.Analyzer) 0601 0602 #process.p = cms.Path(process.seqALCARECOHcalCalMinBiasDigi*process.seqALCARECOHcalCalMinBias*process.Analyzer) 0603 0604 #process.p = cms.Path(process.seqALCARECOHcalCalMinBiasDigiNoHLT*process.seqALCARECOHcalCalMinBias*process.Analyzer) 0605 0606 # see /afs/cern.ch/work/z/zhokin/public/CMSSW_10_4_0_patch1/src/Calibration/HcalAlCaRecoProducers/python/ALCARECOHcalCalMinBias_cff.py 0607 ############################################################################ 0608 # customisation of the process. 0609 0610 # Automatic addition of the customisation function from HLTrigger.Configuration.CustomConfigs 0611 from HLTrigger.Configuration.CustomConfigs import L1THLT 0612 0613 #call to customisation function L1THLT imported from HLTrigger.Configuration.CustomConfigs 0614 process = L1THLT(process) 0615 0616 # End of customisation functions 0617 0618 ############################################################################ 0619 process.MessageLogger = cms.Service("MessageLogger", 0620 categories = cms.untracked.vstring(''), 0621 destinations = cms.untracked.vstring('cout'), 0622 debugModules = cms.untracked.vstring('*'), 0623 cout = cms.untracked.PSet( 0624 threshold = cms.untracked.string('WARNING'), 0625 WARNING = cms.untracked.PSet(limit = cms.untracked.int32(0)) 0626 ) 0627 ) 0628 ############################################################################
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |
![]() ![]() |