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-v2/0000/FE32B1E4-C7FA-DD11-A2FD-001A92971ADC.root'),
00008 secondaryFileNames = cms.untracked.vstring(
00009 '/store/data/Commissioning08/Cosmics/RAW/v1/000/068/000/708C5612-CFA5-DD11-AD52-0019DB29C5FC.root',
00010 '/store/data/Commissioning08/Cosmics/RAW/v1/000/068/000/38419E41-D1A5-DD11-8B68-001617C3B6E2.root',
00011 '/store/data/Commissioning08/Cosmics/RAW/v1/000/068/000/2CDF3B0F-CFA5-DD11-AE18-000423D99A8E.root')
00012 )
00013
00014 process.configurationMetadata = cms.untracked.PSet(
00015 version = cms.untracked.string('$Revision: 1.1 $'),
00016 name = cms.untracked.string('$Source: /local/reps/CMSSW/CMSSW/DPGAnalysis/Skims/python/SuperPointing_ToscaMap090322_cfg.py,v $'),
00017 annotation = cms.untracked.string('CRAFT SuperPointing skim')
00018 )
00019
00020 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))
00021 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
00022
00023 process.load("Configuration.StandardSequences.MagneticField_38T_UpdatedMap_cff")
00024
00025 process.VolumeBasedMagneticFieldESProducer.version='grid_1103l_090322_3_8t'
00026
00027 process.load("Configuration.StandardSequences.Geometry_cff")
00028
00029 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00030 process.GlobalTag.GlobalTag = 'CRAFT_ALL_V4::All'
00031 process.prefer("GlobalTag")
00032
00033 process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
00034
00035
00036 process.cosmicMuonsBarrelOnlyFilter = cms.EDFilter("HLTMuonPointingFilter",
00037 SALabel = cms.string("cosmicMuonsBarrelOnly"),
00038 PropagatorName = cms.string("SteppingHelixPropagatorAny"),
00039 radius = cms.double(10.0),
00040 maxZ = cms.double(50.0)
00041 )
00042
00043 process.cosmicMuonsFilter = cms.EDFilter("HLTMuonPointingFilter",
00044 SALabel = cms.string("cosmicMuons"),
00045 PropagatorName = cms.string("SteppingHelixPropagatorAny"),
00046 radius = cms.double(10.0),
00047 maxZ = cms.double(50.0)
00048 )
00049
00050 process.cosmicMuons1LegFilter = cms.EDFilter("HLTMuonPointingFilter",
00051 SALabel = cms.string("cosmicMuons1Leg"),
00052 PropagatorName = cms.string("SteppingHelixPropagatorAny"),
00053 radius = cms.double(10.0),
00054 maxZ = cms.double(50.0)
00055 )
00056
00057 process.globalCosmicMuonsBarrelOnlyFilter = cms.EDFilter("HLTMuonPointingFilter",
00058 SALabel = cms.string("globalCosmicMuonsBarrelOnly"),
00059 PropagatorName = cms.string("SteppingHelixPropagatorAny"),
00060 radius = cms.double(10.0),
00061 maxZ = cms.double(50.0)
00062 )
00063
00064 process.cosmictrackfinderP5Filter = cms.EDFilter("HLTMuonPointingFilter",
00065 SALabel = cms.string("cosmictrackfinderP5"),
00066 PropagatorName = cms.string("SteppingHelixPropagatorAny"),
00067 radius = cms.double(10.0),
00068 maxZ = cms.double(50.0)
00069 )
00070
00071 process.globalCosmicMuonsFilter = cms.EDFilter("HLTMuonPointingFilter",
00072 SALabel = cms.string("globalCosmicMuons"),
00073 PropagatorName = cms.string("SteppingHelixPropagatorAny"),
00074 radius = cms.double(10.0),
00075 maxZ = cms.double(50.0)
00076 )
00077
00078 process.rsWithMaterialTracksP5Filter = cms.EDFilter("HLTMuonPointingFilter",
00079 SALabel = cms.string("rsWithMaterialTracksP5"),
00080 PropagatorName = cms.string("SteppingHelixPropagatorAny"),
00081 radius = cms.double(10.0),
00082 maxZ = cms.double(50.0)
00083 )
00084
00085 process.globalCosmicMuons1LegFilter = cms.EDFilter("HLTMuonPointingFilter",
00086 SALabel = cms.string("globalCosmicMuons1Leg"),
00087 PropagatorName = cms.string("SteppingHelixPropagatorAny"),
00088 radius = cms.double(10.0),
00089 maxZ = cms.double(50.0)
00090 )
00091
00092 process.ctfWithMaterialTracksP5Filter = cms.EDFilter("HLTMuonPointingFilter",
00093 SALabel = cms.string("ctfWithMaterialTracksP5"),
00094 PropagatorName = cms.string("SteppingHelixPropagatorAny"),
00095 radius = cms.double(10.0),
00096 maxZ = cms.double(50.0)
00097 )
00098
00099
00100 process.cosmicMuonsBarrelOnlyPath = cms.Path(process.cosmicMuonsBarrelOnlyFilter)
00101 process.cosmicMuonsPath = cms.Path(process.cosmicMuonsFilter)
00102 process.cosmicMuons1LegPath = cms.Path(process.cosmicMuons1LegFilter)
00103 process.globalCosmicMuonsBarrelOnlyPath = cms.Path(process.globalCosmicMuonsBarrelOnlyFilter)
00104 process.cosmictrackfinderP5Path = cms.Path(process.cosmictrackfinderP5Filter)
00105 process.globalCosmicMuonsPath = cms.Path(process.globalCosmicMuonsFilter)
00106 process.rsWithMaterialTracksP5Path = cms.Path(process.rsWithMaterialTracksP5Filter)
00107 process.globalCosmicMuons1LegPath = cms.Path(process.globalCosmicMuons1LegFilter)
00108 process.ctfWithMaterialTracksP5Path = cms.Path(process.ctfWithMaterialTracksP5Filter)
00109
00110
00111
00112 process.out = cms.OutputModule("PoolOutputModule",
00113 outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
00114 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('cosmicMuonsBarrelOnlyPath',
00115 'cosmicMuonsPath',
00116 'cosmicMuons1LegPath',
00117 'globalCosmicMuonsBarrelOnlyPath',
00118 'cosmictrackfinderP5Path',
00119 'globalCosmicMuonsPath',
00120 'rsWithMaterialTracksP5Path',
00121 'globalCosmicMuons1LegPath',
00122 'ctfWithMaterialTracksP5Path')),
00123 dataset = cms.untracked.PSet(
00124 dataTier = cms.untracked.string('RAW-RECO'),
00125 filterName = cms.untracked.string('SuperPointing')),
00126 fileName = cms.untracked.string('SuperPointing.root')
00127 )
00128
00129 process.this_is_the_end = cms.EndPath(process.out)
00130
00131
00132