Skip to content

Commit

Permalink
Merge pull request cms-sw#23 from clelange/UpdateToD13
Browse files Browse the repository at this point in the history
update config templates to D13
  • Loading branch information
clelange authored May 23, 2017
2 parents 0fe1032 + 6c588e3 commit 23cc859
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 20 deletions.
6 changes: 3 additions & 3 deletions templates/partGun_GSD_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@

from Configuration.StandardSequences.Eras import eras

process = cms.Process('HLT',eras.Phase2C2_timing)
process = cms.Process('HLT',eras.Phase2C2)

# import of standard configurations
process.load('Configuration.StandardSequences.Services_cff')
process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
process.load('FWCore.MessageService.MessageLogger_cfi')
process.load('Configuration.EventContent.EventContent_cff')
process.load('SimGeneral.MixingModule.DUMMYPU')
process.load('Configuration.Geometry.GeometryExtended2023D4Reco_cff')
process.load('Configuration.Geometry.GeometryExtended2023D4_cff')
process.load('Configuration.Geometry.GeometryExtended2023D13Reco_cff')
process.load('Configuration.Geometry.GeometryExtended2023D13_cff')
process.load('Configuration.StandardSequences.MagneticField_cff')
process.load('Configuration.StandardSequences.Generator_cff')
process.load('Configuration.StandardSequences.VtxSmearedNoSmear_cff')
Expand Down
33 changes: 18 additions & 15 deletions templates/partGun_NTUP_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@
process = cms.Process("Demo")
process.load('Configuration.StandardSequences.Services_cff')
process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
process.load('Configuration.Geometry.GeometryExtended2023D4Reco_cff')
process.load('Configuration.StandardSequences.MagneticField_38T_PostLS1_cff')
process.load('Configuration.Geometry.GeometryExtended2023D13Reco_cff')
process.load('Configuration.StandardSequences.MagneticField_cff')
process.load('Configuration.EventContent.EventContent_cff')
process.load("FWCore.MessageService.MessageLogger_cfi")
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
process.load('RecoLocalCalo.HGCalRecProducers.HGCalLocalRecoSequence_cff')
#process.load("RecoLocalCalo.HGCalRecProducers.hgcalLayerClusters_cfi")

from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')

from FastSimulation.Event.ParticleFilter_cfi import *

process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(DUMMYEVTSPERJOB) )
Expand All @@ -21,19 +24,19 @@
fileNames = cms.untracked.vstring(
DUMMYINPUTFILELIST
),
duplicateCheckMode = cms.untracked.string("noDuplicateCheck"),
inputCommands=cms.untracked.vstring(
'keep *',
'drop EcalEBTriggerPrimitiveDigisSorted_simEcalEBTriggerPrimitiveDigis__HLT'
)
duplicateCheckMode = cms.untracked.string("noDuplicateCheck")
# inputCommands=cms.untracked.vstring(
# 'keep *',
# 'drop EcalEBTriggerPrimitiveDigisSorted_simEcalEBTriggerPrimitiveDigis__HLT'
# )
)

process.ana = cms.EDAnalyzer('HGCalAnalysis',
detector = cms.string("all"),
rawRecHits = cms.bool(True),
readOfficialReco = cms.bool(DUMMYROR),
readCaloParticles = cms.bool(False),
layerClusterPtThreshold = cms.double(0.01), # All LayerCluster belonging to a multicluster are saved; this Pt threshold applied to the others
layerClusterPtThreshold = cms.double(-1), # All LayerCluster belonging to a multicluster are saved; this Pt threshold applied to the others
TestParticleFilter = ParticleFilterBlock.ParticleFilter
)

Expand All @@ -46,15 +49,15 @@

)

reRunClustering = False
reRunClustering = True

if reRunClustering:
process.hgcalLayerClusters.minClusters = cms.uint32(0)
process.hgcalLayerClusters.realSpaceCone = cms.bool(True)
process.hgcalLayerClusters.multiclusterRadius = cms.double(2.) # in cm if realSpaceCone is true
process.hgcalLayerClusters.dependSensor = cms.bool(True)
process.hgcalLayerClusters.ecut = cms.double(3.) # multiple of sigma noise if dependSensor is true
process.hgcalLayerClusters.kappa = cms.double(9.) # multiple of sigma noise if dependSensor is true
# process.hgcalLayerClusters.minClusters = cms.uint32(0)
# process.hgcalLayerClusters.realSpaceCone = cms.bool(True)
# process.hgcalLayerClusters.multiclusterRadius = cms.double(2.) # in cm if realSpaceCone is true
# process.hgcalLayerClusters.dependSensor = cms.bool(True)
# process.hgcalLayerClusters.ecut = cms.double(3.) # multiple of sigma noise if dependSensor is true
# process.hgcalLayerClusters.kappa = cms.double(9.) # multiple of sigma noise if dependSensor is true
#process.hgcalLayerClusters.deltac = cms.vdouble(2.,3.,5.) #specify delta c for each subdetector separately
process.p = cms.Path(process.hgcalLayerClusters+process.ana)
else:
Expand Down
4 changes: 2 additions & 2 deletions templates/partGun_RECO_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@

from Configuration.StandardSequences.Eras import eras

process = cms.Process('RECO',eras.Phase2C2_timing)
process = cms.Process('RECO',eras.Phase2C2)

# import of standard configurations
process.load('Configuration.StandardSequences.Services_cff')
process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
process.load('FWCore.MessageService.MessageLogger_cfi')
process.load('Configuration.EventContent.EventContent_cff')
process.load('SimGeneral.MixingModule.mixNoPU_cfi')
process.load('Configuration.Geometry.GeometryExtended2023D4Reco_cff')
process.load('Configuration.Geometry.GeometryExtended2023D13Reco_cff')
process.load('Configuration.StandardSequences.MagneticField_cff')
process.load('Configuration.StandardSequences.RawToDigi_cff')
process.load('Configuration.StandardSequences.L1Reco_cff')
Expand Down

0 comments on commit 23cc859

Please sign in to comment.