CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
customTriggerCellSelect Namespace Reference

Functions

def custom_coarsetc_equalshare
 
def custom_coarsetc_onebitfraction
 
def custom_triggercellselect_autoencoder
 
def custom_triggercellselect_bestchoice
 
def custom_triggercellselect_bestchoice_decentralized
 
def custom_triggercellselect_mixedBestChoiceSuperTriggerCell
 
def custom_triggercellselect_mixedBestChoiceSuperTriggerCell_decentralized
 
def custom_triggercellselect_supertriggercell
 
def custom_triggercellselect_threshold
 

Function Documentation

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  ):
69  parameters = coarsetc_equalshare_proc.clone(
70  stcSize = stcSize,
71  fixedDataSizePerHGCROC = fixedDataSizePerHGCROC,
72  )
73  process.hgcalConcentratorProducer.ProcessorParameters = parameters
74  return process
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  ):
52  parameters = coarsetc_onebitfraction_proc.clone(
53  stcSize = stcSize,
54  fixedDataSizePerHGCROC = fixedDataSizePerHGCROC,
55  oneBitFractionThreshold = oneBitFractionThreshold,
56  oneBitFractionLowValue = oneBitFractionLowValue,
57  oneBitFractionHighValue = oneBitFractionHighValue,
58  )
59  process.hgcalConcentratorProducer.ProcessorParameters = parameters
60  return process
61 
62 
63 
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().

107  ):
108  parameters = autoEncoder_conc_proc.clone(
109  cellRemap = cellRemap,
110  nBitsPerInput = nBitsPerInput,
111  maxBitsPerOutput = maxBitsPerOutput,
112  bitsPerLink = bitsPerLink,
113  modelFiles = modelFiles,
114  linkToGraphMap = linkToGraphMap,
115  zeroSuppresionThreshold = zeroSuppresionThreshold,
116  saveEncodedValues = saveEncodedValues,
117  preserveModuleSum = preserveModuleSum,
118  Method = cms.vstring(['autoEncoder','autoEncoder', scintillatorMethod]),
119  )
120  process.hgcalConcentratorProducer.ProcessorParameters = parameters
121  return process
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  ):
36  parameters = best_conc_proc.clone(NData = triggercells)
37  process.hgcalConcentratorProducer.ProcessorParameters = parameters
38  return process
39 
def customTriggerCellSelect.custom_triggercellselect_bestchoice_decentralized (   process)

Definition at line 40 of file customTriggerCellSelect.py.

References custom_coarsetc_onebitfraction(), and custom_triggercellselect_bestchoice().

40 
42  return custom_triggercellselect_bestchoice(process, triggercells=bestchoice_ndata_decentralized)
43 
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  ):
82  parameters = custom_conc_proc.clone(stcSize = stcSize,
83  type_energy_division = type_energy_division,
84  fixedDataSizePerHGCROC = fixedDataSizePerHGCROC,
85  NData=triggercells,
86  Method = cms.vstring('bestChoiceSelect','superTriggerCellSelect','superTriggerCellSelect'),
87  )
88  process.hgcalConcentratorProducer.ProcessorParameters = parameters
89  return process
def customTriggerCellSelect.custom_triggercellselect_mixedBestChoiceSuperTriggerCell_decentralized (   process)

Definition at line 90 of file customTriggerCellSelect.py.

References custom_triggercellselect_autoencoder(), and custom_triggercellselect_mixedBestChoiceSuperTriggerCell().

90 
92  return custom_triggercellselect_mixedBestChoiceSuperTriggerCell(process, triggercells=bestchoice_ndata_decentralized)
93 
94 
def custom_triggercellselect_mixedBestChoiceSuperTriggerCell_decentralized
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  ):
11  parameters = supertc_conc_proc.clone(stcSize = stcSize,
12  type_energy_division = type_energy_division,
13  fixedDataSizePerHGCROC = fixedDataSizePerHGCROC
14  )
15  process.hgcalConcentratorProducer.ProcessorParameters = parameters
16  return process
17 
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  ):
24  parameters = threshold_conc_proc.clone(
25  threshold_silicon = threshold_silicon,
26  threshold_scintillator = threshold_scintillator,
27  coarsenTriggerCells = coarsenTriggerCells
28  )
29  process.hgcalConcentratorProducer.ProcessorParameters = parameters
30  return process
31