00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("SKIM")
00004
00005 process.configurationMetadata = cms.untracked.PSet(
00006 version = cms.untracked.string('$Revision: 1.6 $'),
00007 name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/CSCSkim_trial_cfg.py,v $'),
00008 annotation = cms.untracked.string('CRAFT CSCSkim skim')
00009 )
00010
00011
00012
00013
00014
00015
00016 process.source = cms.Source("PoolSource",
00017 fileNames = cms.untracked.vstring(
00018 '/store/data/Commissioning08/Cosmics/RECO/CRAFT_ALL_V9_225-v1/0002/0A12CE23-D7F9-DD11-819E-00E081348D21.root'),
00019 secondaryFileNames = cms.untracked.vstring(
00020 '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/578/085EFED4-E5AB-DD11-9ACA-001617C3B6FE.root')
00021 )
00022
00023 process.maxEvents = cms.untracked.PSet(
00024 input = cms.untracked.int32(-1)
00025 )
00026
00027
00028
00029
00030
00031 process.load("Configuration/StandardSequences/Geometry_cff")
00032 process.load("Configuration/StandardSequences/MagneticField_cff")
00033 process.load("Configuration/StandardSequences/FrontierConditions_GlobalTag_cff")
00034 process.GlobalTag.globaltag = 'CRAFT_ALL_V9::All'
00035 process.prefer("GlobalTag")
00036 process.load("Configuration/StandardSequences/RawToDigi_Data_cff")
00037 process.load("Configuration/StandardSequences/ReconstructionCosmics_cff")
00038 process.es_prefer_MagneticField = cms.ESPrefer("VolumeBasedMagneticFieldESProducer")
00039
00040
00041
00042
00043 process.load("DPGAnalysis/Skims/CSCSkim_cfi")
00044
00045
00046
00047 process.mySkim = cms.Path(process.cscSkim)
00048
00049
00050
00051 process.outputSkim = cms.OutputModule(
00052 "PoolOutputModule",
00053 outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
00054 fileName = cms.untracked.string("cscskimEvents.root"),
00055 dataset = cms.untracked.PSet(
00056 dataTier = cms.untracked.string('RAW-RECO'),
00057 filterName = cms.untracked.string('cSCSkim_trial')
00058 ),
00059 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('mySkim'))
00060 )
00061
00062 process.outpath = cms.EndPath(process.outputSkim)
00063