1 import FWCore.ParameterSet.Config
as cms
3 from L1Trigger.L1THGCalUtilities.caloTruthCellsProducer_cfi
import caloTruthCellsProducer
6 ntuple_multiclusters_fulltruth = ntuple_multiclusters.clone(
7 Multiclusters = cms.InputTag(
'caloTruthCellsProducer'),
8 Prefix = cms.untracked.string(
'cl3dfulltruth')
10 hgcalTriggerNtuplizer.Ntuples.append(ntuple_multiclusters_fulltruth)
14 if caloTruthCellsProducer.makeCellsCollection:
17 ntuple_triggercells.caloParticlesToCells = cms.InputTag(
'caloTruthCellsProducer')
18 ntuple_triggercells.FillTruthMap = cms.bool(
True)
20 ntuple_triggercells_truth = ntuple_triggercells.clone(
21 TriggerCells = cms.InputTag(
'caloTruthCellsProducer'),
22 Multiclusters = cms.InputTag(
'hgcalTruthBackEndLayer2Producer:HGCalBackendLayer2Processor3DClustering'),
23 Prefix = cms.untracked.string(
'tctruth'),
24 FillTruthMap = cms.bool(
False)
27 ntuple_clusters_truth = ntuple_clusters.clone(
28 Clusters = cms.InputTag(
'hgcalTruthBackEndLayer1Producer:HGCalBackendLayer1Processor2DClustering'),
29 Prefix = cms.untracked.string(
'cltruth')
32 ntuple_multiclusters_truth = ntuple_multiclusters.clone(
33 Multiclusters = cms.InputTag(
'hgcalTruthBackEndLayer2Producer:HGCalBackendLayer2Processor3DClustering'),
34 Prefix = cms.untracked.string(
'cl3dtruth')
37 ntuple_towers_truth = ntuple_towers.clone(
38 Towers = cms.InputTag(
'hgcalTruthTowerProducer:HGCalTowerProcessor'),
39 Prefix = cms.untracked.string(
'towertruth')
42 hgcalTriggerNtuplizer.Ntuples.append(ntuple_triggercells_truth)
43 hgcalTriggerNtuplizer.Ntuples.append(ntuple_multiclusters_truth)
44 hgcalTriggerNtuplizer.Ntuples.append(ntuple_towers_truth)