CMS 3D CMS Logo

DoubleMuon_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("TEST")
4 
5 process.source = cms.Source("PoolSource",
6  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')
7  )
8 
9 process.configurationMetadata = cms.untracked.PSet(
10  version = cms.untracked.string('$Revision: 1.5 $'),
11  name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/DoubleMuon_cfg.py,v $'),
12  annotation = cms.untracked.string('CRUZET4 DoubleMuon skim')
13 )
14 
15 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
16 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
17 
18 process.load("Configuration.StandardSequences.MagneticField_cff")
19 process.load("Configuration.StandardSequences.GeometryDB_cff")
20 
21 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
22 process.GlobalTag.globaltag = 'auto:run3_data_prompt'
23 process.prefer("GlobalTag")
24 
25 process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
26 
27 
28 process.doubleMuonFilter = cms.EDFilter("TrackCountFilter",
29  src = cms.InputTag('cosmicMuonsBarrelOnly'),
30  minNumber = cms.uint32(2)
31  )
32 
33 process.doubleMuonPath = cms.Path(process.doubleMuonFilter)
34 
35 process.out = cms.OutputModule("PoolOutputModule",
36  SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('doubleMuonPath')),
37  dataset = cms.untracked.PSet(
38  dataTier = cms.untracked.string('RECO'),
39  filterName = cms.untracked.string('doubleMuonPath')),
40  fileName = cms.untracked.string('doubleMuon.root')
41  )
42 
43 process.this_is_the_end = cms.EndPath(process.out)
44 
45