import FWCore.ParameterSet.Config as cms

from PhysicsTools.PatAlgos.patTemplate_cfg import process
process.setName_("DJ")
from DisplacedDijet.DisplacedJetAnlzr.DJ_options_cff import options
options = options()

process.maxEvents.input = options.maxEvents
process.GlobalTag.globaltag = options.GlobalTag
process.source = cms.Source('PoolSource', fileNames = cms.untracked.vstring(options.files) )
process.add_( cms.Service( "TFileService", fileName = cms.string( options.output ), closeFileFast = cms.untracked.bool(True) ) )

from DisplacedDijet.DisplacedJetAnlzr.DJ_nTuple_cfi import DJ
import DisplacedDijet.DisplacedJetAnlzr.DJ_ProcessAdjustments_cfi as adjust
adjust.messageLogger(process,options.quiet)
adjust.loadAndConfigureHcalSeverityLevelProducer(process, options.isData)
adjust.loadAndConfigureEcalSeverityLevelProducer(process)
adjust.loadAndConfigureRecoTracker(process) # needed for CheckHitPattern
adjust.loadAndConfigureTrackAssociation(process, options.isData) # needed for TrackAssociators

process.p_DJ  = DJ(process,options).path()

# write this config as a single file
file = open(options.output.replace('.root','_cfg.py'),'w')
file.write(str(process.dumpPython()))
file.close()

15089bd585855a3ed95e46a6422fde2d90db6721
<mask token>

<mask token>
process.setName_('DJ')
<mask token>
process.add_(cms.Service('TFileService', fileName=cms.string(options.output
    ), closeFileFast=cms.untracked.bool(True)))
<mask token>
adjust.messageLogger(process, options.quiet)
adjust.loadAndConfigureHcalSeverityLevelProducer(process, options.isData)
adjust.loadAndConfigureEcalSeverityLevelProducer(process)
adjust.loadAndConfigureRecoTracker(process)
adjust.loadAndConfigureTrackAssociation(process, options.isData)
<mask token>
file.write(str(process.dumpPython()))
file.close()

<mask token>
process.setName_('DJ')
<mask token>
options = options()
process.maxEvents.input = options.maxEvents
process.GlobalTag.globaltag = options.GlobalTag
process.source = cms.Source('PoolSource', fileNames=cms.untracked.vstring(
    options.files))
process.add_(cms.Service('TFileService', fileName=cms.string(options.output
    ), closeFileFast=cms.untracked.bool(True)))
<mask token>
adjust.messageLogger(process, options.quiet)
adjust.loadAndConfigureHcalSeverityLevelProducer(process, options.isData)
adjust.loadAndConfigureEcalSeverityLevelProducer(process)
adjust.loadAndConfigureRecoTracker(process)
adjust.loadAndConfigureTrackAssociation(process, options.isData)
process.p_DJ = DJ(process, options).path()
file = open(options.output.replace('.root', '_cfg.py'), 'w')
file.write(str(process.dumpPython()))
file.close()

import FWCore.ParameterSet.Config as cms
from PhysicsTools.PatAlgos.patTemplate_cfg import process
process.setName_('DJ')
from DisplacedDijet.DisplacedJetAnlzr.DJ_options_cff import options
options = options()
process.maxEvents.input = options.maxEvents
process.GlobalTag.globaltag = options.GlobalTag
process.source = cms.Source('PoolSource', fileNames=cms.untracked.vstring(
    options.files))
process.add_(cms.Service('TFileService', fileName=cms.string(options.output
    ), closeFileFast=cms.untracked.bool(True)))
from DisplacedDijet.DisplacedJetAnlzr.DJ_nTuple_cfi import DJ
import DisplacedDijet.DisplacedJetAnlzr.DJ_ProcessAdjustments_cfi as adjust
adjust.messageLogger(process, options.quiet)
adjust.loadAndConfigureHcalSeverityLevelProducer(process, options.isData)
adjust.loadAndConfigureEcalSeverityLevelProducer(process)
adjust.loadAndConfigureRecoTracker(process)
adjust.loadAndConfigureTrackAssociation(process, options.isData)
process.p_DJ = DJ(process, options).path()
file = open(options.output.replace('.root', '_cfg.py'), 'w')
file.write(str(process.dumpPython()))
file.close()

import FWCore.ParameterSet.Config as cms

from PhysicsTools.PatAlgos.patTemplate_cfg import process
process.setName_("DJ")
from DisplacedDijet.DisplacedJetAnlzr.DJ_options_cff import options
options = options()

process.maxEvents.input = options.maxEvents
process.GlobalTag.globaltag = options.GlobalTag
process.source = cms.Source('PoolSource', fileNames = cms.untracked.vstring(options.files) )
process.add_( cms.Service( "TFileService", fileName = cms.string( options.output ), closeFileFast = cms.untracked.bool(True) ) )

from DisplacedDijet.DisplacedJetAnlzr.DJ_nTuple_cfi import DJ
import DisplacedDijet.DisplacedJetAnlzr.DJ_ProcessAdjustments_cfi as adjust
adjust.messageLogger(process,options.quiet)
adjust.loadAndConfigureHcalSeverityLevelProducer(process, options.isData)
adjust.loadAndConfigureEcalSeverityLevelProducer(process)
adjust.loadAndConfigureRecoTracker(process) # needed for CheckHitPattern
adjust.loadAndConfigureTrackAssociation(process, options.isData) # needed for TrackAssociators

process.p_DJ  = DJ(process,options).path()

# write this config as a single file
file = open(options.output.replace('.root','_cfg.py'),'w')
file.write(str(process.dumpPython()))
file.close()
