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

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonLRTMergedConfig.__init__ ( self)

Definition at line 644 of file MuonAnalysisConfig.py.

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

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonLRTMergedConfig.instanceName ( self)

Definition at line 662 of file MuonAnalysisConfig.py.

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

◆ makeAlgs()

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

Definition at line 665 of file MuonAnalysisConfig.py.

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

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