CMS 3D CMS Logo

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

Functions

def create_autoencoder
 
def create_bestchoice
 
def create_custom
 
def create_mixedfeoptions
 
def create_onebitfraction
 
def create_supertriggercell
 
def create_threshold
 

Function Documentation

def concentrator.create_autoencoder (   process,
  inputs,
  cellRemap = autoEncoder_conc_proc.cellRemap,
  cellRemapNoDuplicates = autoEncoder_conc_proc.cellRemapNoDuplicates,
  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,
  encoderShape = autoEncoder_conc_proc.encoderShape,
  decoderShape = autoEncoder_conc_proc.decoderShape,
  zeroSuppresionThreshold = autoEncoder_conc_proc.zeroSuppresionThreshold,
  saveEncodedValues = autoEncoder_conc_proc.saveEncodedValues,
  preserveModuleSum = autoEncoder_conc_proc.preserveModuleSum,
  scintillatorMethod = 'thresholdSelect' 
)

Definition at line 74 of file concentrator.py.

References create_onebitfraction().

Referenced by create_bestchoice().

74 
75  ):
76  producer = process.hgcalConcentratorProducer.clone(
77  InputTriggerCells = cms.InputTag('{}:HGCalVFEProcessorSums'.format(inputs)),
78  InputTriggerSums = cms.InputTag('{}:HGCalVFEProcessorSums'.format(inputs))
79  )
80  producer.ProcessorParameters = autoEncoder_conc_proc.clone(
81  cellRemap = cellRemap,
82  cellRemapNoDuplicates = cellRemapNoDuplicates,
83  nBitsPerInput = nBitsPerInput,
84  maxBitsPerOutput = maxBitsPerOutput,
85  bitsPerLink = bitsPerLink,
86  modelFiles = modelFiles,
87  linkToGraphMap = linkToGraphMap,
88  encoderShape = encoderShape,
89  decoderShape = decoderShape,
90  zeroSuppresionThreshold = zeroSuppresionThreshold,
91  saveEncodedValues = saveEncodedValues,
92  preserveModuleSum = preserveModuleSum,
93  Method = cms.vstring(['autoEncoder','autoEncoder', scintillatorMethod]),
94  )
95  return producer
96 
def concentrator.create_bestchoice (   process,
  inputs,
  triggercells = best_conc_proc.NData,
  coarsenTriggerCells = best_conc_proc.coarsenTriggerCells,
  ctcSize = best_conc_proc.ctcSize 
)

Definition at line 47 of file concentrator.py.

References create_autoencoder().

Referenced by create_threshold().

47 
48  ):
49  producer = process.hgcalConcentratorProducer.clone(
50  InputTriggerCells = cms.InputTag('{}:HGCalVFEProcessorSums'.format(inputs)),
51  InputTriggerSums = cms.InputTag('{}:HGCalVFEProcessorSums'.format(inputs))
52  )
53  producer.ProcessorParameters = best_conc_proc.clone(
54  NData = triggercells,
55  coarsenTriggerCells = coarsenTriggerCells,
56  ctcSize=ctcSize,
57  )
58  return producer
59 
def concentrator.create_custom (   process,
  inputs,
  stcSize = custom_conc_proc.stcSize,
  type_energy_division = custom_conc_proc.type_energy_division,
  fixedDataSizePerHGCROC = custom_conc_proc.fixedDataSizePerHGCROC,
  triggercells = custom_conc_proc.NData,
  threshold_silicon = custom_conc_proc.threshold_silicon,
  threshold_scintillator = custom_conc_proc.threshold_scintillator,
  Method = custom_conc_proc.Method,
  coarsenTriggerCells = custom_conc_proc.coarsenTriggerCells,
  ctcSize = custom_conc_proc.ctcSize 
)

Definition at line 142 of file concentrator.py.

Referenced by create_mixedfeoptions().

143  ):
144  producer = process.hgcalConcentratorProducer.clone(
145  InputTriggerCells = cms.InputTag('{}:HGCalVFEProcessorSums'.format(inputs)),
146  InputTriggerSums = cms.InputTag('{}:HGCalVFEProcessorSums'.format(inputs))
147  )
148  producer.ProcessorParameters = custom_conc_proc.clone(
149  stcSize = stcSize,
150  type_energy_division = type_energy_division,
151  fixedDataSizePerHGCROC = fixedDataSizePerHGCROC,
152  NData = triggercells,
153  threshold_silicon = threshold_silicon, # MipT
154  threshold_scintillator = threshold_scintillator, # MipT
155  Method = Method,
156  coarsenTriggerCells=coarsenTriggerCells,
157  ctcSize = ctcSize,
158  )
159  return producer
160 
def concentrator.create_mixedfeoptions (   process,
  inputs,
  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 117 of file concentrator.py.

References create_custom().

Referenced by create_onebitfraction().

118  ):
119  producer = process.hgcalConcentratorProducer.clone(
120  InputTriggerCells = cms.InputTag('{}:HGCalVFEProcessorSums'.format(inputs)),
121  InputTriggerSums = cms.InputTag('{}:HGCalVFEProcessorSums'.format(inputs))
122  )
123  producer.ProcessorParameters = custom_conc_proc.clone(
124  stcSize = stcSize,
125  type_energy_division = type_energy_division,
126  fixedDataSizePerHGCROC = fixedDataSizePerHGCROC,
127  NData = triggercells,
128  Method = cms.vstring('bestChoiceSelect','superTriggerCellSelect','superTriggerCellSelect'),
129  )
130  return producer
131 
def concentrator.create_onebitfraction (   process,
  inputs,
  stcSize = coarsetc_onebitfraction_proc.stcSize,
  fixedDataSizePerHGCROC = coarsetc_onebitfraction_proc.fixedDataSizePerHGCROC 
)

Definition at line 100 of file concentrator.py.

References create_mixedfeoptions().

Referenced by create_autoencoder().

101  ):
102  producer = process.hgcalConcentratorProducer.clone(
103  InputTriggerCells = cms.InputTag('{}:HGCalVFEProcessorSums'.format(inputs)),
104  InputTriggerSums = cms.InputTag('{}:HGCalVFEProcessorSums'.format(inputs))
105  )
106  producer.ProcessorParameters = coarsetc_onebitfraction_proc.clone(
107  stcSize = stcSize,
108  fixedDataSizePerHGCROC = fixedDataSizePerHGCROC
109  )
110  return producer
111 
def concentrator.create_supertriggercell (   process,
  inputs,
  stcSize = supertc_conc_proc.stcSize,
  type_energy_division = supertc_conc_proc.type_energy_division,
  fixedDataSizePerHGCROC = supertc_conc_proc.fixedDataSizePerHGCROC,
  coarsenTriggerCells = supertc_conc_proc.coarsenTriggerCells,
  ctcSize = supertc_conc_proc.ctcSize 
)

Definition at line 13 of file concentrator.py.

References create_threshold().

13 
14  ):
15  producer = process.hgcalConcentratorProducer.clone(
16  InputTriggerCells = cms.InputTag('{}:HGCalVFEProcessorSums'.format(inputs)),
17  InputTriggerSums = cms.InputTag('{}:HGCalVFEProcessorSums'.format(inputs))
18  )
19  producer.ProcessorParameters = supertc_conc_proc.clone(
20  stcSize = stcSize,
21  type_energy_division = type_energy_division,
22  fixedDataSizePerHGCROC = fixedDataSizePerHGCROC,
23  coarsenTriggerCells = coarsenTriggerCells,
24  ctcSize = ctcSize,
25  )
26  return producer
27 
def concentrator.create_threshold (   process,
  inputs,
  threshold_silicon = threshold_conc_proc.threshold_silicon,
  threshold_scintillator = threshold_conc_proc.threshold_scintillator  # in mipT 
)

Definition at line 31 of file concentrator.py.

References create_bestchoice().

Referenced by create_supertriggercell().

31 
32  ):
33  producer = process.hgcalConcentratorProducer.clone(
34  InputTriggerCells = cms.InputTag('{}:HGCalVFEProcessorSums'.format(inputs)),
35  InputTriggerSums = cms.InputTag('{}:HGCalVFEProcessorSums'.format(inputs))
36  )
37  producer.ProcessorParameters = threshold_conc_proc.clone(
38  threshold_silicon = threshold_silicon, # MipT
39  threshold_scintillator = threshold_scintillator # MipT
40  )
41  return producer
42