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

Constructor & Destructor Documentation

◆ __init__()

python.ElectronAnalysisConfig.ElectronLRTMergedConfig.__init__ ( self)

Definition at line 1017 of file ElectronAnalysisConfig.py.

1017 def __init__ (self) :
1018 super (ElectronLRTMergedConfig, self).__init__ ()
1019 self.addOption (
1020 'inputElectrons', 'Electrons', type=str,
1021 noneAction='error',
1022 info="the name of the input electron container."
1023 )
1024 self.addOption (
1025 'inputLRTElectrons', 'LRTElectrons', type=str,
1026 noneAction='error',
1027 info="the name of the input LRT electron container."
1028 )
1029 self.addOption (
1030 'containerName', 'Electrons_LRTMerged', type=str,
1031 noneAction='error',
1032 info="the name of the output container after LRT merging."
1033 )
1034

Member Function Documentation

◆ instanceName()

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

Definition at line 1035 of file ElectronAnalysisConfig.py.

1035 def instanceName (self) :
1036 """Return the instance name for this block"""
1037 return self.containerName
1038

◆ makeAlgs()

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

Definition at line 1039 of file ElectronAnalysisConfig.py.

1039 def makeAlgs (self, config) :
1040
1041 if config.isPhyslite() :
1042 raise(RuntimeError("Electron LRT merging is not available in Physlite mode"))
1043
1044 alg = config.createAlgorithm( "CP::ElectronLRTMergingAlg", "ElectronLRTMergingAlg" )
1045 alg.PromptElectronLocation = self.inputElectrons
1046 alg.LRTElectronLocation = self.inputLRTElectrons
1047 alg.OutputCollectionName = self.containerName
1048 alg.CreateViewCollection = False
1049
1050
1051@groupBlocks

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