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

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonLRTMergedConfig.__init__ ( self)

Definition at line 659 of file MuonAnalysisConfig.py.

659 def __init__ (self) :
660 super (MuonLRTMergedConfig, self).__init__ ()
661 self.addOption (
662 'inputMuons', 'Muons', type=str,
663 noneAction='error',
664 info="the name of the input muon container."
665 )
666 self.addOption (
667 'inputLRTMuons', 'MuonsLRT', type=str,
668 noneAction='error',
669 info="the name of the input LRT muon container."
670 )
671 self.addOption (
672 'containerName', 'Muons_LRTMerged', type=str,
673 noneAction='error',
674 info="the name of the output container after LRT merging."
675 )
676

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonLRTMergedConfig.instanceName ( self)

Definition at line 677 of file MuonAnalysisConfig.py.

677 def instanceName (self) :
678 return self.containerName
679

◆ makeAlgs()

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

Definition at line 680 of file MuonAnalysisConfig.py.

680 def makeAlgs (self, config) :
681
682 if config.isPhyslite() :
683 raise(RuntimeError("Muon LRT merging is not available in Physlite mode"))
684
685 alg = config.createAlgorithm( "CP::MuonLRTMergingAlg", "MuonLRTMergingAlg" )
686 alg.PromptMuonLocation = self.inputMuons
687 alg.LRTMuonLocation = self.inputLRTMuons
688 alg.OutputMuonLocation = self.containerName
689 alg.UseRun3WP = config.geometry() >= LHCPeriod.Run3
690 alg.CreateViewCollection = False
691

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