CMS 3D CMS Logo

Functions
customiseTICLFromReco Namespace Reference

Functions

def customiseTICLFromReco (process)
 

Function Documentation

◆ customiseTICLFromReco()

def customiseTICLFromReco.customiseTICLFromReco (   process)

Definition at line 16 of file customiseTICLFromReco.py.

References RecoHGCal_EventContent_cff.customiseHGCalOnlyEventContent().

16 def customiseTICLFromReco(process):
17 # TensorFlow ESSource
18  process.TFESSource = cms.Task(process.trackdnn_source)
19 
20  process.hgcalLayerClustersTask = cms.Task(process.hgcalLayerClustersEE,
21  process.hgcalLayerClustersHSi,
22  process.hgcalLayerClustersHSci,
23  process.hgcalMergeLayerClusters)
24 
25 # Reconstruction
26  process.TICL = cms.Path(process.hgcalLayerClustersTask,
27  process.TFESSource,
28  process.ticlLayerTileTask,
29  process.ticlIterationsTask,
30  process.ticlTracksterMergeTask)
31 # Validation
32  process.TICL_ValidationProducers = cms.Task(process.hgcalRecHitMapProducer,
33  process.lcAssocByEnergyScoreProducer,
34  process.layerClusterCaloParticleAssociationProducer,
35  process.scAssocByEnergyScoreProducer,
36  process.layerClusterSimClusterAssociationProducer,
37  )
38  process.TICL_Validator = cms.Task(process.hgcalValidator)
39  process.TICL_Validation = cms.Path(process.TICL_ValidationProducers,
40  process.TICL_Validator
41  )
42 # Path and EndPath definitions
43  process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)
44  process.DQMoutput_step = cms.EndPath(process.DQMoutput)
45 
46 # Schedule definition
47  process.schedule = cms.Schedule(process.TICL,
48  process.TICL_Validation,
49  process.FEVTDEBUGHLToutput_step,
50  process.DQMoutput_step)
51 #call to customisation function customiseHGCalOnlyEventContent imported from RecoHGCal.Configuration.RecoHGCal_EventContent_cff
52  process = customiseHGCalOnlyEventContent(process)
53 
54  return process
55