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

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonContainerMergingConfig.__init__ ( self)

Definition at line 678 of file MuonAnalysisConfig.py.

678 def __init__ (self) :
679 super (MuonContainerMergingConfig, self).__init__ ()
680 self.addOption (
681 'inputMuonContainers', [], type=list,
682 noneAction='error',
683 info="list of container names to be merged (of type `xAOD::MuonContainer`)."
684 )
685 self.addOption (
686 'outputMuonLocation', 'MuonsMerged', type=str,
687 noneAction='error',
688 info="the name of the output muon container."
689 )
690 self.addOption (
691 'createViewCollection', True, type=bool,
692 info="whether the output container should be a view container rather than a deep copy."
693 )
694

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonContainerMergingConfig.instanceName ( self)

Definition at line 695 of file MuonAnalysisConfig.py.

695 def instanceName (self) :
696 return self.outputMuonLocation
697

◆ makeAlgs()

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

Definition at line 698 of file MuonAnalysisConfig.py.

698 def makeAlgs (self, config) :
699 alg = config.createAlgorithm( "CP::MuonContainerMergingAlg", "MuonContainerMergingAlg" )
700 alg.InputMuonContainers = self.inputMuonContainers
701 alg.OutputMuonLocation = self.outputMuonLocation
702 alg.CreateViewCollection = self.createViewCollection
703
704@groupBlocks

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