Definition at line 508 of file MuonAnalysisConfig.py.
◆ __init__()
def python.MuonAnalysisConfig.MuonLRTMergedConfig.__init__ |
( |
|
self | ) |
|
Definition at line 509 of file MuonAnalysisConfig.py.
510 super (MuonLRTMergedConfig, self).__init__ ()
512 'inputMuons',
'Muons', type=str,
514 info=
"the name of the input muon container."
517 'inputLRTMuons',
'MuonsLRT', type=str,
519 info=
"the name of the input LRT muon container."
522 'containerName',
'Muons_LRTMerged', type=str,
524 info=
"the name of the output container after LRT merging."
◆ makeAlgs()
def python.MuonAnalysisConfig.MuonLRTMergedConfig.makeAlgs |
( |
|
self, |
|
|
|
config |
|
) |
| |
Definition at line 527 of file MuonAnalysisConfig.py.
527 def makeAlgs (self, config) :
529 if config.isPhyslite() :
530 raise(RuntimeError(
"Muon LRT merging is not available in Physlite mode"))
532 alg = config.createAlgorithm(
"CP::MuonLRTMergingAlg",
"MuonLRTMergingAlg" + self.containerName )
533 alg.PromptMuonLocation = self.inputMuons
534 alg.LRTMuonLocation = self.inputLRTMuons
535 alg.OutputMuonLocation = self.containerName
536 alg.UseRun3WP = config.geometry() >= LHCPeriod.Run3
537 alg.CreateViewCollection =
False
The documentation for this class was generated from the following file: