Definition at line 946 of file ElectronAnalysisConfig.py.
◆ __init__()
| def python.ElectronAnalysisConfig.ElectronLRTMergedConfig.__init__ |
( |
|
self | ) |
|
Definition at line 947 of file ElectronAnalysisConfig.py.
948 super (ElectronLRTMergedConfig, self).__init__ ()
950 'inputElectrons',
'Electrons', type=str,
952 info=
"the name of the input electron container."
955 'inputLRTElectrons',
'LRTElectrons', type=str,
957 info=
"the name of the input LRT electron container."
960 'containerName',
'Electrons_LRTMerged', type=str,
962 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 965 of file ElectronAnalysisConfig.py.
965 def instanceName (self) :
966 """Return the instance name for this block"""
967 return self.containerName
◆ makeAlgs()
| def python.ElectronAnalysisConfig.ElectronLRTMergedConfig.makeAlgs |
( |
|
self, |
|
|
|
config |
|
) |
| |
Definition at line 969 of file ElectronAnalysisConfig.py.
969 def makeAlgs (self, config) :
971 if config.isPhyslite() :
972 raise(RuntimeError(
"Electron LRT merging is not available in Physlite mode"))
974 alg = config.createAlgorithm(
"CP::ElectronLRTMergingAlg",
"ElectronLRTMergingAlg" )
975 alg.PromptElectronLocation = self.inputElectrons
976 alg.LRTElectronLocation = self.inputLRTElectrons
977 alg.OutputCollectionName = self.containerName
978 alg.CreateViewCollection =
False
The documentation for this class was generated from the following file: