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

Constructor & Destructor Documentation

◆ __init__()

python.ElectronAnalysisConfig.ElectronLRTMergedConfig.__init__ ( self)

Definition at line 1059 of file ElectronAnalysisConfig.py.

1059 def __init__ (self) :
1060 super (ElectronLRTMergedConfig, self).__init__ ()
1061 self.addOption (
1062 'inputElectrons', 'Electrons', type=str,
1063 noneAction='error',
1064 info="the name of the input electron container."
1065 )
1066 self.addOption (
1067 'inputLRTElectrons', 'LRTElectrons', type=str,
1068 noneAction='error',
1069 info="the name of the input LRT electron container."
1070 )
1071 self.addOption (
1072 'containerName', 'Electrons_LRTMerged', type=str,
1073 noneAction='error',
1074 info="the name of the output container after LRT merging."
1075 )
1076

Member Function Documentation

◆ instanceName()

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

Definition at line 1077 of file ElectronAnalysisConfig.py.

1077 def instanceName (self) :
1078 """Return the instance name for this block"""
1079 return self.containerName
1080

◆ makeAlgs()

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

Definition at line 1081 of file ElectronAnalysisConfig.py.

1081 def makeAlgs (self, config) :
1082
1083 if config.isPhyslite() :
1084 raise(RuntimeError("Electron LRT merging is not available in Physlite mode"))
1085
1086 alg = config.createAlgorithm( "CP::ElectronLRTMergingAlg", "ElectronLRTMergingAlg" )
1087 alg.PromptElectronLocation = self.inputElectrons
1088 alg.LRTElectronLocation = self.inputLRTElectrons
1089 alg.OutputCollectionName = self.containerName
1090 alg.CreateViewCollection = False
1091
1092@groupBlocks

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