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

Constructor & Destructor Documentation

◆ __init__()

python.ElectronAnalysisConfig.ElectronLRTMergedConfig.__init__ ( self)

Definition at line 1079 of file ElectronAnalysisConfig.py.

1079 def __init__ (self) :
1080 super (ElectronLRTMergedConfig, self).__init__ ()
1081 self.addOption (
1082 'inputElectrons', 'Electrons', type=str,
1083 noneAction='error',
1084 info="the name of the input electron container."
1085 )
1086 self.addOption (
1087 'inputLRTElectrons', 'LRTElectrons', type=str,
1088 noneAction='error',
1089 info="the name of the input LRT electron container."
1090 )
1091 self.addOption (
1092 'containerName', 'Electrons_LRTMerged', type=str,
1093 noneAction='error',
1094 info="the name of the output container after LRT merging."
1095 )
1096

Member Function Documentation

◆ instanceName()

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

Definition at line 1097 of file ElectronAnalysisConfig.py.

1097 def instanceName (self) :
1098 """Return the instance name for this block"""
1099 return self.containerName
1100

◆ makeAlgs()

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

Definition at line 1101 of file ElectronAnalysisConfig.py.

1101 def makeAlgs (self, config) :
1102
1103 if config.isPhyslite() :
1104 raise(RuntimeError("Electron LRT merging is not available in Physlite mode"))
1105
1106 alg = config.createAlgorithm( "CP::ElectronLRTMergingAlg", "ElectronLRTMergingAlg" )
1107 alg.PromptElectronLocation = self.inputElectrons
1108 alg.LRTElectronLocation = self.inputLRTElectrons
1109 alg.OutputCollectionName = self.containerName
1110 alg.CreateViewCollection = False
1111
1112@groupBlocks

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