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

Constructor & Destructor Documentation

◆ __init__()

python.ElectronAnalysisConfig.ElectronLRTMergedConfig.__init__ ( self)

Definition at line 1119 of file ElectronAnalysisConfig.py.

1119 def __init__ (self) :
1120 super (ElectronLRTMergedConfig, self).__init__ ()
1121 self.addOption (
1122 'inputElectrons', 'Electrons', type=str,
1123 noneAction='error',
1124 info="the name of the input electron container.",
1125 meta={'role':'containerRef'}
1126 )
1127 self.addOption (
1128 'inputLRTElectrons', 'LRTElectrons', type=str,
1129 noneAction='error',
1130 info="the name of the input LRT electron container."
1131 )
1132 self.addOption (
1133 'containerName', 'Electrons_LRTMerged', type=str,
1134 noneAction='error',
1135 info="the name of the output container after LRT merging.",
1136 meta={'role':'container'}
1137 )
1138

Member Function Documentation

◆ instanceName()

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

Definition at line 1139 of file ElectronAnalysisConfig.py.

1139 def instanceName (self) :
1140 """Return the instance name for this block"""
1141 return self.containerName
1142

◆ makeAlgs()

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

Definition at line 1143 of file ElectronAnalysisConfig.py.

1143 def makeAlgs (self, config) :
1144
1145 if config.isPhyslite() :
1146 raise(RuntimeError("Electron LRT merging is not available in Physlite mode"))
1147
1148 alg = config.createAlgorithm( "CP::ElectronLRTMergingAlg", "ElectronLRTMergingAlg" )
1149 alg.PromptElectronLocation = self.inputElectrons
1150 alg.LRTElectronLocation = self.inputLRTElectrons
1151 alg.OutputCollectionName = self.containerName
1152 alg.CreateViewCollection = False
1153
1154@groupBlocks

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