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

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonContainerMergingConfig.__init__ ( self)

Definition at line 679 of file MuonAnalysisConfig.py.

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

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonContainerMergingConfig.instanceName ( self)

Definition at line 696 of file MuonAnalysisConfig.py.

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

◆ makeAlgs()

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

Definition at line 699 of file MuonAnalysisConfig.py.

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

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