00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("SKIMb")
00004
00005
00006 process.configurationMetadata = cms.untracked.PSet(
00007 version = cms.untracked.string('$Revision: 1.1 $'),
00008 name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/CSCSkim_BFieldStudies_cfg.py,v $'),
00009 annotation = cms.untracked.string('CRAFT CSCSkim skim B')
00010 )
00011
00012
00013 process.source = cms.Source("PoolSource",
00014 fileNames = cms.untracked.vstring (
00015 '/store/data/Commissioning08/Cosmics/RAW-RECO/CRAFT_ALL_V4_CSCSkim_trial_CSCSkim_trial_v3/0268/1EA84E82-68EE-DD11-88FF-0019B9E7CEEF.root',
00016 )
00017 )
00018
00019 process.maxEvents = cms.untracked.PSet(
00020 input = cms.untracked.int32(-1)
00021 )
00022
00023
00024
00025
00026 process.load("Configuration/StandardSequences/Geometry_cff")
00027 process.load("Configuration/StandardSequences/MagneticField_cff")
00028 process.load("Configuration/StandardSequences/FrontierConditions_GlobalTag_cff")
00029 process.GlobalTag.globaltag = 'CRAFT_ALL_V9::All'
00030 process.prefer("GlobalTag")
00031 process.load("Configuration/StandardSequences/RawToDigi_Data_cff")
00032 process.load("Configuration/StandardSequences/ReconstructionCosmics_cff")
00033
00034
00035
00036
00037 process.load("DPGAnalysis/Skims/CSCSkim_cfi")
00038 process.cscSkim.typeOfSkim = cms.untracked.int32(9)
00039
00040
00041
00042 process.BfieldStudySkim = cms.Path(process.cscSkim)
00043
00044
00045
00046 process.outputSkim = cms.OutputModule(
00047 "PoolOutputModule",
00048 outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
00049 fileName = cms.untracked.string("CSCEvents_BFieldStudy.root"),
00050 dataset = cms.untracked.PSet(
00051 dataTier = cms.untracked.string('RAW-RECO'),
00052 filterName = cms.untracked.string('cSCSkim_BFieldStudies')
00053 ),
00054 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('BfieldStudySkim'))
00055 )
00056
00057 process.outpath = cms.EndPath(process.outputSkim)
00058