ATLAS Offline Software
Loading...
Searching...
No Matches
python.MuonAnalysisConfig.MuonLRTMergedConfig Class Reference
Inheritance diagram for python.MuonAnalysisConfig.MuonLRTMergedConfig:
Collaboration diagram for python.MuonAnalysisConfig.MuonLRTMergedConfig:

Public Member Functions

 __init__ (self)
 instanceName (self)
 makeAlgs (self, config)

Detailed Description

Definition at line 635 of file MuonAnalysisConfig.py.

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonLRTMergedConfig.__init__ ( self)

Definition at line 636 of file MuonAnalysisConfig.py.

636 def __init__ (self) :
637 super (MuonLRTMergedConfig, self).__init__ ()
638 self.addOption (
639 'inputMuons', 'Muons', type=str,
640 noneAction='error',
641 info="the name of the input muon container."
642 )
643 self.addOption (
644 'inputLRTMuons', 'MuonsLRT', type=str,
645 noneAction='error',
646 info="the name of the input LRT muon container."
647 )
648 self.addOption (
649 'containerName', 'Muons_LRTMerged', type=str,
650 noneAction='error',
651 info="the name of the output container after LRT merging."
652 )
653

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonLRTMergedConfig.instanceName ( self)

Definition at line 654 of file MuonAnalysisConfig.py.

654 def instanceName (self) :
655 return self.containerName
656

◆ makeAlgs()

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

Definition at line 657 of file MuonAnalysisConfig.py.

657 def makeAlgs (self, config) :
658
659 if config.isPhyslite() :
660 raise(RuntimeError("Muon LRT merging is not available in Physlite mode"))
661
662 alg = config.createAlgorithm( "CP::MuonLRTMergingAlg", "MuonLRTMergingAlg" )
663 alg.PromptMuonLocation = self.inputMuons
664 alg.LRTMuonLocation = self.inputLRTMuons
665 alg.OutputMuonLocation = self.containerName
666 alg.UseRun3WP = config.geometry() >= LHCPeriod.Run3
667 alg.CreateViewCollection = False
668

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