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

Constructor & Destructor Documentation

◆ __init__()

python.ElectronAnalysisConfig.ElectronLRTMergedConfig.__init__ ( self)

Definition at line 1104 of file ElectronAnalysisConfig.py.

1104 def __init__ (self) :
1105 super (ElectronLRTMergedConfig, self).__init__ ()
1106 self.addOption (
1107 'inputElectrons', 'Electrons', type=str,
1108 noneAction='error',
1109 info="the name of the input electron container.",
1110 meta={'role':'containerRef'}
1111 )
1112 self.addOption (
1113 'inputLRTElectrons', 'LRTElectrons', type=str,
1114 noneAction='error',
1115 info="the name of the input LRT electron container."
1116 )
1117 self.addOption (
1118 'containerName', 'Electrons_LRTMerged', type=str,
1119 noneAction='error',
1120 info="the name of the output container after LRT merging.",
1121 meta={'role':'container'}
1122 )
1123

Member Function Documentation

◆ instanceName()

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

Definition at line 1124 of file ElectronAnalysisConfig.py.

1124 def instanceName (self) :
1125 """Return the instance name for this block"""
1126 return self.containerName
1127

◆ makeAlgs()

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

Definition at line 1128 of file ElectronAnalysisConfig.py.

1128 def makeAlgs (self, config) :
1129
1130 if config.isPhyslite() :
1131 raise(RuntimeError("Electron LRT merging is not available in Physlite mode"))
1132
1133 alg = config.createAlgorithm( "CP::ElectronLRTMergingAlg", "ElectronLRTMergingAlg" )
1134 alg.PromptElectronLocation = self.inputElectrons
1135 alg.LRTElectronLocation = self.inputLRTElectrons
1136 alg.OutputCollectionName = self.containerName
1137 alg.CreateViewCollection = False
1138
1139@groupBlocks

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