File indexing completed on 2024-04-06 12:06:47
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("SKIM")
0004 process.source = cms.Source("PoolSource",
0005 fileNames = cms.untracked.vstring(
0006 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/1C27DDD3-84DD-DE11-AFA2-001617C3B66C.root",
0007 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/20080E55-84DD-DE11-AB73-001D09F23F2A.root",
0008 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/24952E6F-86DD-DE11-AC9D-0030486730C6.root",
0009 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/26C49DD5-84DD-DE11-86B7-0016177CA778.root",
0010 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/386CA562-86DD-DE11-A838-001D09F251BD.root",
0011 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/38A1ADD6-84DD-DE11-B058-0019DB29C614.root",
0012 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/58B694D7-85DD-DE11-BE70-001D09F29533.root",
0013 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/7C925D72-86DD-DE11-8675-0019B9F72F97.root",
0014 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/80AAEAD4-84DD-DE11-AD8C-001617C3B79A.root",
0015 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/86E5AED4-84DD-DE11-BE26-001617DBCF6A.root",
0016 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/8845DC7A-86DD-DE11-AFB3-001D09F24024.root",
0017 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/AA0A257D-86DD-DE11-96E9-001D09F24259.root",
0018 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/B0A1D8D3-84DD-DE11-B4FF-001617C3B6CE.root",
0019 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/D08E327A-86DD-DE11-88EA-001D09F2447F.root",
0020 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/EE8DD2D7-84DD-DE11-907B-001617C3B65A.root"
0021 ),
0022 secondaryFileNames = cms.untracked.vstring(
0023 )
0024
0025
0026
0027 )
0028
0029
0030
0031
0032 process.configurationMetadata = cms.untracked.PSet(
0033 version = cms.untracked.string('$Revision: 1.11 $'),
0034 name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/TrackerPointing_cfg.py,v $'),
0035 annotation = cms.untracked.string('At least two general track or one pixel track or one pixelLess track')
0036 )
0037
0038 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
0039 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
0040
0041 process.load('Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
0042 process.load('Configuration/StandardSequences/GeometryIdeal_cff')
0043
0044
0045 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0046 process.GlobalTag.globaltag = 'GR09_P_V6::All'
0047
0048
0049 process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
0050
0051
0052
0053
0054 process.generalTracksFilter = cms.EDFilter("TrackCountFilter",
0055 src = cms.InputTag('generalTracks'),
0056 minNumber = cms.uint32(2)
0057 )
0058 process.pixelLessTracksFilter = cms.EDFilter("TrackCountFilter",
0059 src = cms.InputTag('ctfPixelLess'),
0060 minNumber = cms.uint32(1)
0061 )
0062 process.pixelTracksFilter = cms.EDFilter("TrackCountFilter",
0063 src = cms.InputTag('pixelTracks'),
0064 minNumber = cms.uint32(1)
0065 )
0066
0067 process.generalTracksPath = cms.Path(process.generalTracksFilter)
0068 process.pixelTracksPath = cms.Path(process.pixelLessTracksFilter)
0069 process.pixelLessTracksPath = cms.Path(process.pixelTracksFilter)
0070
0071
0072 process.out = cms.OutputModule("PoolOutputModule",
0073 outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
0074 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('generalTracksPath',
0075 'pixelTracksPath',
0076 'pixelLessTracksPath')),
0077 dataset = cms.untracked.PSet(
0078 dataTier = cms.untracked.string('RAW-RECO'),
0079 filterName = cms.untracked.string('RecoTracks')),
0080 fileName = cms.untracked.string('generalTracks.root')
0081 )
0082
0083 process.this_is_the_end = cms.EndPath(process.out)