Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:09:15

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("SKIM")
0004 
0005 
0006 process.configurationMetadata = cms.untracked.PSet(
0007     version = cms.untracked.string('$Revision: 1.1 $'),
0008     name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/CSCSkim_BFieldStudies_cfg.py,v $'),
0009     annotation = cms.untracked.string('CRAFT CSCSkim skim B')
0010 )
0011 
0012 process.source = cms.Source("PoolSource",
0013                             fileNames = cms.untracked.vstring(
0014        '/store/data/Commissioning08/Cosmics/RECO/CRAFT_ALL_V9_225-v2/0000/FE32B1E4-C7FA-DD11-A2FD-001A92971ADC.root'),
0015                             secondaryFileNames = cms.untracked.vstring(
0016        '/store/data/Commissioning08/Cosmics/RAW/v1/000/068/000/708C5612-CFA5-DD11-AD52-0019DB29C5FC.root',
0017        '/store/data/Commissioning08/Cosmics/RAW/v1/000/068/000/38419E41-D1A5-DD11-8B68-001617C3B6E2.root',
0018        '/store/data/Commissioning08/Cosmics/RAW/v1/000/068/000/2CDF3B0F-CFA5-DD11-AE18-000423D99A8E.root')
0019  )
0020 
0021 process.maxEvents = cms.untracked.PSet(
0022     input = cms.untracked.int32(10)
0023 )
0024 
0025 #------------------------------------------
0026 # Load standard sequences.
0027 #------------------------------------------
0028 process.load("Configuration/StandardSequences/Geometry_cff")
0029 
0030 process.load("Configuration.StandardSequences.MagneticField_cff")
0031 
0032 process.load("Configuration/StandardSequences/FrontierConditions_GlobalTag_cff")
0033 process.GlobalTag.globaltag = 'CRAFT_ALL_V9::All' 
0034 process.prefer("GlobalTag")
0035 process.load("Configuration/StandardSequences/RawToDigi_Data_cff")
0036 process.load("Configuration/StandardSequences/ReconstructionCosmics_cff")
0037 
0038 #------------------------------------------
0039 # parameters for the CSCSkim module
0040 #------------------------------------------
0041 process.load("DPGAnalysis/Skims/CSCSkim_cfi")
0042 process.cscSkim.typeOfSkim = cms.untracked.int32(9)
0043 
0044 #### the path
0045 
0046 process.BfieldStudySkim = cms.Path(process.cscSkim)
0047 
0048 
0049 #### output 
0050 process.outputSkim = cms.OutputModule(
0051     "PoolOutputModule",
0052     outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
0053     fileName = cms.untracked.string("CSCEvents_BFieldStudy.root"),
0054     dataset = cms.untracked.PSet(
0055       dataTier = cms.untracked.string('RAW-RECO'),
0056       filterName = cms.untracked.string('CSCSkim_BFieldStudies')
0057     ),
0058     SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('BfieldStudySkim'))
0059 )
0060 
0061 process.outpath = cms.EndPath(process.outputSkim)
0062 #