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

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonLRTMergedConfig.__init__ ( self)

Definition at line 551 of file MuonAnalysisConfig.py.

551 def __init__ (self) :
552 super (MuonLRTMergedConfig, self).__init__ ()
553 self.addOption (
554 'inputMuons', 'Muons', type=str,
555 noneAction='error',
556 info="the name of the input muon container."
557 )
558 self.addOption (
559 'inputLRTMuons', 'MuonsLRT', type=str,
560 noneAction='error',
561 info="the name of the input LRT muon container."
562 )
563 self.addOption (
564 'containerName', 'Muons_LRTMerged', type=str,
565 noneAction='error',
566 info="the name of the output container after LRT merging."
567 )
568

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonLRTMergedConfig.instanceName ( self)

Definition at line 569 of file MuonAnalysisConfig.py.

569 def instanceName (self) :
570 return self.containerName
571

◆ makeAlgs()

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

Definition at line 572 of file MuonAnalysisConfig.py.

572 def makeAlgs (self, config) :
573
574 if config.isPhyslite() :
575 raise(RuntimeError("Muon LRT merging is not available in Physlite mode"))
576
577 alg = config.createAlgorithm( "CP::MuonLRTMergingAlg", "MuonLRTMergingAlg" )
578 alg.PromptMuonLocation = self.inputMuons
579 alg.LRTMuonLocation = self.inputLRTMuons
580 alg.OutputMuonLocation = self.containerName
581 alg.UseRun3WP = config.geometry() >= LHCPeriod.Run3
582 alg.CreateViewCollection = False
583

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