ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/DTDPGAnalysis/python/dt_dpganalysis_common_cff.py
Revision: 1.3
Committed: Tue Nov 4 14:40:28 2008 UTC (16 years, 6 months ago) by cerminar
Content type: text/x-python
Branch: MAIN
CVS Tags: V00-00-02, V00-00-01, V00-00-00
Changes since 1.2: +47 -3 lines
Log Message:
move part of the configuration to common_cff and fix magnetic field configuration

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 SteppingHelixPropagator.useInTeslaFromMagField = True
29     SteppingHelixPropagator.SetVBFPointer = True
30    
31 battilan 1.2 cosmicMuonsBarrelOnly.TrajectoryBuilderParameters.EnableRPCMeasurement = False
32 battilan 1.1
33     from CondCore.DBCommon.CondDBSetup_cfi import *
34    
35 cerminar 1.3 # from Configuration.StandardSequences.FrontierConditions_GlobalTag_noesprefer_cff import *
36     # es_prefer_GlobalTag = cms.ESPrefer('PoolDBESSource','GlobalTag')
37     # #es_prefer_roMapping = cms.ESPrefer('PoolDBESSource','roMapping')
38    
39     # GlobalTag.globaltag = "CRAFT_V2P::All"
40    
41    
42 battilan 1.1 GlobalPositionSource = cms.ESSource("PoolDBESSource",
43     CondDBSetup,
44     toGet = cms.VPSet(cms.PSet(record = cms.string('GlobalPositionRcd'),
45     tag = cms.string('IdealGeometry')
46     ),
47     cms.PSet(record = cms.string('DTAlignmentRcd'),
48     tag = cms.string('DTIdealGeometry200_mc')
49     ),
50     cms.PSet(record = cms.string('DTAlignmentErrorRcd'),
51     tag = cms.string('DTIdealGeometryErrors200_mc')
52 battilan 1.2 ),
53     cms.PSet(record = cms.string('CSCAlignmentRcd'),
54     tag = cms.string('CSCIdealGeometry200_mc')
55     ),
56     cms.PSet(record = cms.string('CSCAlignmentErrorRcd'),
57     tag = cms.string('CSCIdealGeometryErrors200_mc')
58     ),
59     cms.PSet(record = cms.string('TrackerAlignmentRcd'),
60     tag = cms.string('TrackerIdealGeometry210_mc')
61     ),
62     cms.PSet(record = cms.string('TrackerAlignmentErrorRcd'),
63     tag = cms.string('TrackerIdealGeometryErrors210_mc')
64 battilan 1.1 )
65     ),
66     connect = cms.string('frontier://cms_conditions_data/CMS_COND_21X_ALIGNMENT')
67     )
68    
69 battilan 1.2 beamSpotSource = cms.ESSource("PoolDBESSource",
70     CondDBSetup,
71     timetype = cms.string('runnumber'),
72     toGet = cms.VPSet(cms.PSet(record = cms.string('BeamSpotObjectsRcd'),
73     tag = cms.string('Early10TeVCollision_3p8cm_v2_mc')
74     )
75     ),
76     connect = cms.string('frontier://Frontier/CMS_COND_21X_BEAMSPOT'),
77     authenticationMethod = cms.untracked.uint32(0)
78     )
79    
80 battilan 1.1 roMapping = cms.ESSource("PoolDBESSource",
81     CondDBSetup,
82     timetype = cms.string('runnumber'),
83     toGet = cms.VPSet(cms.PSet(record = cms.string('DTReadOutMappingRcd'),
84     tag = cms.string('map_CRUZET')
85     ),
86     cms.PSet(record = cms.string('DTT0Rcd'),
87     tag = cms.string('t0_CRUZET_hlt')
88     ),
89     cms.PSet(record = cms.string('DTTtrigRcd'),
90     tag = cms.string('ttrig_CRAFT_081017_2109_offline')
91     ),
92     cms.PSet(record = cms.string('DTStatusFlagRcd'),
93     tag = cms.string('noise_CRUZET_hlt')
94 battilan 1.2 ),
95     cms.PSet(record = cms.string('DTMtimeRcd'),
96     tag = cms.string('vDrift_LHCStartUp_543_CMSSW219')
97 battilan 1.1 )
98     ),
99     connect = cms.string('frontier://Frontier/CMS_COND_21X_DT'),
100     authenticationMethod = cms.untracked.uint32(0)
101     )
102    
103    
104     unpackers = cms.Sequence(dtunpacker + dttfunpacker)
105 battilan 1.2 reco = cms.Sequence(dt1DRecHits * dt2DSegments * dt4DSegments)
106     globalreco = cms.Sequence(CosmicMuonSeedBarrelOnly * offlineBeamSpot * cosmicMuonsBarrelOnly)
107 cerminar 1.3
108     #######################################################################################
109     # DT DPG DQM modules follow
110    
111     from UserCode.DTDPGAnalysis.DTOfflineAnalyzer_cfi import *
112     from UserCode.DTDPGAnalysis.STAOfflineAnalyzer_cfi import *
113     from UserCode.DTDPGAnalysis.DTEffOfflineAnalyzer_cfi import *
114    
115    
116     from DQMServices.Components.MEtoEDMConverter_cfi import *
117     from DQMServices.Core.DQM_cfg import *
118    
119     from DQM.DTMonitorModule.dtDataIntegrityTask_cfi import *
120    
121     from DQM.DTMonitorModule.dtDigiTask_cfi import *
122     dtDigiMonitor.readDB = True
123     dtDigiMonitor.doNoiseOccupancies = True
124     dtDigiMonitor.doInTimeOccupancies = True
125    
126     from DQM.DTMonitorModule.dtTriggerTask_cfi import *
127     dtTriggerMonitor.process_dcc = True
128     dtTriggerMonitor.dcc_label = 'dttfunpacker'
129     dtTriggerMonitor.process_seg = True
130    
131     from DQM.DTMonitorModule.dtEfficiencyTask_cfi import *
132     from DQM.DTMonitorModule.dtChamberEfficiencyTask_cfi import *
133     from DQM.DTMonitorModule.dtResolutionTask_cfi import *
134    
135     from DQM.DTMonitorModule.dtSegmentTask_cfi import *
136     dtSegmentAnalysisMonitor.detailedAnalysis = True
137    
138    
139     sources = cms.Sequence( dtDigiMonitor + dtTriggerMonitor + dtEfficiencyMonitor + dtChamberEfficiencyMonitor + dtSegmentAnalysisMonitor + dtResolutionAnalysisMonitor)
140    
141     analysis = cms.Sequence(DTOfflineAnalyzer + DTEffOfflineAnalyzer + STAOfflineAnalyzer)
142