Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 # services
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("EcalFullValid")
0008 # initialize  MessageLogger
0009 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0010 
0011 # initialize magnetic field
0012 process.load("Configuration.StandardSequences.MagneticField_cff")
0013 
0014 # geometry (Only Ecal)
0015 process.load("Geometry.EcalCommonData.EcalOnly_cfi")
0016 
0017 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0018 
0019 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
0020 
0021 process.load("Geometry.EcalMapping.EcalMapping_cfi")
0022 
0023 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
0024 
0025 # DQM services
0026 process.load("DQMServices.Core.DQM_cfg")
0027 
0028 # ECAL hits validation sequence
0029 process.load("Validation.EcalHits.ecalSimHitsValidationSequence_cff")
0030 
0031 # ECAL digis validation sequence
0032 process.load("Validation.EcalDigis.ecalDigisValidationSequence_cff")
0033 
0034 # ECAL rechits validation sequence
0035 process.load("Validation.EcalRecHits.ecalRecHitsValidationSequence_cff")
0036 
0037 process.maxEvents = cms.untracked.PSet(
0038     input = cms.untracked.int32(200)
0039 )
0040 process.source = cms.Source("PoolSource",
0041     fileNames = cms.untracked.vstring('file:hits.root')
0042 )
0043 
0044 process.Timing = cms.Service("Timing")
0045 
0046 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck")
0047 
0048 process.simhits = cms.Sequence(process.ecalSimHitsValidationSequence)
0049 process.digis = cms.Sequence(process.ecalDigisValidationSequence)
0050 process.rechits = cms.Sequence(process.ecalRecHitsValidationSequence)
0051 process.p1 = cms.Path(process.simhits*process.digis*process.rechits)
0052 process.DQM.collectorHost = ''
0053