CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecoTrack_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("SKIM")
4 process.source = cms.Source("PoolSource",
5  fileNames = cms.untracked.vstring(
6 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/1C27DDD3-84DD-DE11-AFA2-001617C3B66C.root",
7 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/20080E55-84DD-DE11-AB73-001D09F23F2A.root",
8 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/24952E6F-86DD-DE11-AC9D-0030486730C6.root",
9 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/26C49DD5-84DD-DE11-86B7-0016177CA778.root",
10 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/386CA562-86DD-DE11-A838-001D09F251BD.root",
11 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/38A1ADD6-84DD-DE11-B058-0019DB29C614.root",
12 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/58B694D7-85DD-DE11-BE70-001D09F29533.root",
13 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/7C925D72-86DD-DE11-8675-0019B9F72F97.root",
14 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/80AAEAD4-84DD-DE11-AD8C-001617C3B79A.root",
15 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/86E5AED4-84DD-DE11-BE26-001617DBCF6A.root",
16 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/8845DC7A-86DD-DE11-AFB3-001D09F24024.root",
17 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/AA0A257D-86DD-DE11-96E9-001D09F24259.root",
18 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/B0A1D8D3-84DD-DE11-B4FF-001617C3B6CE.root",
19 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/D08E327A-86DD-DE11-88EA-001D09F2447F.root",
20 "rfio:/castor/cern.ch/cms/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/123/065/EE8DD2D7-84DD-DE11-907B-001617C3B65A.root"
21 ),
22  secondaryFileNames = cms.untracked.vstring(
23 )
24 
25 
26 # '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/578/085EFED4-E5AB-DD11-9ACA-001617C3B6FE.root')
27 )
28 
29 
30 
31 
32 process.configurationMetadata = cms.untracked.PSet(
33  version = cms.untracked.string('$Revision: 1.11 $'),
34  name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/TrackerPointing_cfg.py,v $'),
35  annotation = cms.untracked.string('At least two general track or one pixel track or one pixelLess track')
36 )
37 
38 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
39 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
40 
41 process.load('Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
42 process.load('Configuration/StandardSequences/GeometryIdeal_cff')
43 
44 
45 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
46 process.GlobalTag.globaltag = 'GR09_P_V6::All'
47 
48 
49 process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
50 
51 
52 
53 
54 process.generalTracksFilter = cms.EDFilter("TrackCountFilter",
55  src = cms.InputTag('generalTracks'),
56  minNumber = cms.uint32(2)
57  )
58 process.pixelLessTracksFilter = cms.EDFilter("TrackCountFilter",
59  src = cms.InputTag('ctfPixelLess'),
60  minNumber = cms.uint32(1)
61  )
62 process.pixelTracksFilter = cms.EDFilter("TrackCountFilter",
63  src = cms.InputTag('pixelTracks'),
64  minNumber = cms.uint32(1)
65  )
66 
67 process.generalTracksPath = cms.Path(process.generalTracksFilter)
68 process.pixelTracksPath = cms.Path(process.pixelLessTracksFilter)
69 process.pixelLessTracksPath = cms.Path(process.pixelTracksFilter)
70 
71 
72 process.out = cms.OutputModule("PoolOutputModule",
73  outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
74  SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('generalTracksPath',
75  'pixelTracksPath',
76  'pixelLessTracksPath')),
77  dataset = cms.untracked.PSet(
78  dataTier = cms.untracked.string('RAW-RECO'),
79  filterName = cms.untracked.string('RecoTracks')),
80  fileName = cms.untracked.string('generalTracks.root')
81  )
82 
83 process.this_is_the_end = cms.EndPath(process.out)