CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DPGAnalysis/Skims/python/PointingDoubleMultiSkim_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('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.5 $'),
00011     name = cms.untracked.string('$Source: /local/reps/CMSSW/CMSSW/DPGAnalysis/Skims/python/PointingDoubleMultiSkim_cfg.py,v $'),
00012     annotation = cms.untracked.string('CRUZET4 DoubleMuonPointing 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 ################ Tracker Pointing ################ 
00029 
00030 process.cosmicMuonsBarrelOnlyTkFilter = cms.EDFilter("HLTMuonPointingFilter",
00031                                                      SALabel = cms.string("cosmicMuonsBarrelOnly"),
00032                                                      PropagatorName = cms.string("SteppingHelixPropagatorAny"),
00033                                                      radius = cms.double(90.0),
00034                                                      maxZ = cms.double(130.0)
00035                                                      )
00036 
00037 process.cosmictrackfinderP5TkCntFilter = cms.EDFilter("TrackCountFilter",
00038                                                       src = cms.InputTag('cosmictrackfinderP5'),
00039                                                       minNumber = cms.uint32(1) 
00040                                                       )
00041 
00042 process.ctfWithMaterialTracksP5TkCntFilter = cms.EDFilter("TrackCountFilter",
00043                                                           src = cms.InputTag('ctfWithMaterialTracksP5'),
00044                                                           minNumber = cms.uint32(1) 
00045                                                           )
00046 
00047 process.rsWithMaterialTracksP5TkCntFilter = cms.EDFilter("TrackCountFilter",
00048                                                          src = cms.InputTag('rsWithMaterialTracksP5'),
00049                                                          minNumber = cms.uint32(1) 
00050                                                          )
00051 
00052 process.cosmicMuonsBarrelOnlyTkPath = cms.Path(process.cosmicMuonsBarrelOnlyTkFilter)
00053 process.cosmictrackfinderP5TkCntPath = cms.Path(process.cosmictrackfinderP5TkCntFilter)
00054 process.ctfWithMaterialTracksP5TkCntPath = cms.Path(process.ctfWithMaterialTracksP5TkCntFilter)
00055 process.rsWithMaterialTracksP5TkCntPath = cms.Path(process.rsWithMaterialTracksP5TkCntFilter)
00056 
00057 process.out1 = cms.OutputModule("PoolOutputModule",
00058                                 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('cosmicMuonsBarrelOnlyTkPath',
00059                                                                                              'cosmictrackfinderP5TkCntPath',
00060                                                                                              'ctfWithMaterialTracksP5TkCntPath',
00061                                                                                              'rsWithMaterialTracksP5TkCntPath')),
00062                                 dataset = cms.untracked.PSet(
00063                                           dataTier = cms.untracked.string('RECO'),
00064                                           filterName = cms.untracked.string('TrackerPointing')),
00065                                 fileName = cms.untracked.string('TrackerPointing.root')
00066                                 )
00067 
00068 
00069 ################ Multi Muon ################ 
00070 
00071 
00072 process.multiCosmicMuonFilter = cms.EDFilter("TrackCountFilter",
00073                                              src = cms.InputTag('cosmicMuonsBarrelOnly'),
00074                                              minNumber = cms.uint32(5) 
00075                                              )
00076 
00077 process.multiLHCMuonFilter = cms.EDFilter("TrackCountFilter",
00078                                           src = cms.InputTag('lhcStandAloneMuonsBarrelOnly'),
00079                                           minNumber = cms.uint32(5) 
00080                                           )
00081 
00082 process.multiCosmicMuonPath = cms.Path(process.multiCosmicMuonFilter)
00083 process.multiLHCMuonPath = cms.Path(process.multiLHCMuonFilter)
00084 
00085 process.out2 = cms.OutputModule("PoolOutputModule",
00086                                 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('multiCosmicMuonPath',
00087                                                                                              'multiLHCMuonPath')),
00088                                 dataset = cms.untracked.PSet(
00089                                           dataTier = cms.untracked.string('RECO'),
00090                                           filterName = cms.untracked.string('multiCosmicMuon')),
00091                                 fileName = cms.untracked.string('multiMuon.root')
00092                                 )
00093 
00094 
00095 ################ Double Muon ################ 
00096 
00097 
00098 process.doubleMuonFilter = cms.EDFilter("TrackCountFilter",
00099                                         src = cms.InputTag('cosmicMuonsBarrelOnly'),
00100                                         minNumber = cms.uint32(2) 
00101                                         )
00102 
00103 process.doubleMuonPath = cms.Path(process.doubleMuonFilter)
00104 
00105 process.out3 = cms.OutputModule("PoolOutputModule",
00106                                SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('doubleMuonPath')),
00107                                dataset = cms.untracked.PSet(
00108                                          dataTier = cms.untracked.string('RECO'),
00109                                          filterName = cms.untracked.string('doubleMuonPath')),
00110                                fileName = cms.untracked.string('doubleMuon.root')
00111                                )
00112 
00113 ################ 
00114 
00115 
00116 
00117 process.this_is_the_end = cms.EndPath(process.out1+process.out2+process.out3)