CMS 3D CMS Logo

recoCTPPS_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
7 
8 from RecoPPS.Local.ctppsLocalTrackLiteProducer_cff import ctppsLocalTrackLiteProducer
9 
11 
14 
15 recoCTPPSTask = cms.Task(
16  totemRPLocalReconstructionTask ,
17  ctppsDiamondLocalReconstructionTask ,
18  diamondSampicLocalReconstructionTask ,
19  ctppsPixelLocalReconstructionTask ,
20  ctppsLocalTrackLiteProducer ,
21  ctppsProtons
22 )
23 
24 from Configuration.Eras.Modifier_ctpps_2018_cff import ctpps_2018
25 ctpps_2018.toReplaceWith(
26  recoCTPPSTask,
27  cms.Task(
28  totemRPLocalReconstructionTask ,
29  ctppsDiamondLocalReconstructionTask ,
30  totemTimingLocalReconstructionTask ,
31  ctppsPixelLocalReconstructionTask ,
32  ctppsLocalTrackLiteProducer ,
33  ctppsProtons
34  )
35 )
36 
37 recoCTPPS = cms.Sequence(recoCTPPSTask)
38 
39 # reconstruction for direct simulation (RecHit-level info)
40 
41 totemRPFromRHLocalReconstructionTask = totemRPLocalReconstructionTask.copyAndExclude([totemRPClusterProducer, totemRPRecHitProducer])
42 ctppsDiamondFromRHLocalReconstructionTask = ctppsDiamondLocalReconstructionTask.copyAndExclude([ctppsDiamondRecHits])
43 ctppsPixelFromRHLocalReconstructionTask = ctppsPixelLocalReconstructionTask.copyAndExclude([ctppsPixelClusters, ctppsPixelRecHits])
44 
45 recoDirectSimPPSTask = cms.Task(
46  totemRPFromRHLocalReconstructionTask,
47  ctppsDiamondFromRHLocalReconstructionTask,
48  ctppsPixelFromRHLocalReconstructionTask,
49  ctppsLocalTrackLiteProducer,
50  ctppsProtons
51 )
52 
53 recoDirectSimPPS = cms.Sequence(recoDirectSimPPSTask)