Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:06:47

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(
0007        '/store/data/Commissioning08/Cosmics/RECO/CRAFT_ALL_V9_225-v2/0000/FE32B1E4-C7FA-DD11-A2FD-001A92971ADC.root'),
0008                             secondaryFileNames = cms.untracked.vstring(
0009        '/store/data/Commissioning08/Cosmics/RAW/v1/000/068/000/708C5612-CFA5-DD11-AD52-0019DB29C5FC.root',
0010        '/store/data/Commissioning08/Cosmics/RAW/v1/000/068/000/38419E41-D1A5-DD11-8B68-001617C3B6E2.root',
0011        '/store/data/Commissioning08/Cosmics/RAW/v1/000/068/000/2CDF3B0F-CFA5-DD11-AE18-000423D99A8E.root')
0012  )
0013 
0014 
0015 process.configurationMetadata = cms.untracked.PSet(
0016     version = cms.untracked.string('$Revision: 1.1 $'),
0017     name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/TrackerPointing_ToscaMap090322_cfg.py,v $'),
0018     annotation = cms.untracked.string('CRAFT TrackerPointing skim')
0019 )
0020 
0021 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))
0022 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
0023 
0024 process.load("Configuration.StandardSequences.MagneticField_cff")
0025 
0026 process.load("Configuration.StandardSequences.GeometryDB_cff")
0027 
0028 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0029 process.GlobalTag.globaltag = 'auto:run3_data_prompt'
0030 process.prefer("GlobalTag")
0031 
0032 process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
0033 
0034 
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.cosmicMuonsBarrelOnlyTkFilter = cms.EDFilter("HLTMuonPointingFilter",
0053                                                      SALabel = cms.InputTag("cosmicMuonsBarrelOnly"),
0054                                                      PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0055                                                      radius = cms.double(90.0),
0056                                                      maxZ = cms.double(130.0)
0057                                                      )
0058 
0059 process.cosmicMuonsBarrelOnlyTkPath = cms.Path(process.cosmicMuonsBarrelOnlyTkFilter)
0060 process.cosmictrackfinderP5TkCntPath = cms.Path(process.cosmictrackfinderP5TkCntFilter)
0061 process.ctfWithMaterialTracksP5TkCntPath = cms.Path(process.ctfWithMaterialTracksP5TkCntFilter)
0062 process.rsWithMaterialTracksP5TkCntPath = cms.Path(process.rsWithMaterialTracksP5TkCntFilter)
0063 
0064 
0065 process.out = cms.OutputModule("PoolOutputModule",
0066                                outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
0067                                SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('cosmicMuonsBarrelOnlyTkPath',
0068                                                                                             'cosmictrackfinderP5TkCntPath',
0069                                                                                             'ctfWithMaterialTracksP5TkCntPath',
0070                                                                                             'rsWithMaterialTracksP5TkCntPath')),
0071                                dataset = cms.untracked.PSet(
0072                              dataTier = cms.untracked.string('GEN-SIM-RAW-RECO'),
0073                                          filterName = cms.untracked.string('TrackingPointing')),
0074                                fileName = cms.untracked.string('trackerPointing.root')
0075                                )
0076 
0077 process.this_is_the_end = cms.EndPath(process.out)