Definition at line 932 of file ElectronAnalysisConfig.py.
◆ __init__()
def python.ElectronAnalysisConfig.ElectronLRTMergedConfig.__init__ |
( |
|
self | ) |
|
Definition at line 933 of file ElectronAnalysisConfig.py.
934 super (ElectronLRTMergedConfig, self).__init__ ()
936 'inputElectrons',
'Electrons', type=str,
938 info=
"the name of the input electron container."
941 'inputLRTElectrons',
'LRTElectrons', type=str,
943 info=
"the name of the input LRT electron container."
946 'containerName',
'Electrons_LRTMerged', type=str,
948 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 951 of file ElectronAnalysisConfig.py.
951 def instanceName (self) :
952 """Return the instance name for this block"""
953 return self.containerName
◆ makeAlgs()
def python.ElectronAnalysisConfig.ElectronLRTMergedConfig.makeAlgs |
( |
|
self, |
|
|
|
config |
|
) |
| |
Definition at line 955 of file ElectronAnalysisConfig.py.
955 def makeAlgs (self, config) :
957 if config.isPhyslite() :
958 raise(RuntimeError(
"Electron LRT merging is not available in Physlite mode"))
960 alg = config.createAlgorithm(
"CP::ElectronLRTMergingAlg",
"ElectronLRTMergingAlg" )
961 alg.PromptElectronLocation = self.inputElectrons
962 alg.LRTElectronLocation = self.inputLRTElectrons
963 alg.OutputCollectionName = self.containerName
964 alg.CreateViewCollection =
False
The documentation for this class was generated from the following file: