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

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonLRTMergedConfig.__init__ ( self)

Definition at line 661 of file MuonAnalysisConfig.py.

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

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonLRTMergedConfig.instanceName ( self)

Definition at line 679 of file MuonAnalysisConfig.py.

679 def instanceName (self) :
680 return self.containerName
681

◆ makeAlgs()

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

Definition at line 682 of file MuonAnalysisConfig.py.

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

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