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 713 of file MuonAnalysisConfig.py.

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonContainerMergingConfig.__init__ ( self)

Definition at line 714 of file MuonAnalysisConfig.py.

714 def __init__ (self) :
715 super (MuonContainerMergingConfig, self).__init__ ()
716 self.addOption (
717 'inputMuonContainers', [], type=list,
718 noneAction='error',
719 info="list of container names to be merged (of type `xAOD::MuonContainer`)."
720 )
721 self.addOption (
722 'outputMuonLocation', 'MuonsMerged', type=str,
723 noneAction='error',
724 info="the name of the output muon container."
725 )
726 self.addOption (
727 'createViewCollection', True, type=bool,
728 info="whether the output container should be a view container rather than a deep copy."
729 )
730

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonContainerMergingConfig.instanceName ( self)

Definition at line 731 of file MuonAnalysisConfig.py.

731 def instanceName (self) :
732 return self.outputMuonLocation
733

◆ makeAlgs()

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

Definition at line 734 of file MuonAnalysisConfig.py.

734 def makeAlgs (self, config) :
735 alg = config.createAlgorithm( "CP::MuonContainerMergingAlg", "MuonContainerMergingAlg" )
736 alg.InputMuonContainers = self.inputMuonContainers
737 alg.OutputMuonLocation = self.outputMuonLocation
738 alg.CreateViewCollection = self.createViewCollection
739
740@groupBlocks

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