CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DPGAnalysis/Skims/python/TrackerPointing_ToscaMap090322_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(
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 
00015 process.configurationMetadata = cms.untracked.PSet(
00016     version = cms.untracked.string('$Revision: 1.1 $'),
00017     name = cms.untracked.string('$Source: /local/reps/CMSSW/CMSSW/DPGAnalysis/Skims/python/TrackerPointing_ToscaMap090322_cfg.py,v $'),
00018     annotation = cms.untracked.string('CRAFT TrackerPointing skim')
00019 )
00020 
00021 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))
00022 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
00023 
00024 process.load("Configuration.StandardSequences.MagneticField_38T_UpdatedMap_cff")
00025 # trick to make it work with newnew magfield (not in 229)
00026 process.VolumeBasedMagneticFieldESProducer.version='grid_1103l_090322_3_8t'
00027 
00028 process.load("Configuration.StandardSequences.Geometry_cff")
00029 
00030 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00031 process.GlobalTag.GlobalTag = 'CRAFT_V4P::All' 
00032 process.prefer("GlobalTag")
00033 
00034 process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
00035 
00036 
00037 
00038 
00039 process.cosmictrackfinderP5TkCntFilter = cms.EDFilter("TrackCountFilter",
00040                                                       src = cms.InputTag('cosmictrackfinderP5'),
00041                                                       minNumber = cms.uint32(1) 
00042                                                       )
00043 
00044 process.ctfWithMaterialTracksP5TkCntFilter = cms.EDFilter("TrackCountFilter",
00045                                                           src = cms.InputTag('ctfWithMaterialTracksP5'),
00046                                                           minNumber = cms.uint32(1) 
00047                                                           )
00048 
00049 process.rsWithMaterialTracksP5TkCntFilter = cms.EDFilter("TrackCountFilter",
00050                                                          src = cms.InputTag('rsWithMaterialTracksP5'),
00051                                                          minNumber = cms.uint32(1) 
00052                                                          )
00053 
00054 process.cosmicMuonsBarrelOnlyTkFilter = cms.EDFilter("HLTMuonPointingFilter",
00055                                                      SALabel = cms.string("cosmicMuonsBarrelOnly"),
00056                                                      PropagatorName = cms.string("SteppingHelixPropagatorAny"),
00057                                                      radius = cms.double(90.0),
00058                                                      maxZ = cms.double(130.0)
00059                                                      )
00060 
00061 process.cosmicMuonsBarrelOnlyTkPath = cms.Path(process.cosmicMuonsBarrelOnlyTkFilter)
00062 process.cosmictrackfinderP5TkCntPath = cms.Path(process.cosmictrackfinderP5TkCntFilter)
00063 process.ctfWithMaterialTracksP5TkCntPath = cms.Path(process.ctfWithMaterialTracksP5TkCntFilter)
00064 process.rsWithMaterialTracksP5TkCntPath = cms.Path(process.rsWithMaterialTracksP5TkCntFilter)
00065 
00066 
00067 process.out = cms.OutputModule("PoolOutputModule",
00068                                outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
00069                                SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('cosmicMuonsBarrelOnlyTkPath',
00070                                                                                             'cosmictrackfinderP5TkCntPath',
00071                                                                                             'ctfWithMaterialTracksP5TkCntPath',
00072                                                                                             'rsWithMaterialTracksP5TkCntPath')),
00073                                dataset = cms.untracked.PSet(
00074                                          dataTier = cms.untracked.string('RAW-RECO'),
00075                                          filterName = cms.untracked.string('TrackingPointing')),
00076                                fileName = cms.untracked.string('trackerPointing.root')
00077                                )
00078 
00079 process.this_is_the_end = cms.EndPath(process.out)