Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:29:59

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("EcalTBAnalysis")
0004 process.load("Geometry.EcalTestBeam.cmsEcalIdealTBGeometryXML_cfi")
0005 
0006 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0007 
0008 process.source = cms.Source("PoolSource",
0009     maxEvents = cms.untracked.int32(-1),
0010     debugFlag = cms.untracked.bool(True),
0011     debugVebosity = cms.untracked.uint32(10),
0012     fileNames = cms.untracked.vstring('file:ecal_TB_simout.root')
0013 )
0014 
0015 process.ecalHitsValidation = cms.EDFilter("EcalSimHitsTask",
0016     moduleLabelTk = cms.untracked.string('g4SimHits'),
0017     moduleLabelVtx = cms.untracked.string('g4SimHits'),
0018     outputFile = cms.untracked.string('EcalSimHitsTBValidation.root'),
0019     verbose = cms.untracked.bool(True),
0020     moduleLabelMC = cms.untracked.string('source')
0021 )
0022 
0023 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0024 process.ecalDigisValidation = DQMEDAnalyzer('EcalDigisValidation',
0025     moduleLabelTk = cms.untracked.string('g4SimHits'),
0026     moduleLabelVtx = cms.untracked.string('g4SimHits'),
0027     outputFile = cms.untracked.string('EcalDigisTBValidation.root'),
0028     verbose = cms.untracked.bool(True),
0029     moduleLabelMC = cms.untracked.string('source')
0030 )
0031 
0032 process.ecalBarrelDigisValidation = DQMEDAnalyzer('EcalBarrelDigisValidation',
0033     verbose = cms.untracked.bool(True)
0034 )
0035 
0036 process.MessageLogger = cms.Service("MessageLogger")
0037 
0038 process.DaqMonitorROOTBackEnd = cms.Service("DaqMonitorROOTBackEnd")
0039 
0040 process.p1 = cms.Path(process.ecalHitsValidation*process.ecalDigisValidation*process.ecalBarrelDigisValidation)
0041