Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:33:08

0001 import FWCore.ParameterSet.Config as cms
0002 import os
0003 
0004 from Configuration.Eras.Era_Phase2C9_cff import Phase2C9
0005 process = cms.Process('CLIENT',Phase2C9)
0006 
0007 process.load("Configuration.StandardSequences.Reconstruction_cff")
0008 process.load('Configuration.Geometry.GeometryExtended2026D46Reco_cff')
0009 process.load('Configuration.Geometry.GeometryExtended2026D46_cff')
0010 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0011 
0012 process.load('FWCore.MessageService.MessageLogger_cfi')
0013 process.MessageLogger.cerr.FwkReport.reportEvery = 1
0014 
0015 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0016 from Configuration.AlCa.autoCond import autoCond
0017 process.GlobalTag.globaltag = autoCond['upgradePLS3']
0018 
0019 
0020 process.load("Validation.HGCalValidation.HGCalRecHitsClient_cfi")
0021 process.hgcalRecHitClientEE.Verbosity     = 2
0022 process.hgcalRecHitClientHEF = process.hgcalRecHitClientEE.clone(
0023     DetectorName = cms.string("HGCalHESiliconSensitive"))
0024 process.hgcalRecHitClientHEB = process.hgcalRecHitClientEE.clone(
0025     DetectorName = cms.string("HGCalHEScintillatorSensitive"))
0026 
0027 
0028 process.load("DQMServices.Core.DQM_cfg")
0029 process.DQM.collectorHost = ''
0030 
0031 # summary
0032 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) ) ## 
0033 
0034 process.maxEvents = cms.untracked.PSet(
0035     input = cms.untracked.int32(1)
0036         )
0037 
0038 process.source = cms.Source("PoolSource",
0039                             fileNames = cms.untracked.vstring('file:./test_output_rechitVal.root')
0040                             )
0041 
0042 
0043 process.load("Configuration.StandardSequences.EDMtoMEAtRunEnd_cff")
0044 process.dqmSaver.referenceHandling = cms.untracked.string('all')
0045 
0046 cmssw_version = os.environ.get('CMSSW_VERSION','CMSSW_X_Y_Z')
0047 Workflow = '/HGCalValidation/'+'Harvesting/'+str(cmssw_version)
0048 process.dqmSaver.workflow = Workflow
0049 
0050 process.load("Validation.HGCalValidation.HGCalRecHitsClient_cfi")
0051 
0052 process.p = cms.Path(process.EDMtoME *
0053                      process.hgcalRecHitClientEE *
0054                      process.hgcalRecHitClientHEF *
0055                      process.hgcalRecHitClientHEB *
0056                      process.dqmSaver)