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

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonContainerMergingConfig.__init__ ( self)

Definition at line 670 of file MuonAnalysisConfig.py.

670 def __init__ (self) :
671 super (MuonContainerMergingConfig, self).__init__ ()
672 self.addOption (
673 'inputMuonContainers', [], type=list,
674 noneAction='error',
675 info="list of container names to be merged (of type `xAOD::MuonContainer`)."
676 )
677 self.addOption (
678 'outputMuonLocation', 'MuonsMerged', type=str,
679 noneAction='error',
680 info="the name of the output muon container."
681 )
682 self.addOption (
683 'createViewCollection', True, type=bool,
684 info="whether the output container should be a view container rather than a deep copy."
685 )
686

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonContainerMergingConfig.instanceName ( self)

Definition at line 687 of file MuonAnalysisConfig.py.

687 def instanceName (self) :
688 return self.outputMuonLocation
689

◆ makeAlgs()

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

Definition at line 690 of file MuonAnalysisConfig.py.

690 def makeAlgs (self, config) :
691 alg = config.createAlgorithm( "CP::MuonContainerMergingAlg", "MuonContainerMergingAlg" )
692 alg.InputMuonContainers = self.inputMuonContainers
693 alg.OutputMuonLocation = self.outputMuonLocation
694 alg.CreateViewCollection = self.createViewCollection
695
696@groupBlocks

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