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