CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DPGAnalysis/Skims/python/RecoTrack_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("SKIM")
00004 process.source = cms.Source("PoolSource",
00005                             fileNames = cms.untracked.vstring(
00006 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/1C27DDD3-84DD-DE11-AFA2-001617C3B66C.root",
00007 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/20080E55-84DD-DE11-AB73-001D09F23F2A.root",
00008 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/24952E6F-86DD-DE11-AC9D-0030486730C6.root",
00009 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/26C49DD5-84DD-DE11-86B7-0016177CA778.root",
00010 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/386CA562-86DD-DE11-A838-001D09F251BD.root",
00011 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/38A1ADD6-84DD-DE11-B058-0019DB29C614.root",
00012 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/58B694D7-85DD-DE11-BE70-001D09F29533.root",
00013 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/7C925D72-86DD-DE11-8675-0019B9F72F97.root",
00014 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/80AAEAD4-84DD-DE11-AD8C-001617C3B79A.root",
00015 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/86E5AED4-84DD-DE11-BE26-001617DBCF6A.root",
00016 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/8845DC7A-86DD-DE11-AFB3-001D09F24024.root",
00017 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/AA0A257D-86DD-DE11-96E9-001D09F24259.root",
00018 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/B0A1D8D3-84DD-DE11-B4FF-001617C3B6CE.root",
00019 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/D08E327A-86DD-DE11-88EA-001D09F2447F.root",
00020 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/EE8DD2D7-84DD-DE11-907B-001617C3B65A.root"
00021 ),
00022    secondaryFileNames = cms.untracked.vstring(
00023 )
00024 
00025 
00026 #        '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/578/085EFED4-E5AB-DD11-9ACA-001617C3B6FE.root')
00027 )
00028 
00029 
00030 
00031 
00032 process.configurationMetadata = cms.untracked.PSet(
00033     version = cms.untracked.string('$Revision: 1.1 $'),
00034     name = cms.untracked.string('$Source: /local/reps/CMSSW/CMSSW/DPGAnalysis/Skims/python/RecoTrack_cfg.py,v $'),
00035     annotation = cms.untracked.string('At least two general track or one pixel track or one pixelLess track')
00036 )
00037 
00038 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
00039 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
00040 
00041 process.load('Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
00042 process.load('Configuration/StandardSequences/GeometryIdeal_cff')
00043 
00044 
00045 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00046 process.GlobalTag.globaltag = 'GR09_P_V6::All' 
00047 
00048 
00049 process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
00050 
00051 
00052 
00053 
00054 process.generalTracksFilter = cms.EDFilter("TrackCountFilter",
00055                                                       src = cms.InputTag('generalTracks'),
00056                                                       minNumber = cms.uint32(2) 
00057                                                       )
00058 process.pixelLessTracksFilter = cms.EDFilter("TrackCountFilter",
00059                                                       src = cms.InputTag('ctfPixelLess'),
00060                                                       minNumber = cms.uint32(1) 
00061                                                       )
00062 process.pixelTracksFilter = cms.EDFilter("TrackCountFilter",
00063                                                       src = cms.InputTag('pixelTracks'),
00064                                                       minNumber = cms.uint32(1) 
00065                                                       )
00066 
00067 process.generalTracksPath = cms.Path(process.generalTracksFilter)
00068 process.pixelTracksPath = cms.Path(process.pixelLessTracksFilter)
00069 process.pixelLessTracksPath = cms.Path(process.pixelTracksFilter)
00070 
00071 
00072 process.out = cms.OutputModule("PoolOutputModule",
00073                                outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
00074                                SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('generalTracksPath',
00075                                                                                 'pixelTracksPath',
00076                                                                                 'pixelLessTracksPath')),
00077                                dataset = cms.untracked.PSet(
00078                                          dataTier = cms.untracked.string('RAW-RECO'),
00079                                          filterName = cms.untracked.string('RecoTracks')),
00080                                fileName = cms.untracked.string('generalTracks.root')
00081                                )
00082 
00083 process.this_is_the_end = cms.EndPath(process.out)