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

Public Member Functions

def __init__ (self, inputTaus='TauJets', inputTausMuRM='TauJets_MuonRM', outputTaus='TauJets_MuonRmCombined', postfix='')
 
def makeAlgs (self, config)
 

Detailed Description

Definition at line 250 of file TauAnalysisConfig.py.

Constructor & Destructor Documentation

◆ __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__ ()
253  self.addOption (
254  'inputTaus', inputTaus, type=str,
255  noneAction='error',
256  info="the name of the input tau container."
257  )
258  self.addOption (
259  'inputTausMuRM', inputTausMuRM, type=str,
260  noneAction='error',
261  info="the name of the input tau container with muon removal applied."
262  )
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."
266  )
267  self.addOption (
268  'outputTaus', outputTaus, type=str,
269  noneAction='error',
270  info="the name of the output tau container."
271  )
272 

Member Function Documentation

◆ makeAlgs()

def python.TauAnalysisConfig.EXPERIMENTAL_TauCombineMuonRemovalConfig.makeAlgs (   self,
  config 
)

Definition at line 273 of file TauAnalysisConfig.py.

273  def makeAlgs (self, config) :
274 
275  postfix = self.postfix
276  if postfix != '' and postfix[0] != '_' :
277  postfix = '_' + postfix
278 
279  if config.isPhyslite() :
280  raise(RuntimeError("Muon removal taus is not available in Physlite mode"))
281 
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
286 
287 

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