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

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonLRTMergedConfig.__init__ ( self)

Definition at line 680 of file MuonAnalysisConfig.py.

680 def __init__ (self) :
681 super (MuonLRTMergedConfig, self).__init__ ()
682 self.addOption (
683 'inputMuons', 'Muons', type=str,
684 noneAction='error',
685 info="the name of the input muon container."
686 )
687 self.addOption (
688 'inputLRTMuons', 'MuonsLRT', type=str,
689 noneAction='error',
690 info="the name of the input LRT muon container."
691 )
692 self.addOption (
693 'containerName', 'Muons_LRTMerged', type=str,
694 noneAction='error',
695 info="the name of the output container after LRT merging."
696 )
697

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonLRTMergedConfig.instanceName ( self)

Definition at line 698 of file MuonAnalysisConfig.py.

698 def instanceName (self) :
699 return self.containerName
700

◆ makeAlgs()

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

Definition at line 701 of file MuonAnalysisConfig.py.

701 def makeAlgs (self, config) :
702
703 if config.isPhyslite() :
704 raise(RuntimeError("Muon LRT merging is not available in Physlite mode"))
705
706 alg = config.createAlgorithm( "CP::MuonLRTMergingAlg", "MuonLRTMergingAlg" )
707 alg.PromptMuonLocation = self.inputMuons
708 alg.LRTMuonLocation = self.inputLRTMuons
709 alg.OutputMuonLocation = self.containerName
710 alg.UseRun3WP = config.geometry() >= LHCPeriod.Run3
711 alg.CreateViewCollection = False
712

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