Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:48

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 
0004 process = cms.Process("test")
0005 
0006 process.configurationMetadata = cms.untracked.PSet(
0007     version = cms.untracked.string('$Revision: 1.1 $'),
0008     annotation = cms.untracked.string('HSCP Secondary Dataset'),
0009     name = cms.untracked.string('$Source: /cvs/CMSSW/CMSSW/Configuration/Skimming/test/test_HSCP_SD.py,v $')
0010 )
0011 
0012 
0013 process.maxEvents = cms.untracked.PSet(
0014     input = cms.untracked.int32(1000)
0015 )
0016 
0017 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0018 process.load("Configuration.StandardSequences.GeometryExtended_cff")
0019 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0020 process.load('Configuration.EventContent.EventContent_cff')
0021 process.GlobalTag.globaltag = "GR_P_V17::All"  
0022 
0023 
0024 process.source = cms.Source("PoolSource",
0025     fileNames = cms.untracked.vstring(
0026     '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v2/000/163/668/6CC98438-1B74-E011-A576-001617E30D0A.root',
0027     '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v2/000/163/668/5A7B6738-1B74-E011-B7E5-001617E30F58.root',
0028     '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v2/000/163/668/583F5FE7-1B74-E011-9DC2-001617C3B5E4.root',
0029     '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v2/000/163/668/2CA1FB84-1A74-E011-AC47-001617DC1F70.root',
0030     '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v2/000/163/668/247E2EAF-1A74-E011-9C7E-000423D94494.root'
0031     )
0032 )
0033 
0034 process.source.inputCommands = cms.untracked.vstring("keep *", "drop *_MEtoEDMConverter_*_*")
0035 
0036 process.load("Configuration.Skimming.PDWG_HSCP_SD_cff")
0037 process.hscpFilter = cms.Path(process.HSCPSD)
0038 
0039 process.outputHSCP = cms.OutputModule("PoolOutputModule",
0040                                         dataset = cms.untracked.PSet(
0041         dataTier = cms.untracked.string('USER'),
0042         filterName = cms.untracked.string('SD_HSCP')),
0043                                         SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('hscpFilter')),                                        
0044                                         outputCommands = process.FEVTEventContent.outputCommands,
0045                                         fileName = cms.untracked.string('SD_HSCP_2011.root')
0046                                         )
0047 
0048 
0049 process.this_is_the_end = cms.EndPath(
0050 process.outputHSCP
0051 )