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

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonContainerMergingConfig.__init__ ( self)

Definition at line 703 of file MuonAnalysisConfig.py.

703 def __init__ (self) :
704 super (MuonContainerMergingConfig, self).__init__ ()
705 self.addOption (
706 'inputMuonContainers', [], type=list,
707 noneAction='error',
708 info="list of container names to be merged (of type `xAOD::MuonContainer`)."
709 )
710 self.addOption (
711 'outputMuonLocation', 'MuonsMerged', type=str,
712 noneAction='error',
713 info="the name of the output muon container."
714 )
715 self.addOption (
716 'createViewCollection', True, type=bool,
717 info="whether the output container should be a view container rather than a deep copy."
718 )
719

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonContainerMergingConfig.instanceName ( self)

Definition at line 720 of file MuonAnalysisConfig.py.

720 def instanceName (self) :
721 return self.outputMuonLocation
722

◆ makeAlgs()

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

Definition at line 723 of file MuonAnalysisConfig.py.

723 def makeAlgs (self, config) :
724 alg = config.createAlgorithm( "CP::MuonContainerMergingAlg", "MuonContainerMergingAlg" )
725 alg.InputMuonContainers = self.inputMuonContainers
726 alg.OutputMuonLocation = self.outputMuonLocation
727 alg.CreateViewCollection = self.createViewCollection
728
729@groupBlocks

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