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

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonContainerMergingConfig.__init__ ( self)

Definition at line 633 of file MuonAnalysisConfig.py.

633 def __init__ (self) :
634 super (MuonContainerMergingConfig, self).__init__ ()
635 self.addOption (
636 'inputMuonContainers', [], type=list,
637 noneAction='error',
638 info="list of container names to be merged (of type `xAOD::MuonContainer`)."
639 )
640 self.addOption (
641 'outputMuonLocation', 'MuonsMerged', type=str,
642 noneAction='error',
643 info="the name of the output muon container."
644 )
645 self.addOption (
646 'createViewCollection', True, type=bool,
647 info="whether the output container should be a view container rather than a deep copy."
648 )
649

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonContainerMergingConfig.instanceName ( self)

Definition at line 650 of file MuonAnalysisConfig.py.

650 def instanceName (self) :
651 return self.outputMuonLocation
652

◆ makeAlgs()

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

Definition at line 653 of file MuonAnalysisConfig.py.

653 def makeAlgs (self, config) :
654 alg = config.createAlgorithm( "CP::MuonContainerMergingAlg", "MuonContainerMergingAlg" )
655 alg.InputMuonContainers = self.inputMuonContainers
656 alg.OutputMuonLocation = self.outputMuonLocation
657 alg.CreateViewCollection = self.createViewCollection
658
659@groupBlocks

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