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

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonContainerMergingConfig.__init__ ( self)

Definition at line 585 of file MuonAnalysisConfig.py.

585 def __init__ (self) :
586 super (MuonContainerMergingConfig, self).__init__ ()
587 self.addOption (
588 'inputMuonContainers', [], type=list,
589 noneAction='error',
590 info="List of container names to be merged of type xAOD::MuonContainer."
591 )
592 self.addOption (
593 'outputMuonLocation', 'MuonsMerged', type=str,
594 noneAction='error',
595 info="The name of the output container."
596 )
597 self.addOption (
598 'createViewCollection', True, type=bool,
599 info="Decided if output container is a view (default) or a deep copy."
600 )
601

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonContainerMergingConfig.instanceName ( self)

Definition at line 602 of file MuonAnalysisConfig.py.

602 def instanceName (self) :
603 return self.outputMuonLocation
604

◆ makeAlgs()

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

Definition at line 605 of file MuonAnalysisConfig.py.

605 def makeAlgs (self, config) :
606 alg = config.createAlgorithm( "CP::MuonContainerMergingAlg", "MuonContainerMergingAlg" )
607 alg.InputMuonContainers = self.inputMuonContainers
608 alg.OutputMuonLocation = self.outputMuonLocation
609 alg.CreateViewCollection = self.createViewCollection

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