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

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonContainerMergingConfig.__init__ ( self)

Definition at line 695 of file MuonAnalysisConfig.py.

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

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonContainerMergingConfig.instanceName ( self)

Definition at line 712 of file MuonAnalysisConfig.py.

712 def instanceName (self) :
713 return self.outputMuonLocation
714

◆ makeAlgs()

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

Definition at line 715 of file MuonAnalysisConfig.py.

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

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