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

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonContainerMergingConfig.__init__ ( self)

Definition at line 576 of file MuonAnalysisConfig.py.

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

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonContainerMergingConfig.instanceName ( self)

Definition at line 593 of file MuonAnalysisConfig.py.

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

◆ makeAlgs()

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

Definition at line 596 of file MuonAnalysisConfig.py.

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

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