Definition at line 938 of file ElectronAnalysisConfig.py.
◆ __init__()
def python.ElectronAnalysisConfig.ElectronLRTMergedConfig.__init__ |
( |
|
self | ) |
|
Definition at line 939 of file ElectronAnalysisConfig.py.
940 super (ElectronLRTMergedConfig, self).__init__ ()
942 'inputElectrons',
'Electrons', type=str,
944 info=
"the name of the input electron container."
947 'inputLRTElectrons',
'LRTElectrons', type=str,
949 info=
"the name of the input LRT electron container."
952 'containerName',
'Electrons_LRTMerged', type=str,
954 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 957 of file ElectronAnalysisConfig.py.
957 def instanceName (self) :
958 """Return the instance name for this block"""
959 return self.containerName
◆ makeAlgs()
def python.ElectronAnalysisConfig.ElectronLRTMergedConfig.makeAlgs |
( |
|
self, |
|
|
|
config |
|
) |
| |
Definition at line 961 of file ElectronAnalysisConfig.py.
961 def makeAlgs (self, config) :
963 if config.isPhyslite() :
964 raise(RuntimeError(
"Electron LRT merging is not available in Physlite mode"))
966 alg = config.createAlgorithm(
"CP::ElectronLRTMergingAlg",
"ElectronLRTMergingAlg" )
967 alg.PromptElectronLocation = self.inputElectrons
968 alg.LRTElectronLocation = self.inputLRTElectrons
969 alg.OutputCollectionName = self.containerName
970 alg.CreateViewCollection =
False
The documentation for this class was generated from the following file: