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 938 of file ElectronAnalysisConfig.py.

Constructor & Destructor Documentation

◆ __init__()

python.ElectronAnalysisConfig.ElectronLRTMergedConfig.__init__ ( self)

Definition at line 939 of file ElectronAnalysisConfig.py.

939 def __init__ (self) :
940 super (ElectronLRTMergedConfig, self).__init__ ()
941 self.addOption (
942 'inputElectrons', 'Electrons', type=str,
943 noneAction='error',
944 info="the name of the input electron container."
945 )
946 self.addOption (
947 'inputLRTElectrons', 'LRTElectrons', type=str,
948 noneAction='error',
949 info="the name of the input LRT electron container."
950 )
951 self.addOption (
952 'containerName', 'Electrons_LRTMerged', type=str,
953 noneAction='error',
954 info="the name of the output container after LRT merging."
955 )
956

Member Function Documentation

◆ instanceName()

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
960

◆ makeAlgs()

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

Definition at line 961 of file ElectronAnalysisConfig.py.

961 def makeAlgs (self, config) :
962
963 if config.isPhyslite() :
964 raise(RuntimeError("Electron LRT merging is not available in Physlite mode"))
965
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: