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 layerWeights = layercalibparam.TrgLayer_dEdX_weights
13 thicknessCorrections = recocalibparam.HGCalRecHit.thicknessCorrection
15 ntuple_event = cms.PSet(
16 NtupleName = cms.string(
'HGCalTriggerNtupleEvent')
19 from FastSimulation.Event.ParticleFilter_cfi
import ParticleFilterBlock
20 PartFilterConfig = ParticleFilterBlock.ParticleFilter.copy()
21 PartFilterConfig.protonEMin = cms.double(100000)
22 PartFilterConfig.etaMax = cms.double(3.1)
24 ntuple_gen = cms.PSet(
25 NtupleName = cms.string(
'HGCalTriggerNtupleGen'),
26 GenParticles = cms.InputTag(
'genParticles'),
27 GenPU = cms.InputTag(
'addPileupInfo'),
28 MCEvent = cms.InputTag(
'generatorSmeared'),
29 SimTracks = cms.InputTag(
'g4SimHits'),
30 SimVertices = cms.InputTag(
'g4SimHits'),
31 particleFilter = PartFilterConfig
34 ntuple_gentau = cms.PSet(
35 NtupleName = cms.string(
'HGCalTriggerNtupleGenTau'),
36 GenParticles = cms.InputTag(
'genParticles'),
37 isPythia8 = cms.bool(
False)
40 ntuple_genjet = cms.PSet(
41 NtupleName = cms.string(
'HGCalTriggerNtupleGenJet'),
42 GenJets = cms.InputTag(
'ak4GenJetsNoNu')
45 ntuple_digis = cms.PSet(
46 NtupleName = cms.string(
'HGCalTriggerNtupleHGCDigis'),
47 HGCDigisEE = cms.InputTag(
'simHGCalUnsuppressedDigis:EE'),
48 HGCDigisFH = cms.InputTag(
'simHGCalUnsuppressedDigis:HEfront'),
49 HGCDigisBH = cms.InputTag(
'simHGCalUnsuppressedDigis:HEback'),
50 eeSimHits = cms.InputTag(
'g4SimHits:HGCHitsEE'),
51 fhSimHits = cms.InputTag(
'g4SimHits:HGCHitsHEfront'),
52 bhSimHits = cms.InputTag(
'g4SimHits:HGCHitsHEback'),
53 isSimhitComp = cms.bool(
False),
54 digiBXselect = cms.vuint32(2)
57 ntuple_triggercells = cms.PSet(
58 NtupleName = cms.string(
'HGCalTriggerNtupleHGCTriggerCells'),
59 TriggerCells = cms.InputTag(
'l1tHGCalConcentratorProducer:HGCalConcentratorProcessorSelection'),
60 Multiclusters = cms.InputTag(
'l1tHGCalBackEndLayer2Producer:HGCalBackendLayer2Processor3DClustering'),
61 eeSimHits = cms.InputTag(
'g4SimHits:HGCHitsEE'),
62 fhSimHits = cms.InputTag(
'g4SimHits:HGCHitsHEfront'),
63 bhSimHits = cms.InputTag(
'g4SimHits:HGCHitsHEback'),
64 FillSimEnergy = cms.bool(
False),
65 FillTruthMap = cms.bool(
False),
68 layerWeights = layerWeights,
69 thicknessCorrections = thicknessCorrections,
70 FilterCellsInMulticlusters = cms.bool(
False)
73 ntuple_triggersums = cms.PSet(
74 NtupleName = cms.string(
'HGCalTriggerNtupleHGCTriggerSums'),
75 TriggerSums = cms.InputTag(
'l1tHGCalConcentratorProducer:HGCalConcentratorProcessorSelection'),
78 ntuple_econdata = cms.PSet(
79 NtupleName = cms.string(
'HGCalTriggerNtupleHGCConcentratorData'),
80 ConcentratorData = cms.InputTag(
'l1tHGCalConcentratorProducer:HGCalConcentratorProcessorSelection'),
83 ntuple_clusters = cms.PSet(
84 NtupleName = cms.string(
'HGCalTriggerNtupleHGCClusters'),
85 Clusters = cms.InputTag(
'l1tHGCalBackEndLayer1Producer:HGCalBackendLayer1Processor2DClustering'),
86 Multiclusters = cms.InputTag(
'l1tHGCalBackEndLayer2Producer:HGCalBackendLayer2Processor3DClustering'),
87 FilterClustersInMulticlusters = cms.bool(
False)
91 ntuple_multiclusters = cms.PSet(
92 NtupleName = cms.string(
'HGCalTriggerNtupleHGCMulticlusters'),
93 Multiclusters = cms.InputTag(
'l1tHGCalBackEndLayer2Producer:HGCalBackendLayer2Processor3DClustering'),
94 EGIdentification = egamma_identification_histomax.clone(),
95 FillLayerInfo = cms.bool(
False),
96 FillInterpretationInfo = cms.bool(
True)
99 ntuple_towers = cms.PSet(
100 NtupleName = cms.string(
'HGCalTriggerNtupleHGCTowers'),
101 Towers = cms.InputTag(
'l1tHGCalTowerProducer:HGCalTowerProcessor')
104 l1tHGCalTriggerNtuplizer = cms.EDAnalyzer(
105 "HGCalTriggerNtupleManager",
114 ntuple_multiclusters,