CMS 3D CMS Logo

customTriggerCellSelect.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
3 from L1Trigger.L1THGCal.hgcalConcentratorProducer_cfi import threshold_conc_proc, best_conc_proc, supertc_conc_proc
4 
5 
7  stcSize=supertc_conc_proc.stcSize
8  ):
9  parameters = supertc_conc_proc.clone(stcSize = stcSize)
10  process.hgcalConcentratorProducer.ProcessorParameters = parameters
11  return process
12 
13 
15  threshold_silicon=threshold_conc_proc.triggercell_threshold_silicon, # in mipT
16  threshold_scintillator=threshold_conc_proc.triggercell_threshold_scintillator # in mipT
17  ):
18  parameters = threshold_conc_proc.clone(
19  triggercell_threshold_silicon = threshold_silicon,
20  triggercell_threshold_scintillator = threshold_scintillator
21  )
22  process.hgcalConcentratorProducer.ProcessorParameters = parameters
23  return process
24 
25 
27  triggercells=best_conc_proc.NData
28  ):
29  parameters = best_conc_proc.clone(NData = triggercells)
30  process.hgcalConcentratorProducer.ProcessorParameters = parameters
31  return process
def custom_triggercellselect_threshold(process, threshold_silicon=threshold_conc_proc.triggercell_threshold_silicon, threshold_scintillator=threshold_conc_proc.triggercell_threshold_scintillator#in mipT)
def custom_triggercellselect_supertriggercell(process, stcSize=supertc_conc_proc.stcSize)
def custom_triggercellselect_bestchoice(process, triggercells=best_conc_proc.NData)