** Warning **
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle dbname=lxr at /lxr/lib/LXR/Common.pm line 1113.
Last-Modified: Thu, 9 Jul 2025 05:00:41 GMT
Content-Type: text/html; charset=utf-8
/CMSSW_15_1_X_2025-07-08-2300/Validation/EcalDigis/test/Photon_E400GeV_all_cfg.py
File indexing completed on 2024-04-06 12:32:05
0001 import FWCore .ParameterSet .Config as cms
0002
0003 process = cms .Process ("EcalHitsValid" )
0004
0005 process .load ("FWCore.MessageLogger.MessageLogger_cfi" )
0006
0007
0008 process .load ("Configuration.StandardSequences.MagneticField_cff" )
0009
0010
0011 process .load ("Geometry.EcalCommonData.EcalOnly_cfi" )
0012
0013 process .load ("Geometry.CaloEventSetup.CaloGeometry_cff" )
0014
0015 process .load ("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi" )
0016
0017 process .load ("Geometry.EcalMapping.EcalMapping_cfi" )
0018
0019 process .load ("Geometry.EcalMapping.EcalMappingRecord_cfi" )
0020
0021
0022 process .load ("DQMServices.Core.DQM_cfg" )
0023
0024 process .load ("SimGeneral.HepPDTESSource.pythiapdt_cfi" )
0025
0026
0027 process .load ("SimG4Core.Application.g4SimHits_cfi" )
0028
0029
0030 process .load ("Validation.EcalHits.ecalSimHitsValidationSequence_cff" )
0031
0032
0033 process .load ("SimGeneral.MixingModule.mixNoPU_cfi" )
0034
0035 process .load ("CalibCalorimetry.Configuration.Ecal_FakeConditions_cff" )
0036
0037
0038 process .load ("SimCalorimetry.Configuration.ecalDigiSequence_cff" )
0039
0040
0041 process .load ("Validation.EcalDigis.ecalDigisValidationSequence_cff" )
0042
0043
0044 process .load ("Configuration.StandardSequences.EndOfProcess_cff" )
0045
0046 process .maxEvents = cms .untracked .PSet (
0047 input = cms .untracked .int32 (200)
0048 )
0049 process .source = cms .Source ("PoolSource" ,
0050 fileNames = cms .untracked .vstring ('file:Photon_E400GeV_all.root' )
0051 )
0052
0053 process .USER = cms .OutputModule ("PoolOutputModule" ,
0054 outputCommands = cms .untracked .vstring ('keep *' ,
0055 'drop *_simEcalUnsuppressedDigis_*_*' ,
0056 'drop *_simEcalDigis_*_*' ,
0057 'drop *_simEcalPreshowerDigis_*_*' ,
0058 'drop *_ecalRecHit_*_*' ,
0059 'drop *_ecalPreshowerRecHit_*_*' ),
0060 fileName = cms .untracked .string ('Photon_E400GeV_all_EcalValidation.root' )
0061 )
0062
0063 process .RandomNumberGeneratorService = cms .Service ("RandomNumberGeneratorService" ,
0064 moduleSeeds = cms .PSet (
0065 g4SimHits = cms .untracked .uint32 (9876),
0066 simEcalUnsuppressedDigis = cms .untracked .uint32 (12345)
0067 )
0068 )
0069
0070 process .randomEngineStateProducer = cms .EDProducer ("RandomEngineStateProducer" )
0071
0072 process .Timing = cms .Service ("Timing" )
0073
0074 process .SimpleMemoryCheck = cms .Service ("SimpleMemoryCheck" )
0075
0076 process .simhits = cms .Sequence (process .g4SimHits *process .ecalSimHitsValidationSequence )
0077 process .digis = cms .Sequence (process .mix *process .ecalDigiSequence *process .ecalDigisValidationSequence )
0078 process .p1 = cms .Path (process .simhits )
0079 process .p2 = cms .Path (process .digis )
0080 process .p4 = cms .Path (process .randomEngineStateProducer )
0081 process .p5 = cms .Path (process .endOfProcess )
0082 process .outpath = cms .EndPath (process .USER )
0083 process .schedule = cms .Schedule (process .p1 ,process .p2 ,process .p4 ,process .p5 ,process .outpath )
0084
0085 process .DQM .collectorHost = ''
0086 process .g4SimHits .Generator .HepMCProductLabel = 'source'
0087 process .g4SimHits .Watchers = cms .VPSet (cms .PSet (
0088 instanceLabel = cms .untracked .string ('EcalValidInfo' ),
0089 type = cms .string ('EcalSimHitsValidProducer' ),
0090 verbose = cms .untracked .bool (False )
0091 ))
0092