Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:33:38

0001 
0002 #
0003 # TO BE DONE : ADD WHAT IS LACKING FOR ISO FROM DEPOSITS
0004 #
0005 
0006 import sys
0007 import os
0008 import DQMOffline.EGamma.electronDataDiscovery as dbs
0009 import FWCore.ParameterSet.Config as cms
0010 
0011 process = cms.Process("electronRedoFromTrackSeeds")
0012 
0013 process.load("Configuration.StandardSequences.Services_cff")
0014 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0015 process.load("Configuration.StandardSequences.MagneticField_cff")
0016 process.load("FWCore.MessageService.MessageLogger_cfi")
0017 process.load("Configuration.StandardSequences.RawToDigi_cff")
0018 process.load("Configuration.StandardSequences.Reconstruction_cff")
0019 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0020 process.load("Configuration.EventContent.EventContent_cff")
0021 
0022 from Configuration.AlCa.autoCond import autoCond
0023 process.GlobalTag.globaltag = autoCond[os.environ['TEST_GLOBAL_AUTOCOND']]
0024 
0025 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
0026 process.source = cms.Source ("PoolSource",fileNames = cms.untracked.vstring(),secondaryFileNames = cms.untracked.vstring())
0027 process.source.fileNames.extend(dbs.search())
0028 
0029 process.out = cms.OutputModule("PoolOutputModule",
0030     outputCommands = cms.untracked.vstring('drop *', 
0031         'keep recoBeamSpot*_*_*_*',
0032         'keep recoGenParticle*_*_*_*',
0033         'keep *HepMCProduct_*_*_*',
0034         'keep recoElectronSeed*_*_*_*', 
0035         'keep recoSuperCluster*_*_*_*', 
0036         'keep recoTrack*_*_*_*', 
0037         'keep recoGsfTrack*_*_*_*', 
0038         'keep *_iterativeCone5CaloJets_*_*', 
0039         'keep *_iterativeCone5GenJets_*_*', 
0040         'keep *_gsfElectronCores_*_*', 
0041         'keep *_gsfElectrons_*_*'
0042     ),
0043     fileName = cms.untracked.string(os.environ['TEST_HISTOS_FILE'])
0044 )
0045 
0046 process.newCombinedSeeds.seedCollections = cms.VInputTag(
0047      cms.InputTag('initialStepSeeds'),
0048      cms.InputTag('pixelPairStepSeeds'),
0049      cms.InputTag('mixedTripletStepSeeds'),
0050      cms.InputTag('pixelLessStepSeeds')
0051 )
0052 
0053 process.p = cms.Path(process.siPixelRecHits*process.siStripMatchedRecHits*process.iterTracking*process.trackCollectionMerging*process.newCombinedSeeds*process.electronSeeds*process.electronCkfTrackCandidates*process.electronGsfTracks*process.particleFlowCluster*process.particleFlowTrackWithDisplacedVertex*process.gsfEcalDrivenElectronSequence*process.muonrecoComplete*process.particleFlowReco*process.gsfElectronMergingSequence)
0054 
0055 process.outpath = cms.EndPath(process.out)
0056 
0057 
0058