ATLAS Offline Software
Loading...
Searching...
No Matches
python.MuonAnalysisConfig.MuonContainerMergingConfig Class Reference
Inheritance diagram for python.MuonAnalysisConfig.MuonContainerMergingConfig:
Collaboration diagram for python.MuonAnalysisConfig.MuonContainerMergingConfig:

Public Member Functions

 __init__ (self)
 instanceName (self)
 makeAlgs (self, config)

Detailed Description

Definition at line 692 of file MuonAnalysisConfig.py.

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonContainerMergingConfig.__init__ ( self)

Definition at line 693 of file MuonAnalysisConfig.py.

693 def __init__ (self) :
694 super (MuonContainerMergingConfig, self).__init__ ()
695 self.addOption (
696 'inputMuonContainers', [], type=list,
697 noneAction='error',
698 info="list of container names to be merged (of type `xAOD::MuonContainer`)."
699 )
700 self.addOption (
701 'outputMuonLocation', 'MuonsMerged', type=str,
702 noneAction='error',
703 info="the name of the output muon container."
704 )
705 self.addOption (
706 'createViewCollection', True, type=bool,
707 info="whether the output container should be a view container rather than a deep copy."
708 )
709

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonContainerMergingConfig.instanceName ( self)

Definition at line 710 of file MuonAnalysisConfig.py.

710 def instanceName (self) :
711 return self.outputMuonLocation
712

◆ makeAlgs()

python.MuonAnalysisConfig.MuonContainerMergingConfig.makeAlgs ( self,
config )

Definition at line 713 of file MuonAnalysisConfig.py.

713 def makeAlgs (self, config) :
714 alg = config.createAlgorithm( "CP::MuonContainerMergingAlg", "MuonContainerMergingAlg" )
715 alg.InputMuonContainers = self.inputMuonContainers
716 alg.OutputMuonLocation = self.outputMuonLocation
717 alg.CreateViewCollection = self.createViewCollection
718
719@groupBlocks

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