ATLAS Offline Software
Public Member Functions | List of all members
python.MuonAnalysisConfig.MuonLRTMergedConfig Class Reference
Inheritance diagram for python.MuonAnalysisConfig.MuonLRTMergedConfig:
Collaboration diagram for python.MuonAnalysisConfig.MuonLRTMergedConfig:

Public Member Functions

def __init__ (self)
 
def instanceName (self)
 
def makeAlgs (self, config)
 

Detailed Description

Definition at line 527 of file MuonAnalysisConfig.py.

Constructor & Destructor Documentation

◆ __init__()

def python.MuonAnalysisConfig.MuonLRTMergedConfig.__init__ (   self)

Definition at line 528 of file MuonAnalysisConfig.py.

528  def __init__ (self) :
529  super (MuonLRTMergedConfig, self).__init__ ()
530  self.addOption (
531  'inputMuons', 'Muons', type=str,
532  noneAction='error',
533  info="the name of the input muon container."
534  )
535  self.addOption (
536  'inputLRTMuons', 'MuonsLRT', type=str,
537  noneAction='error',
538  info="the name of the input LRT muon container."
539  )
540  self.addOption (
541  'containerName', 'Muons_LRTMerged', type=str,
542  noneAction='error',
543  info="the name of the output container after LRT merging."
544  )
545 

Member Function Documentation

◆ instanceName()

def python.MuonAnalysisConfig.MuonLRTMergedConfig.instanceName (   self)

Definition at line 546 of file MuonAnalysisConfig.py.

546  def instanceName (self) :
547  return self.containerName
548 

◆ makeAlgs()

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

Definition at line 549 of file MuonAnalysisConfig.py.

549  def makeAlgs (self, config) :
550 
551  if config.isPhyslite() :
552  raise(RuntimeError("Muon LRT merging is not available in Physlite mode"))
553 
554  alg = config.createAlgorithm( "CP::MuonLRTMergingAlg", "MuonLRTMergingAlg" )
555  alg.PromptMuonLocation = self.inputMuons
556  alg.LRTMuonLocation = self.inputLRTMuons
557  alg.OutputMuonLocation = self.containerName
558  alg.UseRun3WP = config.geometry() >= LHCPeriod.Run3
559  alg.CreateViewCollection = False
560 

The documentation for this class was generated from the following file:
python.processes.powheg.ZZj_MiNNLO.ZZj_MiNNLO.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZj_MiNNLO.py:18