Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-08-04 22:45:26

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoPPS.Local.totemRPLocalReconstruction_cff import *
0004 from RecoPPS.Local.ctppsDiamondLocalReconstruction_cff import *
0005 from RecoPPS.Local.totemTimingLocalReconstruction_cff import *
0006 from RecoPPS.Local.ctppsPixelLocalReconstruction_cff import *
0007 
0008 from RecoPPS.Local.ctppsLocalTrackLiteProducer_cff import ctppsLocalTrackLiteProducer
0009 
0010 from RecoPPS.ProtonReconstruction.ctppsProtons_cff import *
0011 
0012 from Geometry.VeryForwardGeometry.geometryRPFromDB_cfi import *
0013 from CalibPPS.ESProducers.ppsTopology_cff import *
0014 
0015 recoCTPPSTask = cms.Task(
0016     totemRPLocalReconstructionTask ,
0017     ctppsDiamondLocalReconstructionTask ,
0018     diamondSampicLocalReconstructionTask ,
0019     ctppsPixelLocalReconstructionTask ,
0020     ctppsLocalTrackLiteProducer ,
0021     ctppsProtons
0022 )
0023 
0024 from Configuration.Eras.Modifier_ctpps_2018_cff import ctpps_2018
0025 ctpps_2018.toReplaceWith(
0026     recoCTPPSTask,
0027     cms.Task(
0028         totemRPLocalReconstructionTask ,
0029         ctppsDiamondLocalReconstructionTask ,
0030         totemTimingLocalReconstructionTask ,
0031         ctppsPixelLocalReconstructionTask ,
0032         ctppsLocalTrackLiteProducer ,
0033         ctppsProtons
0034     )
0035 )
0036 
0037 recoCTPPS = cms.Sequence(recoCTPPSTask)
0038 
0039 # reconstruction for direct simulation (RecHit-level info)
0040 
0041 totemRPFromRHLocalReconstructionTask = totemRPLocalReconstructionTask.copyAndExclude([totemRPClusterProducer, totemRPRecHitProducer])
0042 ctppsDiamondFromRHLocalReconstructionTask = ctppsDiamondLocalReconstructionTask.copyAndExclude([ctppsDiamondRecHits])
0043 ctppsPixelFromRHLocalReconstructionTask = ctppsPixelLocalReconstructionTask.copyAndExclude([ctppsPixelClusters, ctppsPixelRecHits])
0044 
0045 recoDirectSimPPSTask = cms.Task(
0046     totemRPFromRHLocalReconstructionTask,
0047     ctppsDiamondFromRHLocalReconstructionTask,
0048     ctppsPixelFromRHLocalReconstructionTask,
0049     ctppsLocalTrackLiteProducer,
0050     ctppsProtons
0051 )
0052 
0053 recoDirectSimPPS = cms.Sequence(recoDirectSimPPSTask)