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

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonLRTMergedConfig.__init__ ( self)

Definition at line 599 of file MuonAnalysisConfig.py.

599 def __init__ (self) :
600 super (MuonLRTMergedConfig, self).__init__ ()
601 self.addOption (
602 'inputMuons', 'Muons', type=str,
603 noneAction='error',
604 info="the name of the input muon container."
605 )
606 self.addOption (
607 'inputLRTMuons', 'MuonsLRT', type=str,
608 noneAction='error',
609 info="the name of the input LRT muon container."
610 )
611 self.addOption (
612 'containerName', 'Muons_LRTMerged', type=str,
613 noneAction='error',
614 info="the name of the output container after LRT merging."
615 )
616

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonLRTMergedConfig.instanceName ( self)

Definition at line 617 of file MuonAnalysisConfig.py.

617 def instanceName (self) :
618 return self.containerName
619

◆ makeAlgs()

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

Definition at line 620 of file MuonAnalysisConfig.py.

620 def makeAlgs (self, config) :
621
622 if config.isPhyslite() :
623 raise(RuntimeError("Muon LRT merging is not available in Physlite mode"))
624
625 alg = config.createAlgorithm( "CP::MuonLRTMergingAlg", "MuonLRTMergingAlg" )
626 alg.PromptMuonLocation = self.inputMuons
627 alg.LRTMuonLocation = self.inputLRTMuons
628 alg.OutputMuonLocation = self.containerName
629 alg.UseRun3WP = config.geometry() >= LHCPeriod.Run3
630 alg.CreateViewCollection = False
631

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