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

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonLRTMergedConfig.__init__ ( self)

Definition at line 545 of file MuonAnalysisConfig.py.

545 def __init__ (self) :
546 super (MuonLRTMergedConfig, self).__init__ ()
547 self.addOption (
548 'inputMuons', 'Muons', type=str,
549 noneAction='error',
550 info="the name of the input muon container."
551 )
552 self.addOption (
553 'inputLRTMuons', 'MuonsLRT', type=str,
554 noneAction='error',
555 info="the name of the input LRT muon container."
556 )
557 self.addOption (
558 'containerName', 'Muons_LRTMerged', type=str,
559 noneAction='error',
560 info="the name of the output container after LRT merging."
561 )
562

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonLRTMergedConfig.instanceName ( self)

Definition at line 563 of file MuonAnalysisConfig.py.

563 def instanceName (self) :
564 return self.containerName
565

◆ makeAlgs()

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

Definition at line 566 of file MuonAnalysisConfig.py.

566 def makeAlgs (self, config) :
567
568 if config.isPhyslite() :
569 raise(RuntimeError("Muon LRT merging is not available in Physlite mode"))
570
571 alg = config.createAlgorithm( "CP::MuonLRTMergingAlg", "MuonLRTMergingAlg" )
572 alg.PromptMuonLocation = self.inputMuons
573 alg.LRTMuonLocation = self.inputLRTMuons
574 alg.OutputMuonLocation = self.containerName
575 alg.UseRun3WP = config.geometry() >= LHCPeriod.Run3
576 alg.CreateViewCollection = False
577

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