Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:43

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('HWW central skim'),
0009     name = cms.untracked.string('$Source:  $')
0010 )
0011 process.maxEvents = cms.untracked.PSet(
0012     input = cms.untracked.int32(1000)
0013 )
0014 
0015 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0016 process.load("Configuration.StandardSequences.GeometryExtended_cff")
0017 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0018 process.load('Configuration.EventContent.EventContent_cff')
0019 process.GlobalTag.globaltag = "GR_P_V16::All"  
0020 
0021 process.source = cms.Source("PoolSource",
0022                             fileNames = cms.untracked.vstring(
0023     '/store/data/Run2011A/DoubleElectron/AOD/PromptReco-v1/000/161/312/ECDD3154-DF57-E011-9088-001D09F24D4E.root'
0024     # /store/data/Run2011A/SingleMu/AOD/PromptReco-v1/000/161/312/F8AEC745-DF57-E011-8D23-001D09F290BF.root'
0025     # /store/data/Run2011A/MuEG/AOD/PromptReco-v1/000/161/312/98EC336A-7959-E011-B557-0030487CD6B4.root
0026     ),
0027 )
0028 
0029 process.load("Configuration.Skimming.PDWG_HWWSkim_cff")
0030 process.diMuonFilter = cms.Path(process.diMuonSequence)
0031 process.diElectronFilter = cms.Path(process.diElectronSequence)
0032 process.MuEleFilter = cms.Path(process.EleMuSequence)
0033 
0034 process.outputCsHWW = cms.OutputModule("PoolOutputModule",
0035                                         dataset = cms.untracked.PSet(
0036         dataTier = cms.untracked.string('AOD'),
0037         filterName = cms.untracked.string('CS_HWW')),
0038                                         SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('diMuonFilter','diElectronFilter','MuEleFilter')),                                        
0039                                         outputCommands = process.FEVTEventContent.outputCommands,
0040                                         fileName = cms.untracked.string('CS_HWW_2011.root')
0041                                         )
0042 
0043 
0044 process.this_is_the_end = cms.EndPath(
0045 process.outputCsHWW
0046 )