CMS 3D CMS Logo

Functions
customTriggerCellSelect Namespace Reference

Functions

def custom_coarsetc_equalshare (process, stcSize=coarsetc_equalshare_proc.stcSize, fixedDataSizePerHGCROC=coarsetc_equalshare_proc.fixedDataSizePerHGCROC)
 
def custom_coarsetc_onebitfraction (process, stcSize=coarsetc_onebitfraction_proc.stcSize, fixedDataSizePerHGCROC=coarsetc_onebitfraction_proc.fixedDataSizePerHGCROC, oneBitFractionThreshold=coarsetc_onebitfraction_proc.oneBitFractionThreshold, oneBitFractionLowValue=coarsetc_onebitfraction_proc.oneBitFractionLowValue, oneBitFractionHighValue=coarsetc_onebitfraction_proc.oneBitFractionHighValue)
 
def custom_triggercellselect_autoencoder (process, cellRemap=autoEncoder_conc_proc.cellRemap, nBitsPerInput=autoEncoder_conc_proc.nBitsPerInput, maxBitsPerOutput=autoEncoder_conc_proc.maxBitsPerOutput, bitsPerLink=autoEncoder_conc_proc.bitsPerLink, modelFiles=autoEncoder_conc_proc.modelFiles, linkToGraphMap=autoEncoder_conc_proc.linkToGraphMap, zeroSuppresionThreshold=autoEncoder_conc_proc.zeroSuppresionThreshold, saveEncodedValues=autoEncoder_conc_proc.saveEncodedValues, preserveModuleSum=autoEncoder_conc_proc.preserveModuleSum, scintillatorMethod='thresholdSelect')
 
def custom_triggercellselect_bestchoice (process, triggercells=best_conc_proc.NData)
 
def custom_triggercellselect_bestchoice_decentralized (process)
 
def custom_triggercellselect_mixedBestChoiceSuperTriggerCell (process, stcSize=custom_conc_proc.stcSize, type_energy_division=custom_conc_proc.type_energy_division, fixedDataSizePerHGCROC=custom_conc_proc.fixedDataSizePerHGCROC, triggercells=custom_conc_proc.NData)
 
def custom_triggercellselect_mixedBestChoiceSuperTriggerCell_decentralized (process)
 
def custom_triggercellselect_supertriggercell (process, stcSize=supertc_conc_proc.stcSize, type_energy_division=supertc_conc_proc.type_energy_division, fixedDataSizePerHGCROC=supertc_conc_proc.fixedDataSizePerHGCROC)
 
def custom_triggercellselect_threshold (process, threshold_silicon=threshold_conc_proc.threshold_silicon, threshold_scintillator=threshold_conc_proc.threshold_scintillator, coarsenTriggerCells=threshold_conc_proc.coarsenTriggerCells)
 

Function Documentation

◆ custom_coarsetc_equalshare()

def customTriggerCellSelect.custom_coarsetc_equalshare (   process,
  stcSize = coarsetc_equalshare_proc.stcSize,
  fixedDataSizePerHGCROC = coarsetc_equalshare_proc.fixedDataSizePerHGCROC 
)

Definition at line 67 of file customTriggerCellSelect.py.

References custom_triggercellselect_mixedBestChoiceSuperTriggerCell().

Referenced by custom_coarsetc_onebitfraction().

67  ):
68  parameters = coarsetc_equalshare_proc.clone(
69  stcSize = stcSize,
70  fixedDataSizePerHGCROC = fixedDataSizePerHGCROC,
71  )
72  process.l1tHGCalConcentratorProducer.ProcessorParameters = parameters
73  return process
74 

◆ custom_coarsetc_onebitfraction()

def customTriggerCellSelect.custom_coarsetc_onebitfraction (   process,
  stcSize = coarsetc_onebitfraction_proc.stcSize,
  fixedDataSizePerHGCROC = coarsetc_onebitfraction_proc.fixedDataSizePerHGCROC,
  oneBitFractionThreshold = coarsetc_onebitfraction_proc.oneBitFractionThreshold,
  oneBitFractionLowValue = coarsetc_onebitfraction_proc.oneBitFractionLowValue,
  oneBitFractionHighValue = coarsetc_onebitfraction_proc.oneBitFractionHighValue 
)

Definition at line 50 of file customTriggerCellSelect.py.

References custom_coarsetc_equalshare().

Referenced by custom_triggercellselect_bestchoice_decentralized().

50  ):
51  parameters = coarsetc_onebitfraction_proc.clone(
52  stcSize = stcSize,
53  fixedDataSizePerHGCROC = fixedDataSizePerHGCROC,
54  oneBitFractionThreshold = oneBitFractionThreshold,
55  oneBitFractionLowValue = oneBitFractionLowValue,
56  oneBitFractionHighValue = oneBitFractionHighValue,
57  )
58  process.l1tHGCalConcentratorProducer.ProcessorParameters = parameters
59  return process
60 
61 
62 
63 

◆ custom_triggercellselect_autoencoder()

def customTriggerCellSelect.custom_triggercellselect_autoencoder (   process,
  cellRemap = autoEncoder_conc_proc.cellRemap,
  nBitsPerInput = autoEncoder_conc_proc.nBitsPerInput,
  maxBitsPerOutput = autoEncoder_conc_proc.maxBitsPerOutput,
  bitsPerLink = autoEncoder_conc_proc.bitsPerLink,
  modelFiles = autoEncoder_conc_proc.modelFiles,
  linkToGraphMap = autoEncoder_conc_proc.linkToGraphMap,
  zeroSuppresionThreshold = autoEncoder_conc_proc.zeroSuppresionThreshold,
  saveEncodedValues = autoEncoder_conc_proc.saveEncodedValues,
  preserveModuleSum = autoEncoder_conc_proc.preserveModuleSum,
  scintillatorMethod = 'thresholdSelect' 
)

Definition at line 106 of file customTriggerCellSelect.py.

Referenced by custom_triggercellselect_mixedBestChoiceSuperTriggerCell_decentralized().

106  ):
107  parameters = autoEncoder_conc_proc.clone(
108  cellRemap = cellRemap,
109  nBitsPerInput = nBitsPerInput,
110  maxBitsPerOutput = maxBitsPerOutput,
111  bitsPerLink = bitsPerLink,
112  modelFiles = modelFiles,
113  linkToGraphMap = linkToGraphMap,
114  zeroSuppresionThreshold = zeroSuppresionThreshold,
115  saveEncodedValues = saveEncodedValues,
116  preserveModuleSum = preserveModuleSum,
117  Method = cms.vstring(['autoEncoder','autoEncoder', scintillatorMethod]),
118  )
119  process.l1tHGCalConcentratorProducer.ProcessorParameters = parameters
120  return process
121 

◆ custom_triggercellselect_bestchoice()

def customTriggerCellSelect.custom_triggercellselect_bestchoice (   process,
  triggercells = best_conc_proc.NData 
)

Definition at line 34 of file customTriggerCellSelect.py.

Referenced by custom_triggercellselect_bestchoice_decentralized(), and custom_triggercellselect_threshold().

34  ):
35  parameters = best_conc_proc.clone(NData = triggercells)
36  process.l1tHGCalConcentratorProducer.ProcessorParameters = parameters
37  return process
38 
39 

◆ custom_triggercellselect_bestchoice_decentralized()

def customTriggerCellSelect.custom_triggercellselect_bestchoice_decentralized (   process)

Definition at line 40 of file customTriggerCellSelect.py.

References custom_coarsetc_onebitfraction(), and custom_triggercellselect_bestchoice().

41  return custom_triggercellselect_bestchoice(process, triggercells=bestchoice_ndata_decentralized)
42 
43 
def custom_triggercellselect_bestchoice_decentralized(process)
def custom_triggercellselect_bestchoice(process, triggercells=best_conc_proc.NData)

◆ custom_triggercellselect_mixedBestChoiceSuperTriggerCell()

def customTriggerCellSelect.custom_triggercellselect_mixedBestChoiceSuperTriggerCell (   process,
  stcSize = custom_conc_proc.stcSize,
  type_energy_division = custom_conc_proc.type_energy_division,
  fixedDataSizePerHGCROC = custom_conc_proc.fixedDataSizePerHGCROC,
  triggercells = custom_conc_proc.NData 
)

Definition at line 80 of file customTriggerCellSelect.py.

Referenced by custom_coarsetc_equalshare(), and custom_triggercellselect_mixedBestChoiceSuperTriggerCell_decentralized().

80  ):
81  parameters = custom_conc_proc.clone(stcSize = stcSize,
82  type_energy_division = type_energy_division,
83  fixedDataSizePerHGCROC = fixedDataSizePerHGCROC,
84  NData=triggercells,
85  Method = cms.vstring('bestChoiceSelect','superTriggerCellSelect','superTriggerCellSelect'),
86  )
87  process.l1tHGCalConcentratorProducer.ProcessorParameters = parameters
88  return process
89 

◆ custom_triggercellselect_mixedBestChoiceSuperTriggerCell_decentralized()

def customTriggerCellSelect.custom_triggercellselect_mixedBestChoiceSuperTriggerCell_decentralized (   process)

Definition at line 90 of file customTriggerCellSelect.py.

References custom_triggercellselect_autoencoder(), and custom_triggercellselect_mixedBestChoiceSuperTriggerCell().

91  return custom_triggercellselect_mixedBestChoiceSuperTriggerCell(process, triggercells=bestchoice_ndata_decentralized)
92 
93 
94 
def custom_triggercellselect_mixedBestChoiceSuperTriggerCell_decentralized(process)
def custom_triggercellselect_mixedBestChoiceSuperTriggerCell(process, stcSize=custom_conc_proc.stcSize, type_energy_division=custom_conc_proc.type_energy_division, fixedDataSizePerHGCROC=custom_conc_proc.fixedDataSizePerHGCROC, triggercells=custom_conc_proc.NData)

◆ custom_triggercellselect_supertriggercell()

def customTriggerCellSelect.custom_triggercellselect_supertriggercell (   process,
  stcSize = supertc_conc_proc.stcSize,
  type_energy_division = supertc_conc_proc.type_energy_division,
  fixedDataSizePerHGCROC = supertc_conc_proc.fixedDataSizePerHGCROC 
)

Definition at line 9 of file customTriggerCellSelect.py.

References custom_triggercellselect_threshold().

9  ):
10  parameters = supertc_conc_proc.clone(stcSize = stcSize,
11  type_energy_division = type_energy_division,
12  fixedDataSizePerHGCROC = fixedDataSizePerHGCROC
13  )
14  process.l1tHGCalConcentratorProducer.ProcessorParameters = parameters
15  return process
16 
17 

◆ custom_triggercellselect_threshold()

def customTriggerCellSelect.custom_triggercellselect_threshold (   process,
  threshold_silicon = threshold_conc_proc.threshold_silicon,
  threshold_scintillator = threshold_conc_proc.threshold_scintillator,
  coarsenTriggerCells = threshold_conc_proc.coarsenTriggerCells 
)

Definition at line 22 of file customTriggerCellSelect.py.

References custom_triggercellselect_bestchoice().

Referenced by custom_triggercellselect_supertriggercell().

22  ):
23  parameters = threshold_conc_proc.clone(
24  threshold_silicon = threshold_silicon,
25  threshold_scintillator = threshold_scintillator,
26  coarsenTriggerCells = coarsenTriggerCells
27  )
28  process.l1tHGCalConcentratorProducer.ProcessorParameters = parameters
29  return process
30 
31