File indexing completed on 2024-04-06 12:32:05
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("EcalSelectiveReadoutValid")
0004
0005 process.maxEvents = cms.untracked.PSet(
0006 input = cms.untracked.int32(1)
0007 )
0008
0009 process.source = cms.Source("PoolSource",
0010 fileNames = cms.untracked.vstring('to_be_replaced')
0011 )
0012
0013 import FWCore.Modules.printContent_cfi
0014 process.dumpEv = FWCore.Modules.printContent_cfi.printContent.clone()
0015
0016
0017 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0018 process.MessageLogger.cerr.INFO.limit = 10
0019 process.MessageLogger.suppressWarning = ['ecalSelectiveReadoutValidation']
0020
0021
0022 process.load("DQMServices.Core.DQM_cfg")
0023 process.DQM.collectorHost = ''
0024
0025
0026 process.load("EventFilter.EcalRawToDigi.EcalUnpackerMapping_cfi")
0027 process.load("EventFilter.EcalRawToDigi.EcalUnpackerData_cfi")
0028 process.ecalEBunpacker.silentMode = cms.untracked.bool(True)
0029
0030
0031
0032 process.load("Geometry.EcalCommonData.EcalOnly_cfi")
0033
0034 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0035 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
0036 process.load("Geometry.EcalMapping.EcalMapping_cfi")
0037 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
0038
0039
0040
0041 process.load("Configuration.StandardSequences.MagneticField_cff")
0042
0043 process.load("CalibCalorimetry.Configuration.Ecal_FakeConditions_cff")
0044
0045
0046 process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
0047
0048
0049
0050
0051
0052
0053 process.load("Validation.EcalDigis.ecalSelectiveReadoutValidation_cfi")
0054 process.ecalSelectiveReadoutValidation.EbDigiCollection = 'ecalEBunpacker:ebDigis'
0055 process.ecalSelectiveReadoutValidation.EeDigiCollection = 'ecalEBunpacker:eeDigis'
0056 process.ecalSelectiveReadoutValidation.EbSrFlagCollection = 'ecalEBunpacker:'
0057 process.ecalSelectiveReadoutValidation.EeSrFlagCollection = 'ecalEBunpacker:'
0058 process.ecalSelectiveReadoutValidation.TrigPrimCollection = 'ecalEBunpacker:EcalTriggerPrimitives'
0059
0060 process.ecalSelectiveReadoutValidation.tpInGeV = False
0061 process.ecalSelectiveReadoutValidation.ecalDccZs1stSample = 3
0062 process.ecalSelectiveReadoutValidation.dccWeights = [ -1.1865, 0.0195, 0.2900, 0.3477, 0.3008, 0.2266 ]
0063 process.ecalSelectiveReadoutValidation.histDir = ''
0064 process.ecalSelectiveReadoutValidation.histograms = [
0065 "EBEventSize",
0066 "EBHighInterestPayload",
0067 "EBLowInterestPayload",
0068 "EcalMidInterestTriggerTowerFlagMap",
0069 "EEEventSize",
0070 "EEHighInterestPayload",
0071 "EELowInterestPayload",
0072 "EbZeroSupp1SRFlagMap",
0073 "EcalChannelOccupancy",
0074 "EcalDccEventSize",
0075 "EcalDccEventSizeComputed",
0076 "EcalEventSize",
0077 "EcalFullReadoutSRFlagMap",
0078 "EcalHighInterestPayload",
0079 "EcalHighInterestTriggerTowerFlagMap",
0080 "EcalLowInterestPayload",
0081 "EcalLowInterestTriggerTowerFlagMap",
0082 "EcalMidInterestTriggerTowerFlagMap",
0083 "EcalReadoutUnitForcedBitMap",
0084 "EcalTriggerPrimitiveEt",
0085 "EcalTriggerPrimitiveEtMap",
0086 "EcalTriggerTowerFlag",
0087 "hEbEMean",
0088 "hEbNoZsRecVsSimE",
0089 "hEbRecE",
0090 "hEbRecEHitXtal",
0091 "hEeEMean",
0092 "hEeRecE",
0093 "tpVsEtSum",
0094 "ttfVsEtSum",
0095 "ttfVsTp",
0096 "zsEbHiFIRemu",
0097 "zsEbLiFIRemu",
0098 "zsEeHiFIRemu",
0099 "zsEeLiFIRemu"
0100 ]
0101
0102
0103 process.p = cms.Path(process.ecalSelectiveReadoutValidation)
0104
0105 process.ecalSelectiveReadoutValidation.outputFile = 'run69912hists_.root'
0106
0107 process.source.fileNames = ['/store/data/Commissioning08/Cosmics/RAW/v1/000/069/912/049C2F4D-10AD-DD11-BFEA-000423D174FE.root' ]