CMS 3D CMS Logo

TrackerPointing_ToscaMap090322_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/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 
15 process.configurationMetadata = cms.untracked.PSet(
16  version = cms.untracked.string('$Revision: 1.10 $'),
17  name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/TrackerPointing_cfg.py,v $'),
18  annotation = cms.untracked.string('CRAFT TrackerPointing skim')
19 )
20 
21 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))
22 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
23 
24 process.load("Configuration.StandardSequences.MagneticField_38T_UpdatedMap_cff")
25 # trick to make it work with newnew magfield (not in 229)
26 process.VolumeBasedMagneticFieldESProducer.version='grid_1103l_090322_3_8t'
27 
28 process.load("Configuration.StandardSequences.Geometry_cff")
29 
30 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
31 process.GlobalTag.globaltag = 'CRAFT_V4P::All'
32 process.prefer("GlobalTag")
33 
34 process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
35 
36 
37 
38 
39 process.cosmictrackfinderP5TkCntFilter = cms.EDFilter("TrackCountFilter",
40  src = cms.InputTag('cosmictrackfinderP5'),
41  minNumber = cms.uint32(1)
42  )
43 
44 process.ctfWithMaterialTracksP5TkCntFilter = cms.EDFilter("TrackCountFilter",
45  src = cms.InputTag('ctfWithMaterialTracksP5'),
46  minNumber = cms.uint32(1)
47  )
48 
49 process.rsWithMaterialTracksP5TkCntFilter = cms.EDFilter("TrackCountFilter",
50  src = cms.InputTag('rsWithMaterialTracksP5'),
51  minNumber = cms.uint32(1)
52  )
53 
54 process.cosmicMuonsBarrelOnlyTkFilter = cms.EDFilter("HLTMuonPointingFilter",
55  SALabel = cms.InputTag("cosmicMuonsBarrelOnly"),
56  PropagatorName = cms.string("SteppingHelixPropagatorAny"),
57  radius = cms.double(90.0),
58  maxZ = cms.double(130.0)
59  )
60 
61 process.cosmicMuonsBarrelOnlyTkPath = cms.Path(process.cosmicMuonsBarrelOnlyTkFilter)
62 process.cosmictrackfinderP5TkCntPath = cms.Path(process.cosmictrackfinderP5TkCntFilter)
63 process.ctfWithMaterialTracksP5TkCntPath = cms.Path(process.ctfWithMaterialTracksP5TkCntFilter)
64 process.rsWithMaterialTracksP5TkCntPath = cms.Path(process.rsWithMaterialTracksP5TkCntFilter)
65 
66 
67 process.out = cms.OutputModule("PoolOutputModule",
68  outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
69  SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('cosmicMuonsBarrelOnlyTkPath',
70  'cosmictrackfinderP5TkCntPath',
71  'ctfWithMaterialTracksP5TkCntPath',
72  'rsWithMaterialTracksP5TkCntPath')),
73  dataset = cms.untracked.PSet(
74  dataTier = cms.untracked.string('RAW-RECO'),
75  filterName = cms.untracked.string('TrackingPointing')),
76  fileName = cms.untracked.string('trackerPointing.root')
77  )
78 
79 process.this_is_the_end = cms.EndPath(process.out)