CMS 3D CMS Logo

ALCARECOPPSTimingCalib_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoPPS.Configuration.recoCTPPS_cff import ctppsDiamondRecHits as _ctppsDiamondRecHits
4 from CalibPPS.TimingCalibration.ppsTimingCalibrationPCLWorker_cfi import ppsTimingCalibrationPCLWorker
5 
6 MEtoEDMConvertPPSTimingCalib = cms.EDProducer('MEtoEDMConverter',
7  Name = cms.untracked.string('MEtoEDMConverter'),
8  Verbosity = cms.untracked.int32(0),
9  Frequency = cms.untracked.int32(50),
10  MEPathToSave = cms.untracked.string('AlCaReco/PPSTimingCalibrationPCL'),
11  deleteAfterCopy = cms.untracked.bool(True),
12 )
13 
14 # calibrated rechits/tracks
15 ctppsDiamondUncalibRecHits = _ctppsDiamondRecHits.clone(
16  applyCalibration = False
17 )
18 # this task will be updated to include tracking based on the last
19 # calibration values to extract per-channel timing precision estimation
20 recoDiamondUncalibLocalReconstructionTask = cms.Task(
21  ctppsDiamondUncalibRecHits,
22 )
23 
24 taskALCARECOPPSTimingCalib = cms.Task(
25  recoDiamondUncalibLocalReconstructionTask,
26  ppsTimingCalibrationPCLWorker,
27  MEtoEDMConvertPPSTimingCalib
28 )
recoCTPPS_cff