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
0047 process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
0048
0049
0050
0051
0052
0053
0054 process.load("SimCalorimetry.EcalSelectiveReadoutProducers.ecalDigis_craft_cfi")
0055 process.simEcalDigis.trigPrimProducer = "ecalTriggerPrimitiveDigis"
0056 process.simEcalDigis.digiProducer = cms.string('ecalEBunpacker')
0057 process.simEcalDigis.EBdigiCollection = cms.string('ebDigis')
0058 process.simEcalDigis.EEdigiCollection = cms.string('eeDigis')
0059
0060
0061
0062 process.load("Validation.EcalDigis.ecalSelectiveReadoutValidation_cfi")
0063 process.ecalSelectiveReadoutValidation.EbDigiCollection = 'simEcalDigis:ebDigis'
0064 process.ecalSelectiveReadoutValidation.EeDigiCollection = 'simEcalDigis:eeDigis'
0065 process.ecalSelectiveReadoutValidation.EbSrFlagCollection = 'simEcalDigis:ebSrFlags'
0066 process.ecalSelectiveReadoutValidation.EeSrFlagCollection = 'simEcalDigis:eeSrFlags'
0067 process.ecalSelectiveReadoutValidation.TrigPrimCollection = 'simEcalTriggerPrimitiveDigis'
0068
0069
0070
0071
0072
0073
0074
0075 process.ecalSelectiveReadoutValidation.tpInGeV = False
0076 process.ecalSelectiveReadoutValidation.ecalDccZs1stSample = 3
0077 process.ecalSelectiveReadoutValidation.dccWeights = [ -1.1865, 0.0195, 0.2900, 0.3477, 0.3008, 0.2266 ]
0078 process.ecalSelectiveReadoutValidation.histDir = ''
0079 process.ecalSelectiveReadoutValidation.histograms = [
0080 "EBEventSize",
0081 "EBHighInterestPayload",
0082 "EBLowInterestPayload",
0083 "EcalMidInterestTriggerTowerFlagMap",
0084 "EEEventSize",
0085 "EEHighInterestPayload",
0086 "EELowInterestPayload",
0087 "EbZeroSupp1SRFlagMap",
0088 "EcalChannelOccupancy",
0089 "EcalDccEventSize",
0090 "EcalDccEventSizeComputed",
0091 "EcalEventSize",
0092 "EcalFullReadoutSRFlagMap",
0093 "EcalHighInterestPayload",
0094 "EcalHighInterestTriggerTowerFlagMap",
0095 "EcalLowInterestPayload",
0096 "EcalLowInterestTriggerTowerFlagMap",
0097 "EcalMidInterestTriggerTowerFlagMap",
0098 "EcalReadoutUnitForcedBitMap",
0099 "EcalTriggerPrimitiveEt",
0100 "EcalTriggerPrimitiveEtMap",
0101 "EcalTriggerTowerFlag",
0102 "hEbEMean",
0103 "hEbNoZsRecVsSimE",
0104 "hEbRecE",
0105 "hEbRecEHitXtal",
0106 "hEeEMean",
0107 "hEeRecE",
0108 "tpVsEtSum",
0109 "ttfVsEtSum",
0110 "ttfVsTp",
0111 "zsEbHiFIRemu",
0112 "zsEbLiFIRemu",
0113 "zsEeHiFIRemu",
0114 "zsEeLiFIRemu"
0115 ]
0116 process.tpparams = cms.ESSource("EmptyESSource",
0117 recordName = cms.string('EcalTPGLinearizationConstRcd'),
0118 iovIsRunNotTime = cms.bool(True),
0119 firstValid = cms.vuint32(1)
0120 )
0121
0122 process.tpparams2 = cms.ESSource("EmptyESSource",
0123 recordName = cms.string('EcalTPGPedestalsRcd'),
0124 iovIsRunNotTime = cms.bool(True),
0125 firstValid = cms.vuint32(1)
0126 )
0127
0128 process.tpparams3 = cms.ESSource("EmptyESSource",
0129 recordName = cms.string('EcalTPGSlidingWindowRcd'),
0130 iovIsRunNotTime = cms.bool(True),
0131 firstValid = cms.vuint32(1)
0132 )
0133
0134 process.tpparams4 = cms.ESSource("EmptyESSource",
0135 recordName = cms.string('EcalTPGWeightIdMapRcd'),
0136 iovIsRunNotTime = cms.bool(True),
0137 firstValid = cms.vuint32(1)
0138 )
0139
0140 process.tpparams5 = cms.ESSource("EmptyESSource",
0141 recordName = cms.string('EcalTPGWeightGroupRcd'),
0142 iovIsRunNotTime = cms.bool(True),
0143 firstValid = cms.vuint32(1)
0144 )
0145
0146 process.tpparams6 = cms.ESSource("EmptyESSource",
0147 recordName = cms.string('EcalTPGLutGroupRcd'),
0148 iovIsRunNotTime = cms.bool(True),
0149 firstValid = cms.vuint32(1)
0150 )
0151
0152 process.tpparams7 = cms.ESSource("EmptyESSource",
0153 recordName = cms.string('EcalTPGLutIdMapRcd'),
0154 iovIsRunNotTime = cms.bool(True),
0155 firstValid = cms.vuint32(1)
0156 )
0157
0158 process.tpparams8 = cms.ESSource("EmptyESSource",
0159 recordName = cms.string('EcalTPGFineGrainEBIdMapRcd'),
0160 iovIsRunNotTime = cms.bool(True),
0161 firstValid = cms.vuint32(1)
0162 )
0163
0164 process.tpparams9 = cms.ESSource("EmptyESSource",
0165 recordName = cms.string('EcalTPGFineGrainEBGroupRcd'),
0166 iovIsRunNotTime = cms.bool(True),
0167 firstValid = cms.vuint32(1)
0168 )
0169
0170 process.tpparams10 = cms.ESSource("EmptyESSource",
0171 recordName = cms.string('EcalTPGFineGrainStripEERcd'),
0172 iovIsRunNotTime = cms.bool(True),
0173 firstValid = cms.vuint32(1)
0174 )
0175
0176 process.tpparams11 = cms.ESSource("EmptyESSource",
0177 recordName = cms.string('EcalTPGFineGrainTowerEERcd'),
0178 iovIsRunNotTime = cms.bool(True),
0179 firstValid = cms.vuint32(1)
0180 )
0181
0182 process.tpparams12 = cms.ESSource("EmptyESSource",
0183 recordName = cms.string('EcalTPGPhysicsConstRcd'),
0184 iovIsRunNotTime = cms.bool(True),
0185 firstValid = cms.vuint32(1)
0186 )
0187
0188 process.EcalTrigPrimESProducer = cms.ESProducer("EcalTrigPrimESProducer",
0189 DatabaseFile = cms.untracked.string('TPG_startup.txt.gz')
0190 )
0191
0192 process.ecalTriggerPrimitiveDigis = cms.EDProducer("EcalTrigPrimProducer",
0193 InstanceEB = cms.string('ebDigis'),
0194 InstanceEE = cms.string('eeDigis'),
0195 Label = cms.string('ecalEBunpacker'),
0196
0197 BarrelOnly = cms.bool(False),
0198 Famos = cms.bool(False),
0199 TcpOutput = cms.bool(False),
0200 Debug = cms.bool(False),
0201
0202 binOfMaximum = cms.int32(6),
0203
0204 TTFHighEnergyEB = cms.double(1.0),
0205 TTFHighEnergyEE = cms.double(1.0),
0206 TTFLowEnergyEB = cms.double(1.0),
0207 TTFLowEnergyEE = cms.double(1.0)
0208 )
0209
0210
0211
0212
0213
0214
0215
0216
0217
0218
0219
0220
0221
0222
0223
0224
0225
0226
0227
0228
0229
0230
0231
0232
0233
0234
0235 process.p = cms.Path(process.ecalEBunpacker*process.ecalTriggerPrimitiveDigis*process.simEcalDigis*process.ecalSelectiveReadoutValidation)
0236
0237 process.ecalSelectiveReadoutValidation.outputFile = 'run69912hists_.root'
0238
0239 process.source.fileNames = ['/store/data/Commissioning08/Cosmics/RAW/v1/000/069/912/049C2F4D-10AD-DD11-BFEA-000423D174FE.root' ]