Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-12 23:11:15

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from CalibMuon.DTCalibration.dtSegmentSelection_cfi import dtSegmentSelection
0004 
0005 dtVDriftMeanTimerCalibration = cms.EDAnalyzer("DTVDriftCalibration",
0006     # Segment selection
0007     dtSegmentSelection, 
0008     recHits4DLabel = cms.InputTag('dt4DSegments'), 
0009     rootFileName = cms.untracked.string('DTTMaxHistos.root'),
0010     debug = cms.untracked.bool(False),
0011     # Choose the chamber you want to calibrate (default = "All"), specify the chosen chamber
0012     # in the format "wheel station sector" (i.e. "-1 3 10")
0013     calibChamber = cms.untracked.string('All'),
0014     # Chosen granularity (N.B. bySL is the only one implemented at the moment)  
0015     tMaxGranularity = cms.untracked.string('bySL'),
0016     # The module to be used for ttrig synchronization and its set parameter
0017     tTrigMode = cms.string('DTTTrigSyncFromDB'),
0018     tTrigModeConfig = cms.PSet(
0019         # The velocity of signal propagation along the wire (cm/ns)
0020         vPropWire = cms.double(24.4),
0021         # Switch on/off the TOF correction for particles
0022         doTOFCorrection = cms.bool(False),
0023         tofCorrType = cms.int32(0),
0024         wirePropCorrType = cms.int32(0),
0025         # Switch on/off the correction for the signal propagation along the wire
0026         doWirePropCorrection = cms.bool(False),
0027         # Switch on/off the TO correction from pulses
0028         doT0Correction = cms.bool(True),
0029         debug = cms.untracked.bool(False),
0030         tTrigLabel = cms.string('cosmics'),
0031         t0Label = cms.string('')
0032     ),
0033     # Choose to calculate vDrift and t0 or just fill the TMax histograms
0034     findVDriftAndT0 = cms.untracked.bool(False),
0035     # Parameter set for DTCalibrationMap constructor
0036     calibFileConfig = cms.untracked.PSet(
0037         nFields = cms.untracked.int32(6),
0038         calibConstGranularity = cms.untracked.string('bySL'),
0039         calibConstFileName = cms.untracked.string('vDriftAndReso.txt')
0040     ),
0041     # Name of the txt file which will contain the calibrated v_drift
0042     vDriftFileName = cms.untracked.string('vDriftFromMtime.txt'),
0043 
0044     # Use legacy DB format
0045     writeLegacyVDriftDB =cms.bool(True),
0046 )