ATLAS Offline Software
Loading...
Searching...
No Matches
python.ElectronAnalysisConfig.ElectronLRTMergedConfig Class Reference
Inheritance diagram for python.ElectronAnalysisConfig.ElectronLRTMergedConfig:
Collaboration diagram for python.ElectronAnalysisConfig.ElectronLRTMergedConfig:

Public Member Functions

 __init__ (self)
 instanceName (self)
 makeAlgs (self, config)

Detailed Description

Definition at line 956 of file ElectronAnalysisConfig.py.

Constructor & Destructor Documentation

◆ __init__()

python.ElectronAnalysisConfig.ElectronLRTMergedConfig.__init__ ( self)

Definition at line 957 of file ElectronAnalysisConfig.py.

957 def __init__ (self) :
958 super (ElectronLRTMergedConfig, self).__init__ ()
959 self.addOption (
960 'inputElectrons', 'Electrons', type=str,
961 noneAction='error',
962 info="the name of the input electron container."
963 )
964 self.addOption (
965 'inputLRTElectrons', 'LRTElectrons', type=str,
966 noneAction='error',
967 info="the name of the input LRT electron container."
968 )
969 self.addOption (
970 'containerName', 'Electrons_LRTMerged', type=str,
971 noneAction='error',
972 info="the name of the output container after LRT merging."
973 )
974

Member Function Documentation

◆ instanceName()

python.ElectronAnalysisConfig.ElectronLRTMergedConfig.instanceName ( self)
Return the instance name for this block

Definition at line 975 of file ElectronAnalysisConfig.py.

975 def instanceName (self) :
976 """Return the instance name for this block"""
977 return self.containerName
978

◆ makeAlgs()

python.ElectronAnalysisConfig.ElectronLRTMergedConfig.makeAlgs ( self,
config )

Definition at line 979 of file ElectronAnalysisConfig.py.

979 def makeAlgs (self, config) :
980
981 if config.isPhyslite() :
982 raise(RuntimeError("Electron LRT merging is not available in Physlite mode"))
983
984 alg = config.createAlgorithm( "CP::ElectronLRTMergingAlg", "ElectronLRTMergingAlg" )
985 alg.PromptElectronLocation = self.inputElectrons
986 alg.LRTElectronLocation = self.inputLRTElectrons
987 alg.OutputCollectionName = self.containerName
988 alg.CreateViewCollection = False

The documentation for this class was generated from the following file: