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

Constructor & Destructor Documentation

◆ __init__()

python.ElectronAnalysisConfig.ElectronLRTMergedConfig.__init__ ( self)

Definition at line 1081 of file ElectronAnalysisConfig.py.

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

Member Function Documentation

◆ instanceName()

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

Definition at line 1099 of file ElectronAnalysisConfig.py.

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

◆ makeAlgs()

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

Definition at line 1103 of file ElectronAnalysisConfig.py.

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

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