CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SuperPointing_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("SKIM")
4 
5 process.source = cms.Source("PoolSource",
6  fileNames = cms.untracked.vstring(
7 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/D266D139-D871-DE11-A709-001D09F28F0C.root',
8 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/CA27788D-E871-DE11-8B46-001D09F276CF.root',
9 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/AC5633B2-D471-DE11-9B3A-001D09F252F3.root',
10 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/9CD957E7-D071-DE11-B6AE-001D09F252F3.root',
11 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/94BF68F7-D171-DE11-902B-000423D986A8.root',
12 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/7838FE1E-C771-DE11-9FD5-000423D98950.root',
13 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/56632803-DD71-DE11-BAF5-000423D9870C.root',
14 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/42A67CB9-E971-DE11-AA86-001D09F252F3.root',
15 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/407225D3-D071-DE11-809B-001D09F297EF.root',
16 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/3E5E1CF0-D271-DE11-AC2B-000423D94700.root',
17 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/2C57E916-D071-DE11-AF0E-001D09F24E39.root',
18 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/228896A5-E571-DE11-A60B-001D09F2AF96.root'),
19 
20 # '/store/data/Commissioning08/Cosmics/RECO/CRAFT_ALL_V9_225-v1/0002/0A12CE23-D7F9-DD11-819E-00E081348D21.root'),
21  secondaryFileNames = cms.untracked.vstring(
22 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/F6887FD0-9371-DE11-B69E-00304879FBB2.root',
23 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/EEAF292E-9571-DE11-9A17-000423D94C68.root',
24 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/ECC04DEB-9071-DE11-9F3A-001D09F23174.root',
25 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/E8CE8710-9171-DE11-9211-000423D94534.root',
26 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/DEB9057C-9471-DE11-BAF5-000423D94524.root',
27 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/DC2A7158-A171-DE11-ACD3-001D09F24047.root',
28 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/D6E68664-9271-DE11-AE97-000423D9970C.root',
29 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/D2D94C9C-9171-DE11-AA96-000423D94AA8.root',
30 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/B045C7CB-9371-DE11-AF39-001D09F24489.root',
31 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/A2C791EF-9071-DE11-871D-001D09F2423B.root',
32 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/9E1A4336-9071-DE11-81BD-001D09F251B8.root',
33 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/8C28F89C-9171-DE11-B944-000423D9A2AE.root',
34 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/82A37610-9371-DE11-A293-000423D98B6C.root',
35 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/822D1510-9371-DE11-A329-000423D99A8E.root',
36 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/76515611-9371-DE11-8BF2-001D09F24024.root',
37 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/76434EA1-9171-DE11-B39F-000423D98E54.root',
38 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/6E1DB87B-9471-DE11-B4E8-000423D98B28.root',
39 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/6A15A1C7-9371-DE11-9ACB-0030487A18F2.root',
40 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/4E95107B-9471-DE11-9E86-000423D944F0.root',
41 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/42C723CA-9871-DE11-8614-000423D6B48C.root',
42 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/3E934456-9271-DE11-BA19-000423D99AA2.root',
43 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/3AF89B38-9371-DE11-AEE9-000423D33970.root',
44 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/2C696C5B-9271-DE11-BD57-000423D94990.root')
45 
46 # '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/578/085EFED4-E5AB-DD11-9ACA-001617C3B6FE.root')
47 )
48 
49 process.configurationMetadata = cms.untracked.PSet(
50  version = cms.untracked.string('$Revision: 1.13 $'),
51  name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/SuperPointing_cfg.py,v $'),
52  annotation = cms.untracked.string('CRAFT SuperPointing skim')
53 )
54 
55 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1000))
56 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
57 
58 
59 process.load('Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
60 process.load('Configuration/StandardSequences/GeometryIdeal_cff')
61 
62 
63 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
64 process.GlobalTag.globaltag = 'GR09_31X_V3P::All'
65 
66 process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
67 
68 
69 process.cosmicMuonsBarrelOnlyFilter = cms.EDFilter("HLTMuonPointingFilter",
70  SALabel = cms.InputTag("cosmicMuonsBarrelOnly"),
71  PropagatorName = cms.string("SteppingHelixPropagatorAny"),
72  radius = cms.double(10.0),
73  maxZ = cms.double(50.0)
74  )
75 
76 process.cosmicMuonsFilter = cms.EDFilter("HLTMuonPointingFilter",
77  SALabel = cms.InputTag("cosmicMuons"),
78  PropagatorName = cms.string("SteppingHelixPropagatorAny"),
79  radius = cms.double(10.0),
80  maxZ = cms.double(50.0)
81  )
82 
83 process.cosmicMuons1LegFilter = cms.EDFilter("HLTMuonPointingFilter",
84  SALabel = cms.InputTag("cosmicMuons1Leg"),
85  PropagatorName = cms.string("SteppingHelixPropagatorAny"),
86  radius = cms.double(10.0),
87  maxZ = cms.double(50.0)
88  )
89 
90 process.globalCosmicMuonsBarrelOnlyFilter = cms.EDFilter("HLTMuonPointingFilter",
91  SALabel = cms.InputTag("globalCosmicMuonsBarrelOnly"),
92  PropagatorName = cms.string("SteppingHelixPropagatorAny"),
93  radius = cms.double(10.0),
94  maxZ = cms.double(50.0)
95  )
96 
97 process.cosmictrackfinderP5Filter = cms.EDFilter("HLTMuonPointingFilter",
98  SALabel = cms.InputTag("cosmictrackfinderP5"),
99  PropagatorName = cms.string("SteppingHelixPropagatorAny"),
100  radius = cms.double(10.0),
101  maxZ = cms.double(50.0)
102  )
103 
104 process.globalCosmicMuonsFilter = cms.EDFilter("HLTMuonPointingFilter",
105  SALabel = cms.InputTag("globalCosmicMuons"),
106  PropagatorName = cms.string("SteppingHelixPropagatorAny"),
107  radius = cms.double(10.0),
108  maxZ = cms.double(50.0)
109  )
110 
111 process.rsWithMaterialTracksP5Filter = cms.EDFilter("HLTMuonPointingFilter",
112  SALabel = cms.InputTag("rsWithMaterialTracksP5"),
113  PropagatorName = cms.string("SteppingHelixPropagatorAny"),
114  radius = cms.double(10.0),
115  maxZ = cms.double(50.0)
116  )
117 
118 process.globalCosmicMuons1LegFilter = cms.EDFilter("HLTMuonPointingFilter",
119  SALabel = cms.InputTag("globalCosmicMuons1Leg"),
120  PropagatorName = cms.string("SteppingHelixPropagatorAny"),
121  radius = cms.double(10.0),
122  maxZ = cms.double(50.0)
123  )
124 
125 process.ctfWithMaterialTracksP5Filter = cms.EDFilter("HLTMuonPointingFilter",
126  SALabel = cms.InputTag("ctfWithMaterialTracksP5"),
127  PropagatorName = cms.string("SteppingHelixPropagatorAny"),
128  radius = cms.double(10.0),
129  maxZ = cms.double(50.0)
130  )
131 
132 
133 process.cosmicMuonsBarrelOnlyPath = cms.Path(process.cosmicMuonsBarrelOnlyFilter)
134 process.cosmicMuonsPath = cms.Path(process.cosmicMuonsFilter)
135 process.cosmicMuons1LegPath = cms.Path(process.cosmicMuons1LegFilter)
136 process.globalCosmicMuonsBarrelOnlyPath = cms.Path(process.globalCosmicMuonsBarrelOnlyFilter)
137 process.cosmictrackfinderP5Path = cms.Path(process.cosmictrackfinderP5Filter)
138 process.globalCosmicMuonsPath = cms.Path(process.globalCosmicMuonsFilter)
139 process.rsWithMaterialTracksP5Path = cms.Path(process.rsWithMaterialTracksP5Filter)
140 process.globalCosmicMuons1LegPath = cms.Path(process.globalCosmicMuons1LegFilter)
141 process.ctfWithMaterialTracksP5Path = cms.Path(process.ctfWithMaterialTracksP5Filter)
142 
143 
144 
145 process.out = cms.OutputModule("PoolOutputModule",
146  outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
147  SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('cosmicMuonsBarrelOnlyPath',
148  'cosmicMuonsPath',
149  'cosmicMuons1LegPath',
150  'globalCosmicMuonsBarrelOnlyPath',
151  'cosmictrackfinderP5Path',
152  'globalCosmicMuonsPath',
153  'rsWithMaterialTracksP5Path',
154  'globalCosmicMuons1LegPath',
155  'ctfWithMaterialTracksP5Path')),
156  dataset = cms.untracked.PSet(
157  dataTier = cms.untracked.string('RAW-RECO'),
158  filterName = cms.untracked.string('SuperPointing')),
159  fileName = cms.untracked.string('/tmp/malgeri/superPointing.root')
160  )
161 
162 process.this_is_the_end = cms.EndPath(process.out)
163 
164 
165