CMS 3D CMS Logo

Functions
customiseTICLFromReco Namespace Reference

Functions

def customiseTICLForDumper (process)
 
def customiseTICLFromReco (process)
 

Function Documentation

◆ customiseTICLForDumper()

def customiseTICLFromReco.customiseTICLForDumper (   process)

Definition at line 69 of file customiseTICLFromReco.py.

69 def customiseTICLForDumper(process):
70 
71  process.ticlDumper = ticlDumper.clone(
72  saveLCs=True,
73  saveCLUE3DTracksters=True,
74  saveTrackstersMerged=True,
75  saveSimTrackstersSC=True,
76  saveSimTrackstersCP=True,
77  saveTICLCandidate=True,
78  saveSimTICLCandidate=True,
79  saveTracks=True,
80  saveAssociations=True,
81  )
82 
83  from Configuration.ProcessModifiers.ticl_v5_cff import ticl_v5
84  ticl_v5.toModify(process.ticlDumper,
85  # trackstersclue3d = cms.InputTag('mergedTrackstersProducer'), # For future separate iterations
86  trackstersclue3d = cms.InputTag('ticlTrackstersCLUE3DHigh'),
87  ticlcandidates = cms.InputTag("ticlCandidate"),
88  trackstersmerged = cms.InputTag("ticlCandidate"),
89  trackstersInCand = cms.InputTag("ticlCandidate"))
90 
91  process.TFileService = cms.Service("TFileService",
92  fileName=cms.string("histo.root")
93  )
94  process.FEVTDEBUGHLToutput_step = cms.EndPath(
95  process.FEVTDEBUGHLToutput + process.ticlDumper)
96  return process
97 

◆ customiseTICLFromReco()

def customiseTICLFromReco.customiseTICLFromReco (   process)

Definition at line 19 of file customiseTICLFromReco.py.

References RecoHGCal_EventContent_cff.customiseHGCalOnlyEventContent().

19 def customiseTICLFromReco(process):
20  # TensorFlow ESSource
21  process.TFESSource = cms.Task(process.trackdnn_source)
22 
23  process.hgcalLayerClustersTask = cms.Task(process.hgcalLayerClustersEE,
24  process.hgcalLayerClustersHSi,
25  process.hgcalLayerClustersHSci,
26  process.hgcalMergeLayerClusters)
27 
28 # Reconstruction
29  process.TICL = cms.Path(process.hgcalLayerClustersTask,
30  process.TFESSource,
31  process.ticlLayerTileTask,
32  process.ticlIterationsTask,
33  process.ticlTracksterMergeTask)
34 # Validation
35  process.TICL_ValidationProducers = cms.Task(process.recHitMapProducer,
36  process.lcAssocByEnergyScoreProducer,
37  process.layerClusterCaloParticleAssociationProducer,
38  process.scAssocByEnergyScoreProducer,
39  process.layerClusterSimClusterAssociationProducer,
40  process.simTsAssocByEnergyScoreProducer,
41  process.simTracksterHitLCAssociatorByEnergyScoreProducer,
42  process.tracksterSimTracksterAssociationLinking,
43  process.tracksterSimTracksterAssociationPR,
44  process.tracksterSimTracksterAssociationLinkingbyCLUE3D,
45  process.tracksterSimTracksterAssociationPRbyCLUE3D,
46  process.tracksterSimTracksterAssociationLinkingPU,
47  process.tracksterSimTracksterAssociationPRPU
48  )
49 
50  process.TICL_Validator = cms.Task(process.hgcalValidator)
51  process.TICL_Validation = cms.Path(process.TICL_ValidationProducers,
52  process.TICL_Validator
53  )
54 # Path and EndPath definitions
55  process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)
56  process.DQMoutput_step = cms.EndPath(process.DQMoutput)
57 
58 # Schedule definition
59  process.schedule = cms.Schedule(process.TICL,
60  process.TICL_Validation,
61  process.FEVTDEBUGHLToutput_step,
62  process.DQMoutput_step)
63 # call to customisation function customiseHGCalOnlyEventContent imported from RecoHGCal.Configuration.RecoHGCal_EventContent_cff
64  process = customiseHGCalOnlyEventContent(process)
65 
66  return process
67 
68