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 process.configurationMetadata = cms.untracked.PSet(
0015     version = cms.untracked.string('$Revision: 1.1 $'),
0016     name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/SuperPointing_ToscaMap090322_cfg.py,v $'),
0017     annotation = cms.untracked.string('CRAFT SuperPointing skim')
0018 )
0019 
0020 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))
0021 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
0022 
0023 process.load("Configuration.StandardSequences.MagneticField_cff")
0024 
0025 process.load("Configuration.StandardSequences.GeometryDB_cff")
0026 
0027 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0028 process.GlobalTag.globaltag = 'auto:run3_data_prompt'
0029 process.prefer("GlobalTag")
0030 
0031 process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
0032 
0033 
0034 process.cosmicMuonsBarrelOnlyFilter = cms.EDFilter("HLTMuonPointingFilter",
0035                                                    SALabel = cms.InputTag("cosmicMuonsBarrelOnly"),
0036                                                    PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0037                                                    radius = cms.double(10.0),
0038                                                    maxZ = cms.double(50.0)
0039                                                    )
0040 
0041 process.cosmicMuonsFilter = cms.EDFilter("HLTMuonPointingFilter",
0042                                          SALabel = cms.InputTag("cosmicMuons"),
0043                                          PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0044                                          radius = cms.double(10.0),
0045                                          maxZ = cms.double(50.0)
0046                                          )
0047 
0048 process.cosmicMuons1LegFilter = cms.EDFilter("HLTMuonPointingFilter",
0049                                                        SALabel = cms.InputTag("cosmicMuons1Leg"),
0050                                                        PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0051                                                        radius = cms.double(10.0),
0052                                                        maxZ = cms.double(50.0)
0053                                                        )
0054 
0055 process.globalCosmicMuonsBarrelOnlyFilter = cms.EDFilter("HLTMuonPointingFilter",
0056                                                          SALabel = cms.InputTag("globalCosmicMuonsBarrelOnly"),
0057                                                          PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0058                                                          radius = cms.double(10.0),
0059                                                          maxZ = cms.double(50.0)
0060                                                          )
0061 
0062 process.cosmictrackfinderP5Filter = cms.EDFilter("HLTMuonPointingFilter",
0063                                                  SALabel = cms.InputTag("cosmictrackfinderP5"),
0064                                                  PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0065                                                  radius = cms.double(10.0),
0066                                                  maxZ = cms.double(50.0)
0067                                                  )
0068 
0069 process.globalCosmicMuonsFilter = cms.EDFilter("HLTMuonPointingFilter",
0070                                                SALabel = cms.InputTag("globalCosmicMuons"),
0071                                                PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0072                                                radius = cms.double(10.0),
0073                                                maxZ = cms.double(50.0)
0074                                                )
0075 
0076 process.rsWithMaterialTracksP5Filter = cms.EDFilter("HLTMuonPointingFilter",
0077                                                     SALabel = cms.InputTag("rsWithMaterialTracksP5"),
0078                                                     PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0079                                                     radius = cms.double(10.0),
0080                                                     maxZ = cms.double(50.0)
0081                                                     )
0082 
0083 process.globalCosmicMuons1LegFilter = cms.EDFilter("HLTMuonPointingFilter",
0084                                                              SALabel = cms.InputTag("globalCosmicMuons1Leg"),
0085                                                              PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0086                                                              radius = cms.double(10.0),
0087                                                              maxZ = cms.double(50.0)
0088                                                              )
0089 
0090 process.ctfWithMaterialTracksP5Filter = cms.EDFilter("HLTMuonPointingFilter",
0091                                                      SALabel = cms.InputTag("ctfWithMaterialTracksP5"),
0092                                                      PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0093                                                      radius = cms.double(10.0),
0094                                                      maxZ = cms.double(50.0)
0095                                                      )
0096 
0097 
0098 process.cosmicMuonsBarrelOnlyPath = cms.Path(process.cosmicMuonsBarrelOnlyFilter)
0099 process.cosmicMuonsPath = cms.Path(process.cosmicMuonsFilter)
0100 process.cosmicMuons1LegPath = cms.Path(process.cosmicMuons1LegFilter)
0101 process.globalCosmicMuonsBarrelOnlyPath = cms.Path(process.globalCosmicMuonsBarrelOnlyFilter)
0102 process.cosmictrackfinderP5Path = cms.Path(process.cosmictrackfinderP5Filter)
0103 process.globalCosmicMuonsPath = cms.Path(process.globalCosmicMuonsFilter)
0104 process.rsWithMaterialTracksP5Path = cms.Path(process.rsWithMaterialTracksP5Filter)
0105 process.globalCosmicMuons1LegPath = cms.Path(process.globalCosmicMuons1LegFilter)
0106 process.ctfWithMaterialTracksP5Path = cms.Path(process.ctfWithMaterialTracksP5Filter)
0107 
0108 
0109 
0110 process.out = cms.OutputModule("PoolOutputModule",
0111                                outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
0112                                SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('cosmicMuonsBarrelOnlyPath',
0113                                                                                             'cosmicMuonsPath',
0114                                                                                             'cosmicMuons1LegPath',
0115                                                                                             'globalCosmicMuonsBarrelOnlyPath',
0116                                                                                             'cosmictrackfinderP5Path',
0117                                                                                             'globalCosmicMuonsPath',
0118                                                                                             'rsWithMaterialTracksP5Path',
0119                                                                                             'globalCosmicMuons1LegPath',
0120                                                                                             'ctfWithMaterialTracksP5Path')),                               
0121                                dataset = cms.untracked.PSet(
0122                              dataTier = cms.untracked.string('GEN-SIM-RAW-RECO'),
0123                                          filterName = cms.untracked.string('SuperPointing')),
0124                                fileName = cms.untracked.string('superPointing.root')
0125                                )
0126 
0127 process.this_is_the_end = cms.EndPath(process.out)
0128 
0129 
0130