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

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonLRTMergedConfig.__init__ ( self)

Definition at line 645 of file MuonAnalysisConfig.py.

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

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonLRTMergedConfig.instanceName ( self)

Definition at line 663 of file MuonAnalysisConfig.py.

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

◆ makeAlgs()

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

Definition at line 666 of file MuonAnalysisConfig.py.

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

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