Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-16 01:50:14

0001 import FWCore.ParameterSet.Config as cms
0002 import os
0003 
0004 from TrackingTools.Configuration.TrackingTools_cff import *
0005 
0006 process = cms.Process("electrons")
0007 
0008 process.load("Configuration.StandardSequences.Services_cff")
0009 process.load("Configuration.StandardSequences.GeometryDB_cff")
0010 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0011 process.load("FWCore.MessageService.MessageLogger_cfi")
0012 
0013 process.load("Configuration.StandardSequences.RawToDigi_cff")
0014 process.load("Configuration.StandardSequences.Reconstruction_cff")
0015 
0016 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0017 process.load("Configuration.EventContent.EventContent_cff")
0018 
0019 from RecoEgamma.Configuration.RecoEgamma_cff import *
0020 
0021 process.source = cms.Source("PoolSource",
0022     fileNames = cms.untracked.vstring('file:'+os.environ['TEST_RAW_FILE'])
0023 )
0024 
0025 process.maxEvents = cms.untracked.PSet(
0026     input = cms.untracked.int32(10)
0027 )
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.mylocalreco =  cms.Sequence(process.trackerlocalreco*process.calolocalreco)
0039 process.myglobalreco = cms.Sequence(process.offlineBeamSpot+process.recopixelvertexing*process.ckftracks+process.ecalClusters+process.caloTowersRec*process.vertexreco*egammarecoGlobal*process.particleFlowCluster)
0040 process.myelectronseeding = cms.Sequence(process.trackerDrivenElectronSeeds*process.ecalDrivenElectronSeeds*process.electronMergedSeeds)
0041 process.myelectrontracking = cms.Sequence(process.electronCkfTrackCandidates*process.electronGsfTracks)
0042 
0043 process.p = cms.Path(process.RawToDigi*process.mylocalreco*process.myglobalreco*process.myelectronseeding*process.myelectrontracking*process.particleFlowReco*process.pfElectronTranslator*process.gsfElectronSequence)
0044 
0045 process.outpath = cms.EndPath(process.out)
0046 process.GlobalTag.globaltag = os.environ['TEST_GLOBAL_TAG']+'::All'
0047 
0048 
0049