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

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonContainerMergingConfig.__init__ ( self)

Definition at line 680 of file MuonAnalysisConfig.py.

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

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonContainerMergingConfig.instanceName ( self)

Definition at line 697 of file MuonAnalysisConfig.py.

697 def instanceName (self) :
698 return self.outputMuonLocation
699

◆ makeAlgs()

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

Definition at line 700 of file MuonAnalysisConfig.py.

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

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