Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:24:50

0001 import FWCore.ParameterSet.Config as cms
0002 import os
0003 import dbs_discovery
0004 
0005 from TrackingTools.Configuration.TrackingTools_cff import *
0006 
0007 process = cms.Process("electrons")
0008 
0009 process.load("Configuration.StandardSequences.Services_cff")
0010 process.load("Configuration.StandardSequences.GeometryDB_cff")
0011 process.load("Configuration.StandardSequences.MagneticField_cff")
0012 process.load("FWCore.MessageService.MessageLogger_cfi")
0013 
0014 process.load("Configuration.StandardSequences.RawToDigi_cff")
0015 process.load("Configuration.StandardSequences.Reconstruction_cff")
0016 
0017 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0018 process.load("Configuration.EventContent.EventContent_cff")
0019 
0020 process.source = cms.Source("PoolSource",
0021     debugVerbosity = cms.untracked.uint32(1),
0022     debugFlag = cms.untracked.bool(True),
0023     fileNames = cms.untracked.vstring()
0024 )
0025 
0026 process.source.fileNames.extend(dbs_discovery.search())
0027 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))
0028 
0029 process.out = cms.OutputModule("PoolOutputModule",
0030     outputCommands = cms.untracked.vstring('drop *', 
0031         'keep recoSuperClusters*_*_*_*', 
0032         'keep *_iterativeCone5CaloJets_*_*', 
0033         'keep *_*_*_electrons', 
0034         'keep *HepMCProduct_*_*_*'),
0035     fileName = cms.untracked.string(os.environ['TEST_RECO_FILE'])
0036 )
0037 
0038 process.p = cms.Path(process.gsfElectrons)
0039 
0040 process.outpath = cms.EndPath(process.out)
0041 process.GlobalTag.globaltag = os.environ['TEST_GLOBAL_TAG']+'::All'
0042 
0043 
0044