Skip to content

Instantly share code, notes, and snippets.

@alja
Last active August 29, 2015 14:17
Show Gist options
  • Save alja/6a67a2708c45af7faa28 to your computer and use it in GitHub Desktop.
Save alja/6a67a2708c45af7faa28 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import FWCore.ParameterSet.VarParsing as VarParsing
import FWCore.ParameterSet.Config as cms
import sys
process = cms.Process("FFWDISPLAY")
process.source = cms.Source(
"PoolSource",
fileNames=cms.untracked.vstring('file:/home/users/alja/virginia.root')
)
process.load('Configuration.Geometry.GeometryExtended2023HGCalV4Reco_cff')
process.add_(cms.ESProducer("FWRecoGeometryESProducer"))
import FWCore.ParameterSet.Config as cmsShowPrivate
process.looper = cmsShowPrivate.Looper("FWFFLooper",geometryFilename=cmsShowPrivate.untracked.string("/home/users/alja/hgcal_geo.root"),displayConfigFilename=cmsShowPrivate.untracked.string("/home/users/alja/hgcal_rechits.fwc"))
process.FWFFHelper = cmsShowPrivate.Service("FWFFHelper", rootPrompt = cmsShowPrivate.untracked.bool(False))
process.add_(cmsShowPrivate.ESProducer("FWRecoGeometryESProducer"))
process.maxEvents = cmsShowPrivate.untracked.PSet(input = cmsShowPrivate.untracked.int32(-1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment