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

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonContainerMergingConfig.__init__ ( self)

Definition at line 575 of file MuonAnalysisConfig.py.

575 def __init__ (self) :
576 super (MuonContainerMergingConfig, self).__init__ ()
577 self.addOption (
578 'inputMuonContainers', [], type=list,
579 noneAction='error',
580 info="list of container names to be merged (of type `xAOD::MuonContainer`)."
581 )
582 self.addOption (
583 'outputMuonLocation', 'MuonsMerged', type=str,
584 noneAction='error',
585 info="the name of the output muon container."
586 )
587 self.addOption (
588 'createViewCollection', True, type=bool,
589 info="whether the output container should be a view container rather than a deep copy."
590 )
591

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonContainerMergingConfig.instanceName ( self)

Definition at line 592 of file MuonAnalysisConfig.py.

592 def instanceName (self) :
593 return self.outputMuonLocation
594

◆ makeAlgs()

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

Definition at line 595 of file MuonAnalysisConfig.py.

595 def makeAlgs (self, config) :
596 alg = config.createAlgorithm( "CP::MuonContainerMergingAlg", "MuonContainerMergingAlg" )
597 alg.InputMuonContainers = self.inputMuonContainers
598 alg.OutputMuonLocation = self.outputMuonLocation
599 alg.CreateViewCollection = self.createViewCollection

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