ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/DTDPGAnalysis/python/dt_dpganalysis_common_cff.py
Revision: 1.4
Committed: Thu Nov 6 14:31:28 2008 UTC (16 years, 5 months ago) by battilan
Content type: text/x-python
Branch: MAIN
CVS Tags: V00-00-03
Changes since 1.3: +0 -2 lines
Log Message:
propagator replaces moved to 0T cfg

File Contents

# User Rev Content
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('DTTtrigRcd'),
88     tag = cms.string('ttrig_CRAFT_081017_2109_offline')
89     ),
90     cms.PSet(record = cms.string('DTStatusFlagRcd'),
91     tag = cms.string('noise_CRUZET_hlt')
92 battilan 1.2 ),
93     cms.PSet(record = cms.string('DTMtimeRcd'),
94     tag = cms.string('vDrift_LHCStartUp_543_CMSSW219')
95 battilan 1.1 )
96     ),
97     connect = cms.string('frontier://Frontier/CMS_COND_21X_DT'),
98     authenticationMethod = cms.untracked.uint32(0)
99     )
100    
101    
102     unpackers = cms.Sequence(dtunpacker + dttfunpacker)
103 battilan 1.2 reco = cms.Sequence(dt1DRecHits * dt2DSegments * dt4DSegments)
104     globalreco = cms.Sequence(CosmicMuonSeedBarrelOnly * offlineBeamSpot * cosmicMuonsBarrelOnly)
105 cerminar 1.3
106     #######################################################################################
107     # DT DPG DQM modules follow
108    
109     from UserCode.DTDPGAnalysis.DTOfflineAnalyzer_cfi import *
110     from UserCode.DTDPGAnalysis.STAOfflineAnalyzer_cfi import *
111     from UserCode.DTDPGAnalysis.DTEffOfflineAnalyzer_cfi import *
112    
113    
114     from DQMServices.Components.MEtoEDMConverter_cfi import *
115     from DQMServices.Core.DQM_cfg import *
116    
117     from DQM.DTMonitorModule.dtDataIntegrityTask_cfi import *
118    
119     from DQM.DTMonitorModule.dtDigiTask_cfi import *
120     dtDigiMonitor.readDB = True
121     dtDigiMonitor.doNoiseOccupancies = True
122     dtDigiMonitor.doInTimeOccupancies = True
123    
124     from DQM.DTMonitorModule.dtTriggerTask_cfi import *
125     dtTriggerMonitor.process_dcc = True
126     dtTriggerMonitor.dcc_label = 'dttfunpacker'
127     dtTriggerMonitor.process_seg = True
128    
129     from DQM.DTMonitorModule.dtEfficiencyTask_cfi import *
130     from DQM.DTMonitorModule.dtChamberEfficiencyTask_cfi import *
131     from DQM.DTMonitorModule.dtResolutionTask_cfi import *
132    
133     from DQM.DTMonitorModule.dtSegmentTask_cfi import *
134     dtSegmentAnalysisMonitor.detailedAnalysis = True
135    
136    
137     sources = cms.Sequence( dtDigiMonitor + dtTriggerMonitor + dtEfficiencyMonitor + dtChamberEfficiencyMonitor + dtSegmentAnalysisMonitor + dtResolutionAnalysisMonitor)
138    
139     analysis = cms.Sequence(DTOfflineAnalyzer + DTEffOfflineAnalyzer + STAOfflineAnalyzer)
140