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

Constructor & Destructor Documentation

◆ __init__()

def python.MuonAnalysisConfig.MuonLRTMergedConfig.__init__ (   self)

Definition at line 531 of file MuonAnalysisConfig.py.

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

Member Function Documentation

◆ instanceName()

def python.MuonAnalysisConfig.MuonLRTMergedConfig.instanceName (   self)

Definition at line 549 of file MuonAnalysisConfig.py.

549  def instanceName (self) :
550  return self.containerName
551 

◆ makeAlgs()

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

Definition at line 552 of file MuonAnalysisConfig.py.

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

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