Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:06:30

0001 #eoscms ls -l /eos/cms/store/group/dpg_hcal/comm_hcal/USC/
0002 # choose run in /store/group/dpg_hcal/comm_hcal/USC/
0003 #
0004 # with GT: 104X_dataRun2_v1
0005 #how to run: cmsRun remoteMonitoring_LED_eraTEST2019_cfg.py 320117 /store/group/dpg_hcal/comm_hcal/USC/ your_working_dir 
0006 #
0007 # with GT: 106X_dataRun3_HLT_v3
0008 #how to run: cmsRun remoteMonitoring_LED_eraTEST2019_cfg.py 331370 /store/group/dpg_hcal/comm_hcal/USC/ your_working_dir
0009 #
0010 #
0011 import sys
0012 import FWCore.ParameterSet.Config as cms
0013 from Configuration.StandardSequences.Eras import eras
0014 #process = cms.Process("TEST", eras.Run2_2018)
0015 process = cms.Process("TEST", eras.Run3)
0016 process.load("Configuration.StandardSequences.GeometryDB_cff")
0017 process.load("CondCore.CondDB.CondDB_cfi")
0018 process.load("EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi")
0019 process.l1GtUnpack.DaqGtInputTag = 'source'
0020 # from RelValAlCaPedestal_cfg_2018.py
0021 process.load('Configuration.StandardSequences.Services_cff')
0022 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0023 process.load('FWCore.MessageService.MessageLogger_cfi')
0024 process.load('Configuration.EventContent.EventContent_cff')
0025 process.load('Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff')
0026 process.load('Configuration.StandardSequences.Reconstruction_Data_cff')
0027 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0028 #process.load('RecoLocalCalo.Configuration.hcalLocalReco_cff')
0029 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0030 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0031 
0032 runnumber = sys.argv[1]
0033 rundir = sys.argv[2]
0034 histodir = sys.argv[3]
0035 
0036 #print 'RUN = '+runnumber
0037 #print 'Input file = '+rundir+'/run'+runnumber+'/USC_'+runnumber+'.root'
0038 ##print 'Input file = '+rundir+'/USC_'+runnumber+'.root'
0039 #print 'Output file = '+histodir+'/LED_'+runnumber+'.root'
0040 
0041 process.maxEvents = cms.untracked.PSet(
0042 #    input = cms.untracked.int32(100)
0043   input = cms.untracked.int32(-1)
0044   )
0045 
0046 # process.TFileService = cms.Service("TFileService",
0047 #     fileName = cms.string('histoTFileService.root'),
0048 #     closeFileFast = cms.untracked.bool(False)
0049 # )
0050 #process.TFileService = cms.Service('TFileService',
0051 #   fileName=cms.string("testhisto.root"),
0052 # closeFileFast = cms.untracked.bool(True)
0053 #)
0054 #process.TFileService = cms.Service("TFileService",
0055 #      fileName = cms.string("analysis_minbias_Full.root"),
0056 #      closeFileFast = cms.untracked.bool(True)
0057 #  )
0058 process.TFileService = cms.Service("TFileService",
0059       fileName = cms.string(histodir+'/LED_'+runnumber+'.root')
0060 #      ,closeFileFast = cms.untracked.bool(True)
0061   )
0062 
0063 
0064 # process.TFileService = cms.Service("TFileService", fileName = cms.string("plotting%03d.root" % jobnumber))
0065 
0066 #process.source = cms.Source("PoolSource",
0067 process.source = cms.Source("HcalTBSource",
0068                             skipBadFiles=cms.untracked.bool(True),
0069                             firstLuminosityBlockForEachRun = cms.untracked.VLuminosityBlockID([]),
0070                             firstRun = cms.untracked.uint32(331370),
0071 #                            firstRun = cms.untracked.uint32(330153),
0072 #                            firstRun = cms.untracked.uint32(329416),
0073                             fileNames = cms.untracked.vstring(
0074 rundir+'/run'+runnumber+'/USC_'+runnumber+'.root'
0075 #rundir+'/USC_'+runnumber+'.root'
0076 #                       '/store/group/dpg_hcal/comm_hcal/USC/run331370/USC_331370.root'
0077 
0078 ), 
0079                             secondaryFileNames = cms.untracked.vstring()
0080                             )
0081 
0082 #process.Analyzer = cms.EDAnalyzer("VeRawAnalyzer",
0083 process.Analyzer = cms.EDAnalyzer("CMTRawAnalyzer",
0084                                   #
0085                                   Verbosity = cms.untracked.int32(0),
0086                                   #
0087                                   MapCreation = cms.untracked.int32(1),
0088                                   #
0089                                   recordNtuples = cms.untracked.bool(False),
0090                                   maxNeventsInNtuple = cms.int32(1),
0091                                   recordHistoes = cms.untracked.bool(True),
0092                                   studyRunDependenceHist = cms.untracked.bool(True),
0093                                   studyCapIDErrorsHist = cms.untracked.bool(True),
0094                                   studyRMSshapeHist = cms.untracked.bool(True),
0095                                   studyRatioShapeHist = cms.untracked.bool(True),
0096                                   studyADCAmplHist = cms.untracked.bool(True),
0097                                   studyTSmeanShapeHist = cms.untracked.bool(True),
0098                                   studyTSmaxShapeHist = cms.untracked.bool(True),
0099                                   studyCalibCellsHist = cms.untracked.bool(True),
0100                                   studyDiffAmplHist = cms.untracked.bool(True),
0101                                   studyPedestalsHist = cms.untracked.bool(True),
0102                                   studyPedestalCorrelations = cms.untracked.bool(True),
0103                                   #         Normal channels:
0104                                   ratioHBMin = cms.double(0.70),
0105                                   ratioHBMax = cms.double(0.94),
0106                                   ratioHEMin = cms.double(0.60),
0107                                   ratioHEMax = cms.double(0.95),
0108                                   ratioHFMin = cms.double(0.45),
0109                                   ratioHFMax = cms.double(1.02),
0110                                   ratioHOMin = cms.double(0.40),
0111                                   ratioHOMax = cms.double(1.04),
0112                                   rmsHBMin = cms.double(0.7),
0113                                   rmsHBMax = cms.double(2.5),
0114                                   rmsHEMin = cms.double(0.7),
0115                                   rmsHEMax = cms.double(2.2),
0116                                   rmsHFMin = cms.double(0.1),
0117                                   rmsHFMax = cms.double(2.6),
0118                                   rmsHOMin = cms.double(0.1),
0119                                   rmsHOMax = cms.double(2.8),
0120                                   TSmeanHBMin = cms.double(2.5),
0121                                   TSmeanHBMax = cms.double(5.5),
0122                                   TSmeanHEMin = cms.double(1.0),
0123                                   TSmeanHEMax = cms.double(5.2),
0124                                   TSmeanHFMin = cms.double(1.0),
0125                                   TSmeanHFMax = cms.double(4.2),
0126                                   TSmeanHOMin = cms.double(1.0),
0127                                   TSmeanHOMax = cms.double(4.8),
0128                                   TSpeakHBMin = cms.double(2.2),
0129                                   TSpeakHBMax = cms.double(5.5),
0130                                   TSpeakHEMin = cms.double(1.5),
0131                                   TSpeakHEMax = cms.double(6.5),
0132                                   TSpeakHFMin = cms.double(0.5),
0133                                   TSpeakHFMax = cms.double(4.5),
0134                                   TSpeakHOMin = cms.double(0.5),
0135                                   TSpeakHOMax = cms.double(7.5),
0136                                   ADCAmplHBMin = cms.double(10000.),
0137                                   ADCAmplHBMax = cms.double(300000.),
0138                                   ADCAmplHEMin = cms.double(20000.),  
0139                                   ADCAmplHEMax = cms.double(300000.),
0140                                   ADCAmplHFMin = cms.double(50.),
0141                                   ADCAmplHFMax = cms.double(9000.),
0142                                   ADCAmplHOMin = cms.double(50.),
0143                                   ADCAmplHOMax = cms.double(9000.),
0144                                   pedestalwHBMax = cms.double(0.1),
0145                                   pedestalwHEMax = cms.double(0.1),
0146                                   pedestalwHFMax = cms.double(0.4),
0147                                   pedestalwHOMax = cms.double(0.1),
0148                                   pedestalHBMax = cms.double(0.1),
0149                                   pedestalHEMax = cms.double(0.6),
0150                                   pedestalHFMax = cms.double(0.8),
0151                                   pedestalHOMax = cms.double(0.1),
0152                                   #             CALIBRATION channels:
0153                                   calibrADCHBMin = cms.double(1000.),
0154                   calibrADCHBMax = cms.double(100000000.),
0155                                   calibrADCHEMin = cms.double(1000.),
0156                   calibrADCHEMax = cms.double(100000000.),
0157                                   calibrADCHOMin = cms.double(1000.),
0158                   calibrADCHOMax = cms.double(100000000.),
0159                                   calibrADCHFMin = cms.double(100.),
0160                   calibrADCHFMax = cms.double(100000000.),
0161                                   calibrRatioHBMin = cms.double(0.76),
0162                   calibrRatioHBMax = cms.double(0.94),
0163                                   calibrRatioHEMin = cms.double(0.76),
0164                   calibrRatioHEMax = cms.double(0.94),
0165                                   calibrRatioHOMin = cms.double(0.85),
0166                   calibrRatioHOMax = cms.double(0.99),
0167                                   calibrRatioHFMin = cms.double(0.5),
0168                   calibrRatioHFMax = cms.double(0.8),
0169                                   calibrTSmaxHBMin = cms.double(1.50),
0170                                   calibrTSmaxHBMax = cms.double(2.50),
0171                                   calibrTSmaxHEMin = cms.double(1.50),
0172                                   calibrTSmaxHEMax = cms.double(2.50),
0173                                   calibrTSmaxHOMin = cms.double(1.50),
0174                                   calibrTSmaxHOMax = cms.double(2.50),
0175                                   calibrTSmaxHFMin = cms.double(3.50),
0176                                   calibrTSmaxHFMax = cms.double(4.50),
0177                                   calibrTSmeanHBMin = cms.double(2.40),
0178                                   calibrTSmeanHBMax = cms.double(3.70),
0179                                   calibrTSmeanHEMin = cms.double(2.40),
0180                                   calibrTSmeanHEMax = cms.double(3.70),
0181                                   calibrTSmeanHOMin = cms.double(1.50),
0182                                   calibrTSmeanHOMax = cms.double(2.70),
0183                                   calibrTSmeanHFMin = cms.double(3.50),
0184                                   calibrTSmeanHFMax = cms.double(4.50),
0185                                   calibrWidthHBMin = cms.double(1.30),
0186                                   calibrWidthHBMax = cms.double(1.90),
0187                                   calibrWidthHEMin = cms.double(1.30),
0188                                   calibrWidthHEMax = cms.double(1.90),
0189                                   calibrWidthHOMin = cms.double(0.70),
0190                                   calibrWidthHOMax = cms.double(1.65),
0191                                   calibrWidthHFMin = cms.double(0.30),
0192                                   calibrWidthHFMax = cms.double(1.50),
0193                                   # Special task of run or LS quality:
0194                                   #
0195                                   # flag for ask runs of LSs for RMT & CMT accordingly:
0196                                   #=0-runs, =1-LSs
0197                                   # keep for LED runs this flags =0 always
0198                                   flagtoaskrunsorls = cms.int32(0),
0199                                   #
0200                                   # flag for choice of criterion of bad channels:
0201                                   #=0-CapIdErr, =1-Ratio, =2-Width, =3-TSmax, =4-TSmean, =5-adcAmplitud
0202                                   # keep for CMT (global runs) this flags =0 always
0203                                   flagtodefinebadchannel = cms.int32(0),
0204                                   #how many bins you want on the plots:better to choice (#LS+1)
0205                                   howmanybinsonplots = cms.int32(25),
0206                                   #
0207                                   # ls - range for RBX study (and ??? perhaps for gain stability via abort gap):
0208                                   lsmin = cms.int32(1),
0209                                   #lsmax = cms.int32(620),
0210                                   lsmax = cms.int32(2600),
0211                                   #
0212                                   flagabortgaprejected = cms.int32(1),
0213                                   bcnrejectedlow = cms.int32(3446),
0214                                   bcnrejectedhigh= cms.int32(3564),
0215                                   #
0216                                   # flag cpu time reducing
0217                                   #=0-all plots, =1-optimized number of plots (for Global runs)
0218                                   flagcpuoptimization = cms.int32(0),
0219                                   #
0220                                   # flag for ask type of Normalization for CMT estimators:
0221                                   #=0-normalizationOn#evOfLS;   =1-averageVariable-normalizationOn#entriesInLS;
0222                                   flagestimatornormalization = cms.int32(1),
0223                                   #
0224                                   #
0225                                   # cuts on Nbadchannels to see LS dependences:
0226                                   # Verbosity = cms.untracked.int32(-77),
0227                                   # to select abnormal events,for which Nbcs > this limits
0228                                   lsdep_cut1_peak_HBdepth1 = cms.int32(20),
0229                                   lsdep_cut1_peak_HBdepth2 = cms.int32(7),
0230                                   lsdep_cut1_peak_HEdepth1 = cms.int32(16),
0231                                   lsdep_cut1_peak_HEdepth2 = cms.int32(13),
0232                                   lsdep_cut1_peak_HEdepth3 = cms.int32(4),
0233                                   lsdep_cut1_peak_HFdepth1 = cms.int32(10),
0234                                   lsdep_cut1_peak_HFdepth2 = cms.int32(5),
0235                                   lsdep_cut1_peak_HOdepth4 = cms.int32(45),
0236                                   # to select events with Nbcs > this limits
0237                                   lsdep_cut3_max_HBdepth1 = cms.int32(19),
0238                                   lsdep_cut3_max_HBdepth2 = cms.int32(6),
0239                                   lsdep_cut3_max_HEdepth1 = cms.int32(15),
0240                                   lsdep_cut3_max_HEdepth2 = cms.int32(12),
0241                                   lsdep_cut3_max_HEdepth3 = cms.int32(3),
0242                                   lsdep_cut3_max_HFdepth1 = cms.int32(9),
0243                                   lsdep_cut3_max_HFdepth2 = cms.int32(4),
0244                                   lsdep_cut3_max_HOdepth4 = cms.int32(40),
0245                                   #Verbosity = cms.untracked.int32(-79),
0246                                   # cuts on Estimator1 to see LS dependences:
0247                                   lsdep_estimator1_HBdepth1 = cms.double(2500.),
0248                                   lsdep_estimator1_HBdepth2 = cms.double(2500.),
0249                                   lsdep_estimator1_HBdepth3 = cms.double(2500.),
0250                                   lsdep_estimator1_HBdepth4 = cms.double(2500.),
0251                                   lsdep_estimator1_HEdepth1 = cms.double(2500.),
0252                                   lsdep_estimator1_HEdepth2 = cms.double(2500.),
0253                                   lsdep_estimator1_HEdepth3 = cms.double(2500.),
0254                                   lsdep_estimator1_HEdepth4 = cms.double(2500.),
0255                                   lsdep_estimator1_HEdepth5 = cms.double(2500.),
0256                                   lsdep_estimator1_HEdepth6 = cms.double(2500.),
0257                                   lsdep_estimator1_HEdepth7 = cms.double(2500.),
0258                                   lsdep_estimator1_HFdepth1 = cms.double(2500.),
0259                                   lsdep_estimator1_HFdepth2 = cms.double(2500.),
0260                                   lsdep_estimator1_HFdepth3 = cms.double(2500.),
0261                                   lsdep_estimator1_HFdepth4 = cms.double(2500.),
0262                                   lsdep_estimator1_HOdepth4 = cms.double(2500.),
0263                                   # cuts on Estimator2 to see LS dependences:
0264                                   lsdep_estimator2_HBdepth1 = cms.double(7.),
0265                                   lsdep_estimator2_HBdepth2 = cms.double(7.),
0266                                   lsdep_estimator2_HEdepth1 = cms.double(7.),
0267                                   lsdep_estimator2_HEdepth2 = cms.double(7.),
0268                                   lsdep_estimator2_HEdepth3 = cms.double(7.),
0269                                   lsdep_estimator2_HFdepth1 = cms.double(7.),
0270                                   lsdep_estimator2_HFdepth2 = cms.double(7.),
0271                                   lsdep_estimator2_HOdepth4 = cms.double(7.),
0272                                   # cuts on Estimator3 to see LS dependences:
0273                                   lsdep_estimator3_HBdepth1 = cms.double(7.),
0274                                   lsdep_estimator3_HBdepth2 = cms.double(7.),
0275                                   lsdep_estimator3_HEdepth1 = cms.double(7.),
0276                                   lsdep_estimator3_HEdepth2 = cms.double(7.),
0277                                   lsdep_estimator3_HEdepth3 = cms.double(7.),
0278                                   lsdep_estimator3_HFdepth1 = cms.double(7.),
0279                                   lsdep_estimator3_HFdepth2 = cms.double(7.),
0280                                   lsdep_estimator3_HOdepth4 = cms.double(7.),
0281                                   # cuts on Estimator4 to see LS dependences:
0282                                   lsdep_estimator4_HBdepth1 = cms.double(5.),
0283                                   lsdep_estimator4_HBdepth2 = cms.double(5.),
0284                                   lsdep_estimator4_HEdepth1 = cms.double(5.),
0285                                   lsdep_estimator4_HEdepth2 = cms.double(5.),
0286                                   lsdep_estimator4_HEdepth3 = cms.double(5.),
0287                                   lsdep_estimator4_HFdepth1 = cms.double(5.),
0288                                   lsdep_estimator4_HFdepth2 = cms.double(5.),
0289                                   lsdep_estimator4_HOdepth4 = cms.double(5.),
0290                                   # cuts on Estimator5 to see LS dependences:
0291                                   lsdep_estimator5_HBdepth1 = cms.double(1.8),
0292                                   lsdep_estimator5_HBdepth2 = cms.double(1.8),
0293                                   lsdep_estimator5_HEdepth1 = cms.double(1.8),
0294                                   lsdep_estimator5_HEdepth2 = cms.double(1.8),
0295                                   lsdep_estimator5_HEdepth3 = cms.double(1.8),
0296                                   lsdep_estimator5_HFdepth1 = cms.double(1.8),
0297                                   lsdep_estimator5_HFdepth2 = cms.double(1.8),
0298                                   lsdep_estimator5_HOdepth4 = cms.double(1.8),
0299                                   #
0300                                   # use ADC amplitude:
0301                                   useADCmassive = cms.untracked.bool(True),
0302                                   useADCfC = cms.untracked.bool(False),
0303                                   useADCcounts = cms.untracked.bool(False),
0304                                   # 
0305                                   # Pedestals in fC
0306                                   #usePedestalSubtraction = cms.untracked.bool(True),
0307                                   usePedestalSubtraction = cms.untracked.bool(False),
0308                                   #
0309                                   # for possible ignoring of channels w/o signal, apply same cut for
0310                                   # HBHEHFHO on Amplitude, usable for all Estimators 1,2,3,4,5:
0311                                   # forallestimators_amplitude_bigger = cms.double(10.),
0312                                   forallestimators_amplitude_bigger = cms.double(-100.),
0313                                   #
0314                                   #usecontinuousnumbering = cms.untracked.bool(False),
0315                                   usecontinuousnumbering = cms.untracked.bool(True),
0316                                   #
0317                                   #
0318                                   #
0319                                   #
0320                                   # if 0 - do not use digis at all
0321                                   flagToUseDigiCollectionsORNot = cms.int32(1),
0322                                   #
0323                                   #
0324                                   #
0325                                   #
0326                                   #
0327                                   hcalCalibDigiCollectionTag = cms.InputTag('hcalDigis'),
0328                                   hbheDigiCollectionTag = cms.InputTag('hcalDigis'),
0329                                   hoDigiCollectionTag = cms.InputTag('hcalDigis'),
0330                                   hfDigiCollectionTag = cms.InputTag('hcalDigis'),
0331                                   #
0332                                   #for upgrade: ---------------------------------------------------------
0333                                   hbheQIE11DigiCollectionTag = cms.InputTag('hcalDigis'),
0334                                   hbheQIE10DigiCollectionTag = cms.InputTag('hcalDigis'),
0335                                   # flag to use either only old QIE8 digiCollections or only new QIE10,11 digiCollections
0336                                   #=0-all digiCollections(default for normal running), =1-only old QIE8 digiCollections, 
0337                                   #=2-only new QIE1011 digiCollections, =3-only new QIE1011 digiCollections w/o new high depthes
0338                                   #=4-2016fall, =5-2016fall w/o new high depthes, =6-2017bebin, =7-2017bebin w/o new high depthes in HEonly
0339                                   #=8--2017bebin w/o new high depthes, =9-all digiCollections  w/o new high depthes
0340                                   # flag   HBHE8    HBHE11   HF8   HF10  comments:
0341                                   #  0       +        +       +     +     all
0342                                   #  1       +        -       +     -     old
0343                                   #  2       -        +       -     +     new
0344                                   #  3       -        +       -     +     new w/o high depthes
0345                                   #  4       +        -       +     +     2016fall
0346                                   #  5       +        -       +     +     2016fall w/o high depthes
0347                                   #  6       +        +       -     +     2017 && 2018 && 2021
0348                                   #  7       +        +       -     +     2017begin w/o high depthes in HEonly
0349                                   #  8       +        +       -     +     2017begin w/o high depthes
0350                                   #  9       +        +       +     +     all  w/o high depthes
0351                                   # 10       +        -       -     +     2017 w/o HEP17
0352                                   # 
0353                                   flagupgradeqie1011 = cms.int32(6),
0354                                   # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 
0355                                   # flaguseshunt = 1 or 6 (6 is default for global runs) 
0356                                   flaguseshunt = cms.int32(6),
0357                                   # flagsipmcorrection: != 0 yes,apply; = 0 do not use;
0358                                   flagsipmcorrection = cms.int32(1),
0359                                   #end upgrade: --------------------------------------------------------- end upgrade
0360                                   #
0361                                   #
0362                                   # for local LASER runs ONLY!!! to be > 0    (,else = 0)
0363                                   flagLaserRaddam = cms.int32(0),
0364                                   # for gaussian fit for local shunt1 (Gsel0) led low-intensity or ped ONLY!!! to be  > 0    (,else = 0)
0365                                   flagfitshunt1pedorledlowintensity = cms.int32(0),
0366                                   #
0367                                   splashesUpperLimit = cms.int32(10000),
0368                                   #
0369                                   #
0370                                   # for use in IterativeMethod of CalibrationGroup!!! to be > 1    (,else = 0) This flag name is only present in early version of main cc-code & visualiz.script
0371                                   #flagIterativeMethodCalibrationGroup = cms.int32(0),
0372                                   #
0373                                   #
0374                                   # for use in IterativeMethod of CalibrationGroup!!! to be > 1    (,else = 0)
0375                                   flagIterativeMethodCalibrationGroupDigi = cms.int32(0),
0376                                   #
0377                                   # for use in IterativeMethod of CalibrationGroup!!! to be > 1    (,else = 0)
0378                                   flagIterativeMethodCalibrationGroupReco = cms.int32(0),
0379                                   #
0380                                   hbheInputSignalTag = cms.InputTag('hbherecoMBNZS'),
0381                                   hbheInputNoiseTag = cms.InputTag('hbherecoNoise'),
0382                                   hfInputSignalTag = cms.InputTag('hfrecoMBNZS'),
0383                                   hfInputNoiseTag = cms.InputTag('hfrecoNoise'),
0384                                   #
0385                                   #HistOutFile = cms.untracked.string('LED_331370.root'),
0386                                   #HistOutFile = cms.untracked.string(histodir+'/LED_'+runnumber+'.root'),
0387                                   #MAPOutFile = cms.untracked.string('LogEleMapdb.h')
0388                                   #
0389                                   ##OutputFilePath = cms.string('/tmp/zhokin/'),        
0390                                   ##OutputFileExt = cms.string(''),
0391                                   #
0392                                   )     
0393 ##################################################################################################
0394 process.hcal_db_producer = cms.ESProducer("HcalDbProducer",
0395     dump = cms.untracked.vstring(''),
0396     file = cms.untracked.string('')
0397 )
0398 ##################################################################################################
0399 process.es_hardcode = cms.ESSource("HcalHardcodeCalibrations",
0400     toGet = cms.untracked.vstring('QIEShape',
0401         'QIEData',
0402         'ChannelQuality',
0403         'HcalQIEData',
0404         'Pedestals',
0405         'PedestalWidths',
0406         'Gains',
0407         'GainWidths',
0408         'ZSThresholds',
0409         'RespCorrs')
0410 )
0411 ##################################################################################################
0412 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0413 from Configuration.AlCa.autoCond import autoCond
0414 # 2018:
0415 process.GlobalTag.globaltag = '104X_dataRun2_v1'
0416 ######process.GlobalTag.globaltag = '105X_postLS2_design_v4'
0417 # 2019:
0418 #process.GlobalTag.globaltag = '106X_dataRun3_HLT_v3'
0419 ##################################################################################################
0420 process.load('Configuration.StandardSequences.RawToDigi_Data_cff')
0421 process.hcalDigis.FilterDataQuality = cms.bool(False)
0422 process.hcalDigis.InputLabel = cms.InputTag("source")
0423 ############################################################################
0424 #process.hcalDigis= cms.EDProducer("HcalRawToDigi",
0425 #    FilterDataQuality = cms.bool(False),
0426 #    HcalFirstFED = cms.untracked.int32(700),
0427 #    InputLabel = cms.InputTag("source"),
0428 #)
0429 process.load('EventFilter.HcalRawToDigi.hcalRawToDigi_cfi')
0430 process.hcalDigis= process.hcalRawToDigi.clone(
0431     FilterDataQuality = False,
0432     InputLabel = "source",
0433     #InputLabel = cms.InputTag("rawDataCollector"),
0434 )
0435 ##################################################################################################
0436 #process.load("Calibration.HcalAlCaRecoProducers.ALCARECOHcalCalPedestalLocal_cff")
0437 process.p = cms.Path(process.hcalDigis*process.Analyzer)
0438 #process.p = cms.Path(process.hcalDigis*process.seqALCARECOHcalCalMinBiasDigiNoHLT*process.seqALCARECOHcalCalMinBias*process.Analyzer)
0439 ##################################################################################################
0440 process.MessageLogger = cms.Service("MessageLogger",
0441      categories   = cms.untracked.vstring(''),
0442      destinations = cms.untracked.vstring('cout'),
0443      debugModules = cms.untracked.vstring('*'),
0444      cout = cms.untracked.PSet(
0445          threshold = cms.untracked.string('WARNING'),
0446      WARNING = cms.untracked.PSet(limit = cms.untracked.int32(0))
0447      )
0448  )
0449 ##################################################################################################
0450 
0451 
0452 
0453 
0454