Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("SKIM")
0004 
0005 process.source = cms.Source("PoolSource",
0006                             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')
0007                             )
0008 
0009 process.configurationMetadata = cms.untracked.PSet(
0010     version = cms.untracked.string('$Revision: 1.4 $'),
0011     name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/PointingDoubleMultiSkim_cfg.py,v $'),
0012     annotation = cms.untracked.string('CRUZET4 DoubleMuonPointing skim')
0013 )
0014 
0015 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
0016 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
0017 
0018 process.load("Configuration.StandardSequences.MagneticField_cff")
0019 process.load("Configuration.StandardSequences.Geometry_cff")
0020 
0021 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0022 process.GlobalTag.globaltag = 'CRZT210_V1::All' 
0023 process.prefer("GlobalTag")
0024 
0025 process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
0026 
0027 
0028 ################ Tracker Pointing ################ 
0029 
0030 process.cosmicMuonsBarrelOnlyTkFilter = cms.EDFilter("HLTMuonPointingFilter",
0031                                                      SALabel = cms.InputTag("cosmicMuonsBarrelOnly"),
0032                                                      PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0033                                                      radius = cms.double(90.0),
0034                                                      maxZ = cms.double(130.0)
0035                                                      )
0036 
0037 process.cosmictrackfinderP5TkCntFilter = cms.EDFilter("TrackCountFilter",
0038                                                       src = cms.InputTag('cosmictrackfinderP5'),
0039                                                       minNumber = cms.uint32(1) 
0040                                                       )
0041 
0042 process.ctfWithMaterialTracksP5TkCntFilter = cms.EDFilter("TrackCountFilter",
0043                                                           src = cms.InputTag('ctfWithMaterialTracksP5'),
0044                                                           minNumber = cms.uint32(1) 
0045                                                           )
0046 
0047 process.rsWithMaterialTracksP5TkCntFilter = cms.EDFilter("TrackCountFilter",
0048                                                          src = cms.InputTag('rsWithMaterialTracksP5'),
0049                                                          minNumber = cms.uint32(1) 
0050                                                          )
0051 
0052 process.cosmicMuonsBarrelOnlyTkPath = cms.Path(process.cosmicMuonsBarrelOnlyTkFilter)
0053 process.cosmictrackfinderP5TkCntPath = cms.Path(process.cosmictrackfinderP5TkCntFilter)
0054 process.ctfWithMaterialTracksP5TkCntPath = cms.Path(process.ctfWithMaterialTracksP5TkCntFilter)
0055 process.rsWithMaterialTracksP5TkCntPath = cms.Path(process.rsWithMaterialTracksP5TkCntFilter)
0056 
0057 process.out1 = cms.OutputModule("PoolOutputModule",
0058                                 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('cosmicMuonsBarrelOnlyTkPath',
0059                                                                                              'cosmictrackfinderP5TkCntPath',
0060                                                                                              'ctfWithMaterialTracksP5TkCntPath',
0061                                                                                              'rsWithMaterialTracksP5TkCntPath')),
0062                                 dataset = cms.untracked.PSet(
0063                               dataTier = cms.untracked.string('RECO'),
0064                                           filterName = cms.untracked.string('TrackerPointing')),
0065                                 fileName = cms.untracked.string('trackerPointing.root')
0066                                 )
0067 
0068 
0069 ################ Multi Muon ################ 
0070 
0071 
0072 process.multiCosmicMuonFilter = cms.EDFilter("TrackCountFilter",
0073                                              src = cms.InputTag('cosmicMuonsBarrelOnly'),
0074                                              minNumber = cms.uint32(5) 
0075                                              )
0076 
0077 process.multiLHCMuonFilter = cms.EDFilter("TrackCountFilter",
0078                                           src = cms.InputTag('lhcStandAloneMuonsBarrelOnly'),
0079                                           minNumber = cms.uint32(5) 
0080                                           )
0081 
0082 process.multiCosmicMuonPath = cms.Path(process.multiCosmicMuonFilter)
0083 process.multiLHCMuonPath = cms.Path(process.multiLHCMuonFilter)
0084 
0085 process.out2 = cms.OutputModule("PoolOutputModule",
0086                                 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('multiCosmicMuonPath',
0087                                                                                              'multiLHCMuonPath')),
0088                                 dataset = cms.untracked.PSet(
0089                               dataTier = cms.untracked.string('RECO'),
0090                                           filterName = cms.untracked.string('multiCosmicMuon')),
0091                                 fileName = cms.untracked.string('multiMuon.root')
0092                                 )
0093 
0094 
0095 ################ Double Muon ################ 
0096 
0097 
0098 process.doubleMuonFilter = cms.EDFilter("TrackCountFilter",
0099                                         src = cms.InputTag('cosmicMuonsBarrelOnly'),
0100                                         minNumber = cms.uint32(2) 
0101                                         )
0102 
0103 process.doubleMuonPath = cms.Path(process.doubleMuonFilter)
0104 
0105 process.out3 = cms.OutputModule("PoolOutputModule",
0106                                SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('doubleMuonPath')),
0107                                dataset = cms.untracked.PSet(
0108                          dataTier = cms.untracked.string('RECO'),
0109                                      filterName = cms.untracked.string('doubleMuonPath')),
0110                                fileName = cms.untracked.string('doubleMuon.root')
0111                                )
0112 
0113 ################ 
0114 
0115 
0116 
0117 process.this_is_the_end = cms.EndPath(process.out1+process.out2+process.out3)