CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/CalibMuon/DTCalibration/python/dtVDriftMeanTimerCalibration_cosmics_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from CalibMuon.DTCalibration.dtSegmentSelection_cfi import dtSegmentSelection
00004 
00005 dtVDriftMeanTimerCalibration = cms.EDAnalyzer("DTVDriftCalibration",
00006     # Segment selection
00007     dtSegmentSelection, 
00008     recHits4DLabel = cms.InputTag('dt4DSegments'), 
00009     rootFileName = cms.untracked.string('DTTMaxHistos.root'),
00010     debug = cms.untracked.bool(False),
00011     # Choose the chamber you want to calibrate (default = "All"), specify the chosen chamber
00012     # in the format "wheel station sector" (i.e. "-1 3 10")
00013     calibChamber = cms.untracked.string('All'),
00014     # Chosen granularity (N.B. bySL is the only one implemented at the moment)  
00015     tMaxGranularity = cms.untracked.string('bySL'),
00016     # The module to be used for ttrig synchronization and its set parameter
00017     tTrigMode = cms.string('DTTTrigSyncFromDB'),
00018     tTrigModeConfig = cms.PSet(
00019         # The velocity of signal propagation along the wire (cm/ns)
00020         vPropWire = cms.double(24.4),
00021         # Switch on/off the TOF correction for particles
00022         doTOFCorrection = cms.bool(False),
00023         tofCorrType = cms.int32(0),
00024         wirePropCorrType = cms.int32(0),
00025         # Switch on/off the correction for the signal propagation along the wire
00026         doWirePropCorrection = cms.bool(False),
00027         # Switch on/off the TO correction from pulses
00028         doT0Correction = cms.bool(True),
00029         debug = cms.untracked.bool(False),
00030         tTrigLabel = cms.string('cosmics')
00031     ),
00032     # Choose to calculate vDrift and t0 or just fill the TMax histograms
00033     findVDriftAndT0 = cms.untracked.bool(False),
00034     # Parameter set for DTCalibrationMap constructor
00035     calibFileConfig = cms.untracked.PSet(
00036         nFields = cms.untracked.int32(6),
00037         calibConstGranularity = cms.untracked.string('bySL'),
00038         calibConstFileName = cms.untracked.string('vDriftAndReso.txt')
00039     ),
00040     # Name of the txt file which will contain the calibrated v_drift
00041     vDriftFileName = cms.untracked.string('vDriftFromMtime.txt')
00042 )