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

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonLRTMergedConfig.__init__ ( self)

Definition at line 641 of file MuonAnalysisConfig.py.

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

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonLRTMergedConfig.instanceName ( self)

Definition at line 659 of file MuonAnalysisConfig.py.

659 def instanceName (self) :
660 return self.containerName
661

◆ makeAlgs()

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

Definition at line 662 of file MuonAnalysisConfig.py.

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

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