1 |
battilan |
1.1 |
from EventFilter.DTTFRawToDigi.dttfunpacker_cfi import *
|
2 |
|
|
|
3 |
|
|
dtunpacker = cms.EDFilter("DTUnpackingModule",
|
4 |
|
|
dataType = cms.string('DDU'),
|
5 |
|
|
useStandardFEDid = cms.untracked.bool(True),
|
6 |
|
|
fedbyType = cms.untracked.bool(True),
|
7 |
|
|
readOutParameters = cms.PSet(debug = cms.untracked.bool(False),
|
8 |
|
|
rosParameters = cms.PSet(writeSC = cms.untracked.bool(True),
|
9 |
|
|
readingDDU = cms.untracked.bool(True),
|
10 |
|
|
performDataIntegrityMonitor = cms.untracked.bool(True),
|
11 |
|
|
readDDUIDfromDDU = cms.untracked.bool(True),
|
12 |
|
|
debug = cms.untracked.bool(False),
|
13 |
|
|
localDAQ = cms.untracked.bool(False)
|
14 |
|
|
),
|
15 |
|
|
localDAQ = cms.untracked.bool(False),
|
16 |
|
|
performDataIntegrityMonitor = cms.untracked.bool(True)
|
17 |
|
|
)
|
18 |
|
|
)
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
from Configuration.StandardSequences.Geometry_cff import *
|
22 |
battilan |
1.2 |
from RecoLocalMuon.Configuration.RecoLocalMuonCosmics_cff import *
|
23 |
battilan |
1.1 |
dt1DRecHits.dtDigiLabel = 'dtunpacker'
|
24 |
|
|
|
25 |
battilan |
1.2 |
from RecoMuon.Configuration.RecoMuonCosmics_cff import *
|
26 |
cerminar |
1.3 |
from RecoVertex.BeamSpotProducer.BeamSpot_cff import *
|
27 |
battilan |
1.2 |
from TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagator_cfi import *
|
28 |
cerminar |
1.3 |
|
29 |
battilan |
1.2 |
cosmicMuonsBarrelOnly.TrajectoryBuilderParameters.EnableRPCMeasurement = False
|
30 |
battilan |
1.1 |
|
31 |
|
|
from CondCore.DBCommon.CondDBSetup_cfi import *
|
32 |
|
|
|
33 |
cerminar |
1.3 |
# from Configuration.StandardSequences.FrontierConditions_GlobalTag_noesprefer_cff import *
|
34 |
|
|
# es_prefer_GlobalTag = cms.ESPrefer('PoolDBESSource','GlobalTag')
|
35 |
|
|
# #es_prefer_roMapping = cms.ESPrefer('PoolDBESSource','roMapping')
|
36 |
|
|
|
37 |
|
|
# GlobalTag.globaltag = "CRAFT_V2P::All"
|
38 |
|
|
|
39 |
|
|
|
40 |
battilan |
1.1 |
GlobalPositionSource = cms.ESSource("PoolDBESSource",
|
41 |
|
|
CondDBSetup,
|
42 |
|
|
toGet = cms.VPSet(cms.PSet(record = cms.string('GlobalPositionRcd'),
|
43 |
|
|
tag = cms.string('IdealGeometry')
|
44 |
|
|
),
|
45 |
|
|
cms.PSet(record = cms.string('DTAlignmentRcd'),
|
46 |
|
|
tag = cms.string('DTIdealGeometry200_mc')
|
47 |
|
|
),
|
48 |
|
|
cms.PSet(record = cms.string('DTAlignmentErrorRcd'),
|
49 |
|
|
tag = cms.string('DTIdealGeometryErrors200_mc')
|
50 |
battilan |
1.2 |
),
|
51 |
|
|
cms.PSet(record = cms.string('CSCAlignmentRcd'),
|
52 |
|
|
tag = cms.string('CSCIdealGeometry200_mc')
|
53 |
|
|
),
|
54 |
|
|
cms.PSet(record = cms.string('CSCAlignmentErrorRcd'),
|
55 |
|
|
tag = cms.string('CSCIdealGeometryErrors200_mc')
|
56 |
|
|
),
|
57 |
|
|
cms.PSet(record = cms.string('TrackerAlignmentRcd'),
|
58 |
|
|
tag = cms.string('TrackerIdealGeometry210_mc')
|
59 |
|
|
),
|
60 |
|
|
cms.PSet(record = cms.string('TrackerAlignmentErrorRcd'),
|
61 |
|
|
tag = cms.string('TrackerIdealGeometryErrors210_mc')
|
62 |
battilan |
1.1 |
)
|
63 |
|
|
),
|
64 |
|
|
connect = cms.string('frontier://cms_conditions_data/CMS_COND_21X_ALIGNMENT')
|
65 |
|
|
)
|
66 |
|
|
|
67 |
battilan |
1.2 |
beamSpotSource = cms.ESSource("PoolDBESSource",
|
68 |
|
|
CondDBSetup,
|
69 |
|
|
timetype = cms.string('runnumber'),
|
70 |
|
|
toGet = cms.VPSet(cms.PSet(record = cms.string('BeamSpotObjectsRcd'),
|
71 |
|
|
tag = cms.string('Early10TeVCollision_3p8cm_v2_mc')
|
72 |
|
|
)
|
73 |
|
|
),
|
74 |
|
|
connect = cms.string('frontier://Frontier/CMS_COND_21X_BEAMSPOT'),
|
75 |
|
|
authenticationMethod = cms.untracked.uint32(0)
|
76 |
|
|
)
|
77 |
|
|
|
78 |
battilan |
1.1 |
roMapping = cms.ESSource("PoolDBESSource",
|
79 |
|
|
CondDBSetup,
|
80 |
|
|
timetype = cms.string('runnumber'),
|
81 |
|
|
toGet = cms.VPSet(cms.PSet(record = cms.string('DTReadOutMappingRcd'),
|
82 |
|
|
tag = cms.string('map_CRUZET')
|
83 |
|
|
),
|
84 |
|
|
cms.PSet(record = cms.string('DTT0Rcd'),
|
85 |
|
|
tag = cms.string('t0_CRUZET_hlt')
|
86 |
|
|
),
|
87 |
|
|
cms.PSet(record = cms.string('DTStatusFlagRcd'),
|
88 |
|
|
tag = cms.string('noise_CRUZET_hlt')
|
89 |
battilan |
1.2 |
),
|
90 |
|
|
cms.PSet(record = cms.string('DTMtimeRcd'),
|
91 |
|
|
tag = cms.string('vDrift_LHCStartUp_543_CMSSW219')
|
92 |
battilan |
1.1 |
)
|
93 |
|
|
),
|
94 |
|
|
connect = cms.string('frontier://Frontier/CMS_COND_21X_DT'),
|
95 |
|
|
authenticationMethod = cms.untracked.uint32(0)
|
96 |
|
|
)
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
unpackers = cms.Sequence(dtunpacker + dttfunpacker)
|
100 |
battilan |
1.2 |
reco = cms.Sequence(dt1DRecHits * dt2DSegments * dt4DSegments)
|
101 |
|
|
globalreco = cms.Sequence(CosmicMuonSeedBarrelOnly * offlineBeamSpot * cosmicMuonsBarrelOnly)
|
102 |
cerminar |
1.3 |
|
103 |
|
|
#######################################################################################
|
104 |
|
|
# DT DPG DQM modules follow
|
105 |
|
|
|
106 |
|
|
from UserCode.DTDPGAnalysis.DTOfflineAnalyzer_cfi import *
|
107 |
|
|
from UserCode.DTDPGAnalysis.STAOfflineAnalyzer_cfi import *
|
108 |
|
|
from UserCode.DTDPGAnalysis.DTEffOfflineAnalyzer_cfi import *
|
109 |
|
|
|
110 |
|
|
|
111 |
|
|
from DQMServices.Components.MEtoEDMConverter_cfi import *
|
112 |
|
|
from DQMServices.Core.DQM_cfg import *
|
113 |
|
|
|
114 |
|
|
from DQM.DTMonitorModule.dtDataIntegrityTask_cfi import *
|
115 |
|
|
|
116 |
|
|
from DQM.DTMonitorModule.dtDigiTask_cfi import *
|
117 |
|
|
dtDigiMonitor.readDB = True
|
118 |
|
|
dtDigiMonitor.doNoiseOccupancies = True
|
119 |
|
|
dtDigiMonitor.doInTimeOccupancies = True
|
120 |
|
|
|
121 |
|
|
from DQM.DTMonitorModule.dtTriggerTask_cfi import *
|
122 |
|
|
dtTriggerMonitor.process_dcc = True
|
123 |
|
|
dtTriggerMonitor.dcc_label = 'dttfunpacker'
|
124 |
|
|
dtTriggerMonitor.process_seg = True
|
125 |
|
|
|
126 |
|
|
from DQM.DTMonitorModule.dtEfficiencyTask_cfi import *
|
127 |
|
|
from DQM.DTMonitorModule.dtChamberEfficiencyTask_cfi import *
|
128 |
|
|
from DQM.DTMonitorModule.dtResolutionTask_cfi import *
|
129 |
|
|
|
130 |
|
|
from DQM.DTMonitorModule.dtSegmentTask_cfi import *
|
131 |
|
|
dtSegmentAnalysisMonitor.detailedAnalysis = True
|
132 |
|
|
|
133 |
battilan |
1.6 |
dummyProducer = cms.EDProducer("ThingWithMergeProducer")
|
134 |
cerminar |
1.3 |
|
135 |
battilan |
1.6 |
|
136 |
|
|
sources = cms.Sequence( dummyProducer + dtDigiMonitor + dtTriggerMonitor + dtEfficiencyMonitor + dtChamberEfficiencyMonitor + dtSegmentAnalysisMonitor + dtResolutionAnalysisMonitor)
|
137 |
cerminar |
1.3 |
|
138 |
|
|
analysis = cms.Sequence(DTOfflineAnalyzer + DTEffOfflineAnalyzer + STAOfflineAnalyzer)
|
139 |
|
|
|