CMS 3D CMS Logo

PtMinSelectorNoSAMu_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("SKIM")
00004 
00005 process.source = cms.Source("PoolSource",
00006                             fileNames = cms.untracked.vstring(
00007 '/store/data/Commissioning08/Cosmics/RECO/CRAFT_ALL_V9_225-v1/0002/0A12CE23-D7F9-DD11-819E-00E081348D21.root'
00008     )
00009 )                            
00010 
00011 process.configurationMetadata = cms.untracked.PSet(
00012     version = cms.untracked.string('$Revision: 1.2 $'),
00013     name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/PtMinSelectorNoSAMu_cfg.py,v $'),
00014     annotation = cms.untracked.string('CRAFT tk and global Muon Pt 50 skim')
00015 )
00016 
00017 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
00018 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
00019 
00020 
00021 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00022 process.GlobalTag.globaltag = 'CRAFT_ALL_V9::All' 
00023 process.prefer("GlobalTag")
00024 
00025 process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
00026 
00027 
00028 
00029 process.cosmictrackfinderP5PtFilter = cms.EDFilter("PtMinTrackSelector",
00030                                                    src = cms.InputTag("cosmictrackfinderP5"),
00031                                                    ptMin= cms.double(50.0),
00032                                                    filter = cms.bool(True)
00033                                                    )
00034 
00035 process.globalCosmicMuonsPtFilter = cms.EDFilter("PtMinTrackSelector",
00036                                                  src = cms.InputTag("globalCosmicMuons"),
00037                                                  ptMin= cms.double(50.0),
00038                                                  filter = cms.bool(True)
00039                                                  )
00040 
00041 
00042 process.globalCosmicMuons1LegPtFilter = cms.EDFilter("PtMinTrackSelector",
00043                                                      src = cms.InputTag("globalCosmicMuons1Leg"),
00044                                                      ptMin= cms.double(50.0),
00045                                                      filter = cms.bool(True)
00046                                                      )
00047 
00048 process.ctfWithMaterialTracksP5PtFilter = cms.EDFilter("PtMinTrackSelector",
00049                                                        src = cms.InputTag("ctfWithMaterialTracksP5"),
00050                                                        ptMin= cms.double(50.0),
00051                                                        filter = cms.bool(True)
00052                                                        )
00053 
00054 
00055 process.cosmictrackfinderP5Path = cms.Path(process.cosmictrackfinderP5PtFilter)
00056 process.globalCosmicMuonsPath = cms.Path(process.globalCosmicMuonsPtFilter)
00057 process.globalCosmicMuons1LegPath = cms.Path(process.globalCosmicMuons1LegPtFilter)
00058 process.ctfWithMaterialTracksP5Path = cms.Path(process.ctfWithMaterialTracksP5PtFilter)
00059 
00060 
00061 
00062 process.out = cms.OutputModule("PoolOutputModule",
00063                                outputCommands = cms.untracked.vstring('keep *',
00064                                'drop *_cosmictrackfinderP5PtFilter_*_*',
00065                                'drop *_globalCosmicMuonsPtFilter_*_*',
00066                                'drop *_globalCosmicMuons1LegPtFilter_*_*',
00067                                'drop *_ctfWithMaterialTracksP5PtFilter_*_*',
00068                                'drop *_MEtoEDMConverter_*_*'
00069                                 ),
00070                                SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('cosmictrackfinderP5Path',
00071                                                                                             'globalCosmicMuonsPath',
00072                                                                                             'globalCosmicMuons1LegPath',
00073                                                                                             'ctfWithMaterialTracksP5Path')),                               
00074                                dataset = cms.untracked.PSet(
00075                                          dataTier = cms.untracked.string('RECO'),
00076                                          filterName = cms.untracked.string('GlobalTkMuonPt50')),
00077                                fileName = cms.untracked.string('PtMinSelectorNoSAMu.root')
00078                                )
00079 
00080 process.this_is_the_end = cms.EndPath(process.out)

Generated on Tue Jun 9 17:32:30 2009 for CMSSW by  doxygen 1.5.4