CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SuperPointing_ToscaMap090322_cfg.py
Go to the documentation of this file.
2 
3 process = cms.Process("SKIM")
4 
5 process.source = cms.Source("PoolSource",
6  fileNames = cms.untracked.vstring(
7  '/store/data/Commissioning08/Cosmics/RECO/CRAFT_ALL_V9_225-v2/0000/FE32B1E4-C7FA-DD11-A2FD-001A92971ADC.root'),
8  secondaryFileNames = cms.untracked.vstring(
9  '/store/data/Commissioning08/Cosmics/RAW/v1/000/068/000/708C5612-CFA5-DD11-AD52-0019DB29C5FC.root',
10  '/store/data/Commissioning08/Cosmics/RAW/v1/000/068/000/38419E41-D1A5-DD11-8B68-001617C3B6E2.root',
11  '/store/data/Commissioning08/Cosmics/RAW/v1/000/068/000/2CDF3B0F-CFA5-DD11-AE18-000423D99A8E.root')
12  )
13 
14 process.configurationMetadata = cms.untracked.PSet(
15  version = cms.untracked.string('$Revision: 1.13 $'),
16  name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/SuperPointing_cfg.py,v $'),
17  annotation = cms.untracked.string('CRAFT SuperPointing skim')
18 )
19 
20 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))
21 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
22 
23 process.load("Configuration.StandardSequences.MagneticField_38T_UpdatedMap_cff")
24 # trick to make it work with newnew magfield (not in 229)
25 process.VolumeBasedMagneticFieldESProducer.version='grid_1103l_090322_3_8t'
26 
27 process.load("Configuration.StandardSequences.Geometry_cff")
28 
29 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
30 process.GlobalTag.globaltag = 'CRAFT_ALL_V4::All'
31 process.prefer("GlobalTag")
32 
33 process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
34 
35 
36 process.cosmicMuonsBarrelOnlyFilter = cms.EDFilter("HLTMuonPointingFilter",
37  SALabel = cms.InputTag("cosmicMuonsBarrelOnly"),
38  PropagatorName = cms.string("SteppingHelixPropagatorAny"),
39  radius = cms.double(10.0),
40  maxZ = cms.double(50.0)
41  )
42 
43 process.cosmicMuonsFilter = cms.EDFilter("HLTMuonPointingFilter",
44  SALabel = cms.InputTag("cosmicMuons"),
45  PropagatorName = cms.string("SteppingHelixPropagatorAny"),
46  radius = cms.double(10.0),
47  maxZ = cms.double(50.0)
48  )
49 
50 process.cosmicMuons1LegFilter = cms.EDFilter("HLTMuonPointingFilter",
51  SALabel = cms.InputTag("cosmicMuons1Leg"),
52  PropagatorName = cms.string("SteppingHelixPropagatorAny"),
53  radius = cms.double(10.0),
54  maxZ = cms.double(50.0)
55  )
56 
57 process.globalCosmicMuonsBarrelOnlyFilter = cms.EDFilter("HLTMuonPointingFilter",
58  SALabel = cms.InputTag("globalCosmicMuonsBarrelOnly"),
59  PropagatorName = cms.string("SteppingHelixPropagatorAny"),
60  radius = cms.double(10.0),
61  maxZ = cms.double(50.0)
62  )
63 
64 process.cosmictrackfinderP5Filter = cms.EDFilter("HLTMuonPointingFilter",
65  SALabel = cms.InputTag("cosmictrackfinderP5"),
66  PropagatorName = cms.string("SteppingHelixPropagatorAny"),
67  radius = cms.double(10.0),
68  maxZ = cms.double(50.0)
69  )
70 
71 process.globalCosmicMuonsFilter = cms.EDFilter("HLTMuonPointingFilter",
72  SALabel = cms.InputTag("globalCosmicMuons"),
73  PropagatorName = cms.string("SteppingHelixPropagatorAny"),
74  radius = cms.double(10.0),
75  maxZ = cms.double(50.0)
76  )
77 
78 process.rsWithMaterialTracksP5Filter = cms.EDFilter("HLTMuonPointingFilter",
79  SALabel = cms.InputTag("rsWithMaterialTracksP5"),
80  PropagatorName = cms.string("SteppingHelixPropagatorAny"),
81  radius = cms.double(10.0),
82  maxZ = cms.double(50.0)
83  )
84 
85 process.globalCosmicMuons1LegFilter = cms.EDFilter("HLTMuonPointingFilter",
86  SALabel = cms.InputTag("globalCosmicMuons1Leg"),
87  PropagatorName = cms.string("SteppingHelixPropagatorAny"),
88  radius = cms.double(10.0),
89  maxZ = cms.double(50.0)
90  )
91 
92 process.ctfWithMaterialTracksP5Filter = cms.EDFilter("HLTMuonPointingFilter",
93  SALabel = cms.InputTag("ctfWithMaterialTracksP5"),
94  PropagatorName = cms.string("SteppingHelixPropagatorAny"),
95  radius = cms.double(10.0),
96  maxZ = cms.double(50.0)
97  )
98 
99 
100 process.cosmicMuonsBarrelOnlyPath = cms.Path(process.cosmicMuonsBarrelOnlyFilter)
101 process.cosmicMuonsPath = cms.Path(process.cosmicMuonsFilter)
102 process.cosmicMuons1LegPath = cms.Path(process.cosmicMuons1LegFilter)
103 process.globalCosmicMuonsBarrelOnlyPath = cms.Path(process.globalCosmicMuonsBarrelOnlyFilter)
104 process.cosmictrackfinderP5Path = cms.Path(process.cosmictrackfinderP5Filter)
105 process.globalCosmicMuonsPath = cms.Path(process.globalCosmicMuonsFilter)
106 process.rsWithMaterialTracksP5Path = cms.Path(process.rsWithMaterialTracksP5Filter)
107 process.globalCosmicMuons1LegPath = cms.Path(process.globalCosmicMuons1LegFilter)
108 process.ctfWithMaterialTracksP5Path = cms.Path(process.ctfWithMaterialTracksP5Filter)
109 
110 
111 
112 process.out = cms.OutputModule("PoolOutputModule",
113  outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
114  SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('cosmicMuonsBarrelOnlyPath',
115  'cosmicMuonsPath',
116  'cosmicMuons1LegPath',
117  'globalCosmicMuonsBarrelOnlyPath',
118  'cosmictrackfinderP5Path',
119  'globalCosmicMuonsPath',
120  'rsWithMaterialTracksP5Path',
121  'globalCosmicMuons1LegPath',
122  'ctfWithMaterialTracksP5Path')),
123  dataset = cms.untracked.PSet(
124  dataTier = cms.untracked.string('RAW-RECO'),
125  filterName = cms.untracked.string('SuperPointing')),
126  fileName = cms.untracked.string('superPointing.root')
127  )
128 
129 process.this_is_the_end = cms.EndPath(process.out)
130 
131 
132