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

Constructor & Destructor Documentation

◆ __init__()

python.MuonAnalysisConfig.MuonLRTMergedConfig.__init__ ( self)

Definition at line 541 of file MuonAnalysisConfig.py.

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

Member Function Documentation

◆ instanceName()

python.MuonAnalysisConfig.MuonLRTMergedConfig.instanceName ( self)

Definition at line 559 of file MuonAnalysisConfig.py.

559 def instanceName (self) :
560 return self.containerName
561

◆ makeAlgs()

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

Definition at line 562 of file MuonAnalysisConfig.py.

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

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