1 import FWCore.ParameterSet.Config
as cms
4 ntuples = process.l1tHGCalTriggerNtuplizer.Ntuples
6 if ntuple.NtupleName==
'HGCalTriggerNtupleHGCClusters' or \
7 ntuple.NtupleName==
'HGCalTriggerNtupleHGCTriggerCells' or \
8 ntuple.NtupleName==
'HGCalTriggerNtupleHGCMulticlusters':
9 ntuple.Clusters = cms.InputTag(
'l1tHGCalBackEndLayer1Producer:HGCalBackendLayer1Processor')
13 ntuples = process.l1tHGCalTriggerNtuplizer.Ntuples
14 for ntuple
in ntuples:
15 if ntuple.NtupleName==
'HGCalTriggerNtupleHGCClusters' or \
16 ntuple.NtupleName==
'HGCalTriggerNtupleHGCTriggerCells' or \
17 ntuple.NtupleName==
'HGCalTriggerNtupleHGCMulticlusters':
18 ntuple.Clusters = cms.InputTag(
'l1tHGCalBackEndStage1Producer:HGCalBackendStage1Processor')
19 ntuple.Multiclusters = cms.InputTag(
'l1tHGCalBackEndStage2Producer:HGCalBackendLayer2Processor3DClustering')
23 ntuples = process.l1tHGCalTriggerNtuplizer.Ntuples
24 for ntuple
in ntuples:
25 if ntuple.NtupleName==
'HGCalTriggerNtupleHGCTriggerCells' or \
26 ntuple.NtupleName==
'HGCalTriggerNtupleHGCClusters' or \
27 ntuple.NtupleName==
'HGCalTriggerNtupleHGCMulticlusters':
28 ntuple.Multiclusters = cms.InputTag(
'l1tHGCalBackEndLayer2Producer:HGCalBackendLayer2Processor3DClusteringSA')
33 ntuples = process.l1tHGCalTriggerNtuplizer.Ntuples
34 for ntuple
in ntuples:
35 if ntuple.NtupleName==
'HGCalTriggerNtupleHGCTowers':
36 ntuple.Towers = cms.InputTag(
'l1tHGCalTowerProducer:HGCalTowerProcessorSA')
44 'gen', 'genjet', 'gentau',
47 'clusters', 'multiclusters'
55 pset = getattr(process,
'ntuple_'+ntuple).
clone()
56 if ntuple==
'triggercells':
57 pset.TriggerCells = cms.InputTag(inputs[0])
58 pset.Multiclusters = cms.InputTag(inputs[2])
59 elif ntuple==
'clusters':
60 pset.Clusters = cms.InputTag(inputs[1])
61 pset.Multiclusters = cms.InputTag(inputs[2])
62 elif ntuple==
'multiclusters':
63 pset.Multiclusters = cms.InputTag(inputs[2])
65 ntuplizer = process.l1tHGCalTriggerNtuplizer.clone()
66 ntuplizer.Ntuples = cms.VPSet(vpset)
def custom_ntuples_stage1_truncation(process)
def custom_ntuples_standalone_tower(process)
def __call__(self, process, inputs)
def __init__(self, ntuple_list=['event', gen, genjet, gentau, digis, triggercells, clusters, multiclusters)
def custom_ntuples_layer1_truncation(process)
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
def custom_ntuples_standalone_clustering(process)