Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:31:10

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DUMP")
0004 # Stole the basics from Fireworks/Geometry/python/ 
0005 # This will create a geometry root file that cmsShow can read in.
0006 # You will need to addpkg 'Fireworks/Geometry' and 'scram b'
0007 # You will need to copy cmsRecoGeom1.root into the Fireworks/Geometry/data/ directory for cmsShow to find it
0008 # Run RecoFull_Fullsim_Phase1_cfg to reconstruct the events that you want to show
0009 # cmsShow -g cmsRecoGeom1.root reco.root
0010 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0011 from Configuration.PyReleaseValidation.autoCond import autoCond
0012 process.GlobalTag.globaltag = 'DESIGN42_V17::All'
0013 process.load("SLHCUpgradeSimulations.Geometry.Phase1_R30F12_cmsSimIdealGeometryXML_cff")
0014 
0015 process.load("Configuration.StandardSequences.Reconstruction_cff")
0016 process.load("SLHCUpgradeSimulations.Geometry.fakeConditions_Phase1_R30F12_cff")
0017 process.load("SLHCUpgradeSimulations.Geometry.recoFromSimDigis_cff")
0018 process.load("SLHCUpgradeSimulations.Geometry.upgradeTracking_phase1_cff")
0019 
0020 process.add_(cms.ESProducer("FWRecoGeometryESProducer"))
0021 
0022 #Adding Timing service:
0023 process.Timing = cms.Service("Timing")
0024 process.options = cms.untracked.PSet(
0025     wantSummary = cms.untracked.bool(True)
0026     )
0027 
0028 process.source = cms.Source("EmptySource")
0029 
0030 process.maxEvents = cms.untracked.PSet(
0031     input = cms.untracked.int32(1)
0032     )
0033 process.dump = cms.EDAnalyzer("DumpFWRecoGeometry",
0034                               level = cms.untracked.int32(1)
0035                               )
0036 
0037 process.p = cms.Path(process.dump)
0038