CMS 3D CMS Logo

dtVDriftMeanTimerCalibration_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from CalibMuon.DTCalibration.dtSegmentSelection_cfi import dtSegmentSelection
4 
5 dtVDriftMeanTimerCalibration = cms.EDAnalyzer("DTVDriftCalibration",
6  # Segment selection
7  dtSegmentSelection,
8  recHits4DLabel = cms.InputTag('dt4DSegments'),
9  rootFileName = cms.untracked.string('DTTMaxHistos.root'),
10  debug = cms.untracked.bool(False),
11  # Choose the chamber you want to calibrate (default = "All"), specify the chosen chamber
12  # in the format "wheel station sector" (i.e. "-1 3 10")
13  calibChamber = cms.untracked.string('All'),
14  # Chosen granularity (N.B. bySL is the only one implemented at the moment)
15  tMaxGranularity = cms.untracked.string('bySL'),
16  # The module to be used for ttrig synchronization and its set parameter
17  tTrigMode = cms.string('DTTTrigSyncFromDB'),
18  tTrigModeConfig = cms.PSet(
19  # The velocity of signal propagation along the wire (cm/ns)
20  vPropWire = cms.double(24.4),
21  # Switch on/off the TOF correction for particles
22  doTOFCorrection = cms.bool(True),
23  tofCorrType = cms.int32(0),
24  wirePropCorrType = cms.int32(0),
25  # Switch on/off the correction for the signal propagation along the wire
26  doWirePropCorrection = cms.bool(True),
27  # Switch on/off the TO correction from pulses
28  doT0Correction = cms.bool(True),
29  debug = cms.untracked.bool(False),
30  tTrigLabel = cms.string('')
31  ),
32  # Choose to calculate vDrift and t0 or just fill the TMax histograms
33  findVDriftAndT0 = cms.untracked.bool(False),
34  # Parameter set for DTCalibrationMap constructor
35  calibFileConfig = cms.untracked.PSet(
36  nFields = cms.untracked.int32(6),
37  calibConstGranularity = cms.untracked.string('bySL'),
38  calibConstFileName = cms.untracked.string('vDriftAndReso.txt')
39  ),
40  # Name of the txt file which will contain the calibrated v_drift
41  vDriftFileName = cms.untracked.string('vDriftFromMtime.txt')
42 )