1 import FWCore.ParameterSet.Config
as cms
3 from RecoHGCal.TICL.ticlDumper_cff
import ticlDumper
5 from SimCalorimetry.HGCalAssociatorProducers.TSToSimTSAssociation_cfi
import tracksterSimTracksterAssociationLinkingbyCLUE3D
as _tracksterSimTracksterAssociationLinkingbyCLUE3D
6 from SimCalorimetry.HGCalAssociatorProducers.TSToSimTSAssociation_cfi
import tracksterSimTracksterAssociationPRbyCLUE3D
as _tracksterSimTracksterAssociationPRbyCLUE3D
10 process.TFESSource = cms.Task(process.trackdnn_source)
13 process.hgcalLayerClustersTask = cms.Task(process.hgcalLayerClustersEE,
14 process.hgcalLayerClustersHSi,
15 process.hgcalLayerClustersHSci,
16 process.hgcalMergeLayerClusters)
18 process.ticlIterationsTask = cms.Task(
19 process.ticlCLUE3DHighStepTask,
20 process.ticlTracksterLinksTask,
21 process.ticlPassthroughStepTask
24 process.mergeTICLTask = cms.Task()
26 process.iterTICLTask = cms.Path(process.hgcalLayerClustersTask,
28 process.ticlLayerTileTask,
30 process.mergeTICLTask,
31 process.ticlIterationsTask,
32 process.ticlCandidateTask,
35 process.tracksterSimTracksterAssociationLinkingbyCLUE3DHigh = _tracksterSimTracksterAssociationLinkingbyCLUE3D.clone(
36 label_tst = cms.InputTag(
"ticlTrackstersCLUE3DHigh")
38 process.tracksterSimTracksterAssociationPRbyCLUE3DHigh = _tracksterSimTracksterAssociationPRbyCLUE3D.clone(
39 label_tst = cms.InputTag(
"ticlTrackstersCLUE3DHigh")
42 '''for future CLUE3D separate iterations, merge collections and compute scores 43 process.tracksterSimTracksterAssociationLinkingbyCLUE3DEM = _tracksterSimTracksterAssociationLinkingbyCLUE3D.clone( 44 label_tst = cms.InputTag("ticlTrackstersCLUE3DEM") 46 process.tracksterSimTracksterAssociationPRbyCLUE3DEM = _tracksterSimTracksterAssociationPRbyCLUE3D.clone( 47 label_tst = cms.InputTag("ticlTrackstersCLUE3DEM") 49 process.tracksterSimTracksterAssociationLinkingbyCLUE3DHAD = _tracksterSimTracksterAssociationLinkingbyCLUE3D.clone( 50 label_tst = cms.InputTag("ticlTrackstersCLUE3DHAD") 52 process.tracksterSimTracksterAssociationPRbyCLUE3DHAD = _tracksterSimTracksterAssociationPRbyCLUE3D.clone( 53 label_tst = cms.InputTag("ticlTrackstersCLUE3DHAD") 56 process.mergedTrackstersProducer = _mergedTrackstersProducer.clone() 57 process.tracksterSimTracksterAssociationLinkingbyCLUE3D = _tracksterSimTracksterAssociationLinkingbyCLUE3D.clone( 58 label_tst = cms.InputTag("mergedTrackstersProducer") 60 process.tracksterSimTracksterAssociationPRbyCLUE3D = _tracksterSimTracksterAssociationPRbyCLUE3D.clone( 61 label_tst = cms.InputTag("mergedTrackstersProducer") 65 process.hgcalAssociators = cms.Task(process.recHitMapProducer, process.lcAssocByEnergyScoreProducer, process.layerClusterCaloParticleAssociationProducer,
66 process.scAssocByEnergyScoreProducer, process.layerClusterSimClusterAssociationProducer,
67 process.lcSimTSAssocByEnergyScoreProducer, process.layerClusterSimTracksterAssociationProducer,
68 process.simTsAssocByEnergyScoreProducer, process.simTracksterHitLCAssociatorByEnergyScoreProducer,
69 process.tracksterSimTracksterAssociationLinking, process.tracksterSimTracksterAssociationPR,
70 process.tracksterSimTracksterAssociationLinkingbyCLUE3DHigh, process.tracksterSimTracksterAssociationPRbyCLUE3DHigh,
71 process.tracksterSimTracksterAssociationLinkingPU, process.tracksterSimTracksterAssociationPRPU
74 '''for future CLUE3D separate iterations, merge collections and compute scores 75 process.tracksterSimTracksterAssociationLinkingbyCLUE3D, process.tracksterSimTracksterAssociationPRbyCLUE3D, 76 process.tracksterSimTracksterAssociationLinkingbyCLUE3DEM, process.tracksterSimTracksterAssociationPRbyCLUE3DEM, 77 process.tracksterSimTracksterAssociationLinkingbyCLUE3DHAD, process.tracksterSimTracksterAssociationPRbyCLUE3DHAD, 81 process.ticlDumper = ticlDumper
82 process.TFileService = cms.Service(
"TFileService",
83 fileName=cms.string(
"histo.root")
86 process.FEVTDEBUGHLToutput_step = cms.EndPath(process.ticlDumper)
88 process.TICL_Validator = cms.Task(process.hgcalValidator)
89 process.TICL_Validation = cms.Path(process.ticlSimTrackstersTask, process.hgcalAssociators, process.TICL_Validator)
92 process.schedule = cms.Schedule(process.iterTICLTask,
93 process.TICL_Validation,
94 process.FEVTDEBUGHLToutput_step)
def customiseForTICLv5EventContent(process)
def customiseTICLv5FromReco(process, enableDumper=False)
if(threadIdxLocalY==0 &&threadIdxLocalX==0)