CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/DPGAnalysis/Skims/python/DoubleMuon_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("TEST")
00004 
00005 process.source = cms.Source("PoolSource",
00006                             fileNames = cms.untracked.vstring('file:/afs/cern.ch/cms/CAF/CMSCOMM/COMM_GLOBAL/CRUZET3/CMSSW_2_1_2/src/DPGAnalysis/Skims/python/reco_50908_210_CRZT210_V1P.root')
00007                             )
00008 
00009 process.configurationMetadata = cms.untracked.PSet(
00010     version = cms.untracked.string('$Revision: 1.6 $'),
00011     name = cms.untracked.string('$Source: /local/reps/CMSSW/CMSSW/DPGAnalysis/Skims/python/DoubleMuon_cfg.py,v $'),
00012     annotation = cms.untracked.string('CRUZET4 DoubleMuon skim')
00013 )
00014 
00015 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
00016 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
00017 
00018 process.load("Configuration.StandardSequences.MagneticField_cff")
00019 process.load("Configuration.StandardSequences.Geometry_cff")
00020 
00021 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00022 process.GlobalTag.GlobalTag = 'CRZT210_V1::All' 
00023 process.prefer("GlobalTag")
00024 
00025 process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
00026 
00027 
00028 process.doubleMuonFilter = cms.EDFilter("TrackCountFilter",
00029                                         src = cms.InputTag('cosmicMuonsBarrelOnly'),
00030                                         minNumber = cms.uint32(2) 
00031                                         )
00032 
00033 process.doubleMuonPath = cms.Path(process.doubleMuonFilter)
00034 
00035 process.out = cms.OutputModule("PoolOutputModule",
00036                                SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('doubleMuonPath')),
00037                                dataset = cms.untracked.PSet(
00038                                          dataTier = cms.untracked.string('RECO'),
00039                                          filterName = cms.untracked.string('doubleMuonPath')),
00040                                fileName = cms.untracked.string('doubleMuon.root')
00041                                )
00042 
00043 process.this_is_the_end = cms.EndPath(process.out)
00044 
00045