Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:32

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 # DQM services
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("TBH42006Valid")
0008 # initialize  MessageLogger
0009 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0010 
0011 # geometry (Only Ecal)
0012 process.load("Geometry.EcalTestBeam.TBH4GeometryXML_cfi")
0013 
0014 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0015 
0016 # Condition objects access
0017 process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetrieverTB_cfi")
0018 
0019 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
0020 
0021 # ECAL hits validation sequence
0022 process.load("Validation.EcalHits.ecalSimHitsValidation_cfi")
0023 
0024 process.load("Validation.EcalHits.ecalBarrelSimHitsValidation_cfi")
0025 
0026 # ECAL digis validation sequence
0027 process.load("Validation.EcalDigis.ecalDigisValidation_cfi")
0028 
0029 process.load("Validation.EcalDigis.ecalBarrelDigisValidation_cfi")
0030 
0031 # ECAL rechits validation sequence
0032 process.load("Validation.EcalRecHits.ecalRecHitsValidation_cfi")
0033 
0034 process.load("Validation.EcalRecHits.ecalBarrelRecHitsValidation_cfi")
0035 
0036 process.maxEvents = cms.untracked.PSet(
0037     input = cms.untracked.int32(-1)
0038 )
0039 process.source = cms.Source("PoolSource",
0040     fileNames = cms.untracked.vstring('file:ECALH4TB_detsim_hits.root')
0041 )
0042 
0043 process.DaqMonitorROOTBackEnd = cms.Service("DaqMonitorROOTBackEnd")
0044 
0045 process.Timing = cms.Service("Timing")
0046 
0047 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck")
0048 
0049 process.ecalSimHitsValidationSequence = cms.Sequence(process.ecalSimHitsValidation*process.ecalBarrelSimHitsValidation)
0050 process.ecalUnsuppressedDigisValidationSequence = cms.Sequence(process.ecalDigisValidation*process.ecalBarrelDigisValidation)
0051 process.ecalUnsuppressedRecHitsValidationSequence = cms.Sequence(process.ecalRecHitsValidation*process.ecalBarrelRecHitsValidation)
0052 process.p1 = cms.Path(process.ecalSimHitsValidationSequence*process.ecalUnsuppressedDigisValidationSequence*process.ecalUnsuppressedRecHitsValidationSequence)
0053 process.CaloGeometryBuilder.SelectedCalos = ['EcalBarrel']
0054 process.ecalDigisValidation.EBdigiCollection = 'simEcalUnsuppressedDigis'
0055 process.ecalDigisValidation.EEdigiCollection = 'simEcalUnsuppressedDigis'
0056 process.ecalDigisValidation.ESdigiCollection = 'simEcalUnsuppressedDigis'
0057 process.ecalBarrelDigisValidation.EBdigiCollection = 'simEcalUnsuppressedDigis'
0058 process.ecalRecHitsValidation.EBrechitCollection = cms.InputTag("ecalTBSimRecHit","EcalRecHitsEB")
0059 process.ecalRecHitsValidation.EBuncalibrechitCollection = cms.InputTag("ecalTBSimWeightUncalibRecHit","EcalUncalibRecHitsEB")
0060 process.ecalBarrelRecHitsValidation.EBdigiCollection = 'simEcalUnsuppressedDigis'
0061 process.ecalBarrelRecHitsValidation.EBuncalibrechitCollection = cms.InputTag("ecalTBSimWeightUncalibRecHit","EcalUncalibRecHitsEB")
0062 
0063