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

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonContainerMergingConfig.__init__ ( self)

Definition at line 675 of file MuonAnalysisConfig.py.

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

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonContainerMergingConfig.instanceName ( self)

Definition at line 692 of file MuonAnalysisConfig.py.

692 def instanceName (self) :
693 return self.outputMuonLocation
694

◆ makeAlgs()

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

Definition at line 695 of file MuonAnalysisConfig.py.

695 def makeAlgs (self, config) :
696 alg = config.createAlgorithm( "CP::MuonContainerMergingAlg", "MuonContainerMergingAlg" )
697 alg.InputMuonContainers = self.inputMuonContainers
698 alg.OutputMuonLocation = self.outputMuonLocation
699 alg.CreateViewCollection = self.createViewCollection
700
701@groupBlocks

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