Skip to content

Commit

Permalink
Clean up a few cfg's
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunanda committed Sep 3, 2020
1 parent 1b136fe commit d8ed68f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 155 deletions.
26 changes: 0 additions & 26 deletions Validation/HGCalValidation/test/python/runHGCalDigiStudy_cfg.py
Original file line number Diff line number Diff line change
@@ -1,30 +1,5 @@
import FWCore.ParameterSet.Config as cms

#from Configuration.Eras.Era_Phase2C4_cff import Phase2C4
#process = cms.Process('PROD',Phase2C4)
#process.load('Configuration.Geometry.GeometryExtended2026D35_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D35Reco_cff')

#from Configuration.Eras.Era_Phase2C8_cff import Phase2C8
#process = cms.Process('PROD',Phase2C8)
#process.load('Configuration.Geometry.GeometryExtended2026D41_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D41Reco_cff')

#from Configuration.Eras.Era_Phase2C9_cff import Phase2C9
#process = cms.Process('PROD',Phase2C9)
#process.load('Configuration.Geometry.GeometryExtended2026D49_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D49Reco_cff')

#from Configuration.Eras.Era_Phase2C12_cff import Phase2C12
#process = cms.Process('HGCGeomAnalysis',Phase2C12)
#process.load('Configuration.Geometry.GeometryExtended2026D58_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D58Reco_cff')

#from Configuration.Eras.Era_Phase2C11_cff import Phase2C11
#process = cms.Process('HGCGeomAnalysis',Phase2C11)
#process.load('Configuration.Geometry.GeometryExtended2026D59_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D59Reco_cff')

from Configuration.Eras.Era_Phase2C11_cff import Phase2C11
process = cms.Process('HGCGeomAnalysis',Phase2C11)
process.load('Configuration.Geometry.GeometryExtended2026D62_cff')
Expand All @@ -45,7 +20,6 @@
process.source = cms.Source("PoolSource",
fileNames = cms.untracked.vstring(
'file:step2.root',
# 'root://cms-xrd-global.cern.ch//store/relval/CMSSW_9_1_1_patch1/RelValSingleElectronPt35Extended/GEN-SIM-RECO/91X_upgrade2023_realistic_v1_D17-v1/10000/10D95AC2-B14A-E711-BC4A-0CC47A7C3638.root',
)
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,31 +1,6 @@
import FWCore.ParameterSet.Config as cms
import FWCore.Utilities.FileUtils as FileUtils

#from Configuration.Eras.Era_Phase2C4_cff import Phase2C4
#process = cms.Process('HGCGeomAnalysis',Phase2C4)
#process.load('Configuration.Geometry.GeometryExtended2026D35_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D35Reco_cff')

#from Configuration.Eras.Era_Phase2C8_cff import Phase2C8
#process = cms.Process('HGCGeomAnalysis',Phase2C8)
#process.load('Configuration.Geometry.GeometryExtended2026D41_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D41Reco_cff')

#from Configuration.Eras.Era_Phase2C9_cff import Phase2C9
#process = cms.Process('HGCGeomAnalysis',Phase2C9)
#process.load('Configuration.Geometry.GeometryExtended2026D46_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D46Reco_cff')

#from Configuration.Eras.Era_Phase2C9_cff import Phase2C9
#process = cms.Process('HGCGeomAnalysis',Phase2C11)
#process.load('Configuration.Geometry.GeometryExtended2026D49_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D49Reco_cff')

#from Configuration.Eras.Era_Phase2C11_cff import Phase2C11
#process = cms.Process('HGCGeomAnalysis',Phase2C11)
#process.load('Configuration.Geometry.GeometryExtended2026D59_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D59Reco_cff')

from Configuration.Eras.Era_Phase2C11_cff import Phase2C11
process = cms.Process('HGCGeomAnalysis',Phase2C11)
process.load('Configuration.Geometry.GeometryExtended2026D62_cff')
Expand Down
33 changes: 2 additions & 31 deletions Validation/HGCalValidation/test/python/runHGCalRecHitStudy_cfg.py
Original file line number Diff line number Diff line change
@@ -1,31 +1,6 @@
import FWCore.ParameterSet.Config as cms
import FWCore.Utilities.FileUtils as FileUtils

#from Configuration.Eras.Era_Phase2C4_cff import Phase2C4
#process = cms.Process('PROD',Phase2C4)
#process.load('Configuration.Geometry.GeometryExtended2026D35_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D35Reco_cff')

#from Configuration.Eras.Era_Phase2C8_cff import Phase2C8
#process = cms.Process('PROD',Phase2C8)
#process.load('Configuration.Geometry.GeometryExtended2026D41_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D41Reco_cff')

#from Configuration.Eras.Era_Phase2C9_cff import Phase2C9
#process = cms.Process('PROD',Phase2C9)
#process.load('Configuration.Geometry.GeometryExtended2026D49_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D49Reco_cff')

#from Configuration.Eras.Era_Phase2C12_cff import Phase2C12
#process = cms.Process('HGCGeomAnalysis',Phase2C12)
#process.load('Configuration.Geometry.GeometryExtended2026D58_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D58Reco_cff')

#from Configuration.Eras.Era_Phase2C11_cff import Phase2C11
#process = cms.Process('HGCGeomAnalysis',Phase2C11)
#process.load('Configuration.Geometry.GeometryExtended2026D59_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D59Reco_cff')

from Configuration.Eras.Era_Phase2C11_cff import Phase2C11
process = cms.Process('HGCGeomAnalysis',Phase2C11)
process.load('Configuration.Geometry.GeometryExtended2026D62_cff')
Expand All @@ -46,18 +21,14 @@
# process.MessageLogger.categories.append('HGCalValidation')

process.source = cms.Source("PoolSource",
fileNames = cms.untracked.vstring(
'file:step3.root',
# 'root://cms-xrd-global.cern.ch//store/relval/CMSSW_9_1_1_patch1/RelValSingleElectronPt35Extended/GEN-SIM-RECO/91X_upgrade2023_realistic_v1_D17-v1/10000/10D95AC2-B14A-E711-BC4A-0CC47A7C3638.root',
)
)
fileNames = cms.untracked.vstring('file:step3.root')
)

process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(-1)
)

process.load('Validation.HGCalValidation.hgcalRecHitStudy_cff')
process.hgcalRecHitStudyBH.verbosity = 0

process.TFileService = cms.Service("TFileService",
fileName = cms.string('hgcRecHitD62tt.root'),
Expand Down
32 changes: 2 additions & 30 deletions Validation/HGCalValidation/test/python/runHGCalSimHitStudy_cfg.py
Original file line number Diff line number Diff line change
@@ -1,30 +1,5 @@
import FWCore.ParameterSet.Config as cms

#from Configuration.Eras.Era_Phase2C4_cff import Phase2C4
#process = cms.Process('PROD',Phase2C4)
#process.load('Configuration.Geometry.GeometryExtended2026D35_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D35Reco_cff')

#from Configuration.Eras.Era_Phase2C8_cff import Phase2C8
#process = cms.Process('PROD',Phase2C8)
#process.load('Configuration.Geometry.GeometryExtended2026D41_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D41Reco_cff')

#from Configuration.Eras.Era_Phase2C9_cff import Phase2C9
#process = cms.Process('PROD',Phase2C9)
#process.load('Configuration.Geometry.GeometryExtended2026D49_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D49Reco_cff')

#from Configuration.Eras.Era_Phase2C12_cff import Phase2C12
#process = cms.Process('HGCGeomAnalysis',Phase2C12)
#process.load('Configuration.Geometry.GeometryExtended2026D58_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D58Reco_cff')

#from Configuration.Eras.Era_Phase2C11_cff import Phase2C11
#process = cms.Process('HGCGeomAnalysis',Phase2C11)
#process.load('Configuration.Geometry.GeometryExtended2026D59_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D59Reco_cff')

from Configuration.Eras.Era_Phase2C11_cff import Phase2C11
process = cms.Process('HGCGeomAnalysis',Phase2C11)
process.load('Configuration.Geometry.GeometryExtended2026D62_cff')
Expand All @@ -40,11 +15,8 @@
process.GlobalTag.globaltag = autoCond['phase2_realistic']

process.source = cms.Source("PoolSource",
fileNames = cms.untracked.vstring(
'file:step1.root',
# 'root://cms-xrd-global.cern.ch//store/relval/CMSSW_9_1_1_patch1/RelValSingleElectronPt35Extended/GEN-SIM-RECO/91X_upgrade2023_realistic_v1_D17-v1/10000/10D95AC2-B14A-E711-BC4A-0CC47A7C3638.root',
)
)
fileNames = cms.untracked.vstring('file:step1.root')
)

process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(-1)
Expand Down
43 changes: 0 additions & 43 deletions Validation/HGCalValidation/test/python/testHGCalBHValid_cfg.py
Original file line number Diff line number Diff line change
@@ -1,30 +1,5 @@
import FWCore.ParameterSet.Config as cms

#from Configuration.Eras.Era_Phase2C4_cff import Phase2C4
#process = cms.Process('HGCGeomAnalysis',Phase2C4)
#process.load('Configuration.Geometry.GeometryExtended2026D35_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D35Reco_cff')

#from Configuration.Eras.Era_Phase2C8_cff import Phase2C8
#process = cms.Process('HGCGeomAnalysis',Phase2C8)
#process.load('Configuration.Geometry.GeometryExtended2026D41_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D41Reco_cff')

#from Configuration.Eras.Era_Phase2C9_cff import Phase2C9
#process = cms.Process('HGCGeomAnalysis',Phase2C9)
#process.load('Configuration.Geometry.GeometryExtended2026D49_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D49Reco_cff')

#from Configuration.Eras.Era_Phase2C12_cff import Phase2C12
#process = cms.Process('HGCGeomAnalysis',Phase2C12)
#process.load('Configuration.Geometry.GeometryExtended2026D58_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D58Reco_cff')

#from Configuration.Eras.Era_Phase2C11_cff import Phase2C11
#process = cms.Process('HGCGeomAnalysis',Phase2C11)
#process.load('Configuration.Geometry.GeometryExtended2026D59_cff')
#process.load('Configuration.Geometry.GeometryExtended2026D59Reco_cff')

from Configuration.Eras.Era_Phase2C11_cff import Phase2C11
process = cms.Process('HGCGeomAnalysis',Phase2C11)
process.load('Configuration.Geometry.GeometryExtended2026D62_cff')
Expand Down Expand Up @@ -73,23 +48,6 @@
name = cms.untracked.string('Applications')
)


# Output definitiond
process.output = cms.OutputModule("PoolOutputModule",
splitLevel = cms.untracked.int32(0),
eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
outputCommands = process.FEVTDEBUGHLTEventContent.outputCommands,
# outputCommands = cms.untracked.vstring('keep *'),
fileName = cms.untracked.string('file:testHGCalBHValidD62.root'),
dataset = cms.untracked.PSet(
filterName = cms.untracked.string(''),
dataTier = cms.untracked.string('GEN-SIM-DIGI-RAW-RECO')
),
SelectEvents = cms.untracked.PSet(
SelectEvents = cms.vstring('generation_step')
)
)

if hasattr(process,'MessageLogger'):
process.MessageLogger.categories.append('ValidHGCal')
process.MessageLogger.categories.append('HcalSim')
Expand Down Expand Up @@ -147,7 +105,6 @@
process.reconstruction_step = cms.Path(process.localreco)
process.recosim_step = cms.Path(process.recosim)
process.analysis_step = cms.Path(process.hgcalBHAnalysis)
process.out_step = cms.EndPath(process.output)

# Schedule definition
process.schedule = cms.Schedule(process.generation_step,
Expand Down

0 comments on commit d8ed68f

Please sign in to comment.