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

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonLRTMergedConfig.__init__ ( self)

Definition at line 646 of file MuonAnalysisConfig.py.

646 def __init__ (self) :
647 super (MuonLRTMergedConfig, self).__init__ ()
648 self.addOption (
649 'inputMuons', 'Muons', type=str,
650 noneAction='error',
651 info="the name of the input muon container."
652 )
653 self.addOption (
654 'inputLRTMuons', 'MuonsLRT', type=str,
655 noneAction='error',
656 info="the name of the input LRT muon container."
657 )
658 self.addOption (
659 'containerName', 'Muons_LRTMerged', type=str,
660 noneAction='error',
661 info="the name of the output container after LRT merging."
662 )
663

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonLRTMergedConfig.instanceName ( self)

Definition at line 664 of file MuonAnalysisConfig.py.

664 def instanceName (self) :
665 return self.containerName
666

◆ makeAlgs()

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

Definition at line 667 of file MuonAnalysisConfig.py.

667 def makeAlgs (self, config) :
668
669 if config.isPhyslite() :
670 raise(RuntimeError("Muon LRT merging is not available in Physlite mode"))
671
672 alg = config.createAlgorithm( "CP::MuonLRTMergingAlg", "MuonLRTMergingAlg" )
673 alg.PromptMuonLocation = self.inputMuons
674 alg.LRTMuonLocation = self.inputLRTMuons
675 alg.OutputMuonLocation = self.containerName
676 alg.UseRun3WP = config.geometry() >= LHCPeriod.Run3
677 alg.CreateViewCollection = False
678

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