Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:32:25

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("EcalSelectiveReadoutValid")
0004 
0005 # initialize  MessageLogger
0006 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0007 
0008 # initialize magnetic field
0009 process.load("Configuration.StandardSequences.MagneticField_cff")
0010 
0011 # geometry (Only Ecal)
0012 process.load("Geometry.EcalCommonData.EcalOnly_cfi")
0013 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0014 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
0015 process.load("Geometry.EcalMapping.EcalMapping_cfi")
0016 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
0017 
0018 # DQM services
0019 process.load("DQMServices.Core.DQM_cfg")
0020 
0021 process.load("CalibCalorimetry.Configuration.Ecal_FakeConditions_cff")
0022 
0023 # ECAL digitization sequence
0024 process.load("SimCalorimetry.Configuration.ecalDigiSequence_cff")
0025 
0026 # Defines Ecal seletive readout validation module, ecalSelectiveReadoutValidation:
0027 process.load("Validation.EcalDigis.ecalSelectiveReadoutValidation_cfi")
0028 process.ecalSelectiveReadoutValidation.outputFile = 'srvalid_hists.root'
0029 
0030 process.maxEvents = cms.untracked.PSet(
0031     input = cms.untracked.int32(20)
0032 )
0033 process.source = cms.Source("PoolSource",
0034     fileNames = cms.untracked.vstring('/store/relval/CMSSW_3_2_2/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP31X_V2-v1/0001/A03E16E9-3C78-DE11-B612-0018F3D09620.root')
0035 )
0036 
0037 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck")
0038 
0039 process.tpparams12 = cms.ESSource("EmptyESSource",
0040     recordName = cms.string('EcalTPGPhysicsConstRcd'),
0041     iovIsRunNotTime = cms.bool(True),
0042     firstValid = cms.vuint32(1)
0043 )
0044 
0045 process.p1 = cms.Path(process.ecalSelectiveReadoutValidation)
0046 process.DQM.collectorHost = ''