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

Constructor & Destructor Documentation

◆ __init__()

python.ElectronAnalysisConfig.ElectronLRTMergedConfig.__init__ ( self)

Definition at line 1076 of file ElectronAnalysisConfig.py.

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

Member Function Documentation

◆ instanceName()

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

Definition at line 1094 of file ElectronAnalysisConfig.py.

1094 def instanceName (self) :
1095 """Return the instance name for this block"""
1096 return self.containerName
1097

◆ makeAlgs()

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

Definition at line 1098 of file ElectronAnalysisConfig.py.

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

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