|
def | __init__ (self, inputTaus='TauJets', inputTausMuRM='TauJets_MuonRM', outputTaus='TauJets_MuonRmCombined', postfix='') |
|
def | makeAlgs (self, config) |
|
Definition at line 250 of file TauAnalysisConfig.py.
◆ __init__()
def python.TauAnalysisConfig.EXPERIMENTAL_TauCombineMuonRemovalConfig.__init__ |
( |
|
self, |
|
|
|
inputTaus = 'TauJets' , |
|
|
|
inputTausMuRM = 'TauJets_MuonRM' , |
|
|
|
outputTaus = 'TauJets_MuonRmCombined' , |
|
|
|
postfix = '' |
|
) |
| |
Definition at line 251 of file TauAnalysisConfig.py.
251 def __init__ (self, inputTaus = 'TauJets', inputTausMuRM = 'TauJets_MuonRM', outputTaus = 'TauJets_MuonRmCombined', postfix = '') :
252 super (EXPERIMENTAL_TauCombineMuonRemovalConfig, self).__init__ ()
254 'inputTaus', inputTaus, type=str,
256 info=
"the name of the input tau container."
259 'inputTausMuRM', inputTausMuRM, type=str,
261 info=
"the name of the input tau container with muon removal applied."
263 self.addOption (
'postfix', postfix, type=str,
264 info=
"a postfix to apply to decorations and algorithm names. "
265 "Typically not needed here as selectionName is used internally."
268 'outputTaus', outputTaus, type=str,
270 info=
"the name of the output tau container."
◆ makeAlgs()
def python.TauAnalysisConfig.EXPERIMENTAL_TauCombineMuonRemovalConfig.makeAlgs |
( |
|
self, |
|
|
|
config |
|
) |
| |
Definition at line 273 of file TauAnalysisConfig.py.
273 def makeAlgs (self, config) :
275 postfix = self.postfix
276 if postfix !=
'' and postfix[0] !=
'_' :
277 postfix =
'_' + postfix
279 if config.isPhyslite() :
280 raise(RuntimeError(
"Muon removal taus is not available in Physlite mode"))
282 alg = config.createAlgorithm(
'CP::TauCombineMuonRMTausAlg',
'TauCombineMuonRMTausAlg' + postfix )
283 alg.taus = self.inputTaus
284 alg.muonrm_taus = self.inputTausMuRM
285 alg.combined_taus = self.outputTaus
The documentation for this class was generated from the following file: