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

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonLRTMergedConfig.__init__ ( self)

Definition at line 669 of file MuonAnalysisConfig.py.

669 def __init__ (self) :
670 super (MuonLRTMergedConfig, self).__init__ ()
671 self.addOption (
672 'inputMuons', 'Muons', type=str,
673 noneAction='error',
674 info="the name of the input muon container."
675 )
676 self.addOption (
677 'inputLRTMuons', 'MuonsLRT', type=str,
678 noneAction='error',
679 info="the name of the input LRT muon container."
680 )
681 self.addOption (
682 'containerName', 'Muons_LRTMerged', type=str,
683 noneAction='error',
684 info="the name of the output container after LRT merging."
685 )
686

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonLRTMergedConfig.instanceName ( self)

Definition at line 687 of file MuonAnalysisConfig.py.

687 def instanceName (self) :
688 return self.containerName
689

◆ makeAlgs()

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

Definition at line 690 of file MuonAnalysisConfig.py.

690 def makeAlgs (self, config) :
691
692 if config.isPhyslite() :
693 raise(RuntimeError("Muon LRT merging is not available in Physlite mode"))
694
695 alg = config.createAlgorithm( "CP::MuonLRTMergingAlg", "MuonLRTMergingAlg" )
696 alg.PromptMuonLocation = self.inputMuons
697 alg.LRTMuonLocation = self.inputLRTMuons
698 alg.OutputMuonLocation = self.containerName
699 alg.UseRun3WP = config.geometry() >= LHCPeriod.Run3
700 alg.CreateViewCollection = False
701

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