Definition at line 942 of file ElectronAnalysisConfig.py.
◆ __init__()
| def python.ElectronAnalysisConfig.ElectronLRTMergedConfig.__init__ |
( |
|
self | ) |
|
Definition at line 943 of file ElectronAnalysisConfig.py.
944 super (ElectronLRTMergedConfig, self).__init__ ()
946 'inputElectrons',
'Electrons', type=str,
948 info=
"the name of the input electron container."
951 'inputLRTElectrons',
'LRTElectrons', type=str,
953 info=
"the name of the input LRT electron container."
956 'containerName',
'Electrons_LRTMerged', type=str,
958 info=
"the name of the output container after LRT merging."
◆ instanceName()
| def python.ElectronAnalysisConfig.ElectronLRTMergedConfig.instanceName |
( |
|
self | ) |
|
Return the instance name for this block
Definition at line 961 of file ElectronAnalysisConfig.py.
961 def instanceName (self) :
962 """Return the instance name for this block"""
963 return self.containerName
◆ makeAlgs()
| def python.ElectronAnalysisConfig.ElectronLRTMergedConfig.makeAlgs |
( |
|
self, |
|
|
|
config |
|
) |
| |
Definition at line 965 of file ElectronAnalysisConfig.py.
965 def makeAlgs (self, config) :
967 if config.isPhyslite() :
968 raise(RuntimeError(
"Electron LRT merging is not available in Physlite mode"))
970 alg = config.createAlgorithm(
"CP::ElectronLRTMergingAlg",
"ElectronLRTMergingAlg" )
971 alg.PromptElectronLocation = self.inputElectrons
972 alg.LRTElectronLocation = self.inputLRTElectrons
973 alg.OutputCollectionName = self.containerName
974 alg.CreateViewCollection =
False
The documentation for this class was generated from the following file: