1 import FWCore.ParameterSet.Config
as cms
4 ntuples = process.hgcalTriggerNtuplizer.Ntuples
6 if ntuple.NtupleName==
'HGCalTriggerNtupleHGCDigis' or \
7 ntuple.NtupleName==
'HGCalTriggerNtupleHGCTriggerCells':
8 ntuple.bhSimHits = cms.InputTag(
'g4SimHits:HGCHitsHEback')
16 'gen', 'genjet', 'gentau',
19 'clusters', 'multiclusters'
23 for ntuple
in ntuple_list:
24 pset = getattr(process,
'ntuple_'+ntuple).
clone()
25 if ntuple==
'triggercells':
26 pset.TriggerCells = cms.InputTag(inputs[0])
27 pset.Multiclusters = cms.InputTag(inputs[2])
28 elif ntuple==
'clusters':
29 pset.Clusters = cms.InputTag(inputs[1])
30 pset.Multiclusters = cms.InputTag(inputs[2])
31 elif ntuple==
'multiclusters':
32 pset.Multiclusters = cms.InputTag(inputs[2])
34 ntuplizer = process.hgcalTriggerNtuplizer.clone()
35 ntuplizer.Ntuples = cms.VPSet(vpset)