1 from __future__
import absolute_import
2 import FWCore.ParameterSet.Config
as cms
7 import L1Trigger.L1THGCal.hgcalLayersCalibrationCoefficients_cfi
as layercalibparam
10 fcPerMip = recoparam.HGCalUncalibRecHit.HGCEEConfig.fCPerMIP
11 keV2fC = digiparam.hgceeDigitizer.digiCfg.keV2fC
12 thicknessCorrections = recocalibparam.HGCalRecHit.thicknessCorrection
14 ntuple_event = cms.PSet(
15 NtupleName = cms.string(
'HGCalTriggerNtupleEvent')
18 from FastSimulation.Event.ParticleFilter_cfi
import ParticleFilterBlock
19 PartFilterConfig = ParticleFilterBlock.ParticleFilter.copy()
20 PartFilterConfig.protonEMin = cms.double(100000)
21 PartFilterConfig.etaMax = cms.double(3.1)
23 ntuple_gen = cms.PSet(
24 NtupleName = cms.string(
'HGCalTriggerNtupleGen'),
25 GenParticles = cms.InputTag(
'genParticles'),
26 GenPU = cms.InputTag(
'addPileupInfo'),
27 MCEvent = cms.InputTag(
'generatorSmeared'),
28 SimTracks = cms.InputTag(
'g4SimHits'),
29 SimVertices = cms.InputTag(
'g4SimHits'),
30 particleFilter = PartFilterConfig
33 ntuple_gentau = cms.PSet(
34 NtupleName = cms.string(
'HGCalTriggerNtupleGenTau'),
35 GenParticles = cms.InputTag(
'genParticles'),
36 isPythia8 = cms.bool(
False)
39 ntuple_genjet = cms.PSet(
40 NtupleName = cms.string(
'HGCalTriggerNtupleGenJet'),
41 GenJets = cms.InputTag(
'ak4GenJetsNoNu')
44 ntuple_digis = cms.PSet(
45 NtupleName = cms.string(
'HGCalTriggerNtupleHGCDigis'),
46 HGCDigisEE = cms.InputTag(
'simHGCalUnsuppressedDigis:EE'),
47 HGCDigisFH = cms.InputTag(
'simHGCalUnsuppressedDigis:HEfront'),
48 HGCDigisBH = cms.InputTag(
'simHGCalUnsuppressedDigis:HEback'),
49 eeSimHits = cms.InputTag(
'g4SimHits:HGCHitsEE'),
50 fhSimHits = cms.InputTag(
'g4SimHits:HGCHitsHEfront'),
51 bhSimHits = cms.InputTag(
'g4SimHits:HGCHitsHEback'),
52 isSimhitComp = cms.bool(
False),
53 digiBXselect = cms.vuint32(2)
56 ntuple_triggercells = cms.PSet(
57 NtupleName = cms.string(
'HGCalTriggerNtupleHGCTriggerCells'),
58 TriggerCells = cms.InputTag(
'l1tHGCalConcentratorProducer:HGCalConcentratorProcessorSelection'),
59 Multiclusters = cms.InputTag(
'l1tHGCalBackEndLayer2Producer:HGCalBackendLayer2Processor3DClustering'),
60 eeSimHits = cms.InputTag(
'g4SimHits:HGCHitsEE'),
61 fhSimHits = cms.InputTag(
'g4SimHits:HGCHitsHEfront'),
62 bhSimHits = cms.InputTag(
'g4SimHits:HGCHitsHEback'),
63 FillSimEnergy = cms.bool(
False),
64 FillTruthMap = cms.bool(
False),
67 layerWeights = layercalibparam.triggerWeights.weights,
68 thicknessCorrections = thicknessCorrections,
69 FilterCellsInMulticlusters = cms.bool(
False)
72 ntuple_triggersums = cms.PSet(
73 NtupleName = cms.string(
'HGCalTriggerNtupleHGCTriggerSums'),
74 TriggerSums = cms.InputTag(
'l1tHGCalConcentratorProducer:HGCalConcentratorProcessorSelection'),
77 ntuple_econdata = cms.PSet(
78 NtupleName = cms.string(
'HGCalTriggerNtupleHGCConcentratorData'),
79 ConcentratorData = cms.InputTag(
'l1tHGCalConcentratorProducer:HGCalConcentratorProcessorSelection'),
82 ntuple_clusters = cms.PSet(
83 NtupleName = cms.string(
'HGCalTriggerNtupleHGCClusters'),
84 Clusters = cms.InputTag(
'l1tHGCalBackEndLayer1Producer:HGCalBackendLayer1Processor2DClustering'),
85 Multiclusters = cms.InputTag(
'l1tHGCalBackEndLayer2Producer:HGCalBackendLayer2Processor3DClustering'),
86 FilterClustersInMulticlusters = cms.bool(
False)
90 ntuple_multiclusters = cms.PSet(
91 NtupleName = cms.string(
'HGCalTriggerNtupleHGCMulticlusters'),
92 Multiclusters = cms.InputTag(
'l1tHGCalBackEndLayer2Producer:HGCalBackendLayer2Processor3DClustering'),
93 EGIdentification = egamma_identification_histomax.clone(),
94 FillLayerInfo = cms.bool(
False),
95 FillInterpretationInfo = cms.bool(
True)
98 ntuple_towers = cms.PSet(
99 NtupleName = cms.string(
'HGCalTriggerNtupleHGCTowers'),
100 Towers = cms.InputTag(
'l1tHGCalTowerProducer:HGCalTowerProcessor')
103 l1tHGCalTriggerNtuplizer = cms.EDAnalyzer(
104 "HGCalTriggerNtupleManager",
113 ntuple_multiclusters,