CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SkimsCosmics_DPG_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from Configuration.EventContent.EventContentCosmics_cff import FEVTEventContent
4 skimContent = FEVTEventContent.clone()
5 skimContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
6 skimContent.outputCommands.append("drop *_*_*_SKIM")
7 
8 ############ Import LogError and LogErrorMonitor skims defined in Skims_DPG_cff.py
10 from DPGAnalysis.Skims.Skims_DPG_cff import pathlogerror,SKIMStreamLogError
11 from DPGAnalysis.Skims.Skims_DPG_cff import pathlogerrormonitor,SKIMStreamLogErrorMonitor
12 
13 ############
14 
16 
17 cosmicMuonsBarrelOnlyPath = cms.Path(cosmicMuonsBarrelOnlySequence)
18 cosmicMuonsPath = cms.Path(cosmicMuonsSequence)
19 cosmicMuons1LegPath = cms.Path(cosmicMuons1LegSequence)
20 globalCosmicMuonsBarrelOnlyPath = cms.Path(globalCosmicMuonsBarrelOnlySequence)
21 cosmictrackfinderP5Path = cms.Path(cosmictrackfinderP5Sequence)
22 globalCosmicMuonsPath = cms.Path(globalCosmicMuonsSequence)
23 globalCosmicMuons1LegPath = cms.Path(globalCosmicMuons1LegSequence)
24 
25 SKIMStreamCosmicSP = cms.FilteredStream(
26  responsible = 'MU-POG TRK-DPG',
27  name = 'CosmicSP',
28  paths = (cosmicMuonsBarrelOnlyPath,
29  cosmicMuonsPath,
30  cosmicMuons1LegPath,
31  globalCosmicMuonsBarrelOnlyPath,
32  cosmictrackfinderP5Path,
33  globalCosmicMuonsPath,
34  globalCosmicMuons1LegPath
35 
36  ),
37  content = skimContent.outputCommands,
38  selectEvents = cms.untracked.PSet(),
39  dataTier = cms.untracked.string('RAW-RECO')
40  )
41 
43 
44 cosmicMuonsBarrelOnlyTkPath = cms.Path(cosmicMuonsEndCapsOnlyTkSequence)
45 cosmicMuonsEndCapsOnlyTkPath = cms.Path(cosmicMuonsTkSequence)
46 cosmicMuonsTkPath = cms.Path(cosmicMuons1LegTkSequence)
47 cosmicMuons1LegTkPath = cms.Path(cosmicMuons1LegTkSequence)
48 globalCosmicMuonsBarrelOnlyTkPath = cms.Path(globalCosmicMuonsBarrelOnlyTkSequence)
49 globalCosmicMuonsEndCapsOnlyTkPath = cms.Path(globalCosmicMuonsEndCapsOnlyTkSequence)
50 globalCosmicMuonsTkPath = cms.Path(globalCosmicMuonsTkSequence)
51 globalCosmicMuons1LegTkPath = cms.Path(globalCosmicMuons1LegTkSequence)
52 cosmictrackfinderP5TkCntPath = cms.Path(cosmictrackfinderP5TkCntSequence)
53 ctfWithMaterialTracksP5TkCntPath = cms.Path(ctfWithMaterialTracksP5TkCntSequence)
54 # (SK) keep commented out in case of resurrection
55 #rsWithMaterialTracksP5TkCntPath = cms.Path(rsWithMaterialTracksP5TkCntSequence)
56 
57 SKIMStreamCosmicTP = cms.FilteredStream(
58  responsible = 'DDT',
59  name = 'CosmicTP',
60  paths = (cosmicMuonsBarrelOnlyTkPath,
61  cosmicMuonsEndCapsOnlyTkPath,
62  cosmicMuonsTkPath,
63  cosmicMuons1LegTkPath,
64  globalCosmicMuonsBarrelOnlyTkPath,
65  globalCosmicMuonsEndCapsOnlyTkPath,
66  globalCosmicMuonsTkPath,
67  globalCosmicMuons1LegTkPath,
68  cosmictrackfinderP5TkCntPath,
69  ctfWithMaterialTracksP5TkCntPath
70 # ,
71 # (SK) keep commented out in case of resurrection
72 # rsWithMaterialTracksP5TkCntPath
73  ),
74  content = skimContent.outputCommands,
75  selectEvents = cms.untracked.PSet(),
76  dataTier = cms.untracked.string('RAW-RECO')
77  )
78 
79 """
80 from DPGAnalysis.Skims.cscSkim_cff import *
81 from DPGAnalysis.Skims.Skims_DPG_cff import pathCSCSkim,SKIMStreamCSC
82 
83 
84 
85 
86 from DPGAnalysis.Skims.cosmicSPSkim_cff import *
87 
88 cosmicMuonsBarrelOnlyPath = cms.Path(cosmicMuonsBarrelOnlySequence)
89 cosmicMuonsPath = cms.Path(cosmicMuonsSequence)
90 cosmicMuons1LegPath = cms.Path(cosmicMuons1LegSequence)
91 globalCosmicMuonsBarrelOnlyPath = cms.Path(globalCosmicMuonsBarrelOnlySequence)
92 cosmictrackfinderP5Path = cms.Path(cosmictrackfinderP5Sequence)
93 globalCosmicMuonsPath = cms.Path(globalCosmicMuonsSequence)
94 # (SK) keep commented out in case of resurrection
95 #rsWithMaterialTracksP5Path = cms.Path(rsWithMaterialTracksP5Sequence)
96 globalCosmicMuons1LegPath = cms.Path(globalCosmicMuons1LegSequence)
97 # (SK) keep commented out in case of resurrection
98 #rsWithMaterialTracksP5Path = cms.Path(rsWithMaterialTracksP5Sequence)
99 
100 SKIMStreamCosmicSP = cms.FilteredStream(
101  responsible = '',
102  name = 'CosmicSP',
103  paths = (cosmicMuonsBarrelOnlyPath,
104  cosmicMuonsPath,
105  cosmicMuons1LegPath,
106  globalCosmicMuonsBarrelOnlyPath,
107  cosmictrackfinderP5Path,
108  globalCosmicMuonsPath,
109 # (SK) keep commented out in case of resurrection
110 # rsWithMaterialTracksP5Path,
111  globalCosmicMuons1LegPath
112 # ,
113 # (SK) keep commented out in case of resurrection
114 # rsWithMaterialTracksP5Path
115  ),
116  content = skimContent.outputCommands,
117  selectEvents = cms.untracked.PSet(),
118  dataTier = cms.untracked.string('RAW-RECO')
119  )
120 
121 #####################
122 """
DPG skims ###.