the ConfigBlock for the tau four-momentum correction
Definition at line 8 of file DiTauAnalysisConfig.py.
◆ __init__()
def python.DiTauAnalysisConfig.DiTauCalibrationConfig.__init__ |
( |
|
self, |
|
|
|
containerName, |
|
|
|
postfix |
|
) |
| |
Definition at line 11 of file DiTauAnalysisConfig.py.
11 def __init__ (self, containerName, postfix) :
12 super (DiTauCalibrationConfig, self).__init__ ()
13 self.containerName = containerName
14 self.postfix = postfix
15 self.rerunTruthMatching =
True
◆ makeAlgs()
def python.DiTauAnalysisConfig.DiTauCalibrationConfig.makeAlgs |
( |
|
self, |
|
|
|
config |
|
) |
| |
Definition at line 18 of file DiTauAnalysisConfig.py.
18 def makeAlgs (self, config) :
20 postfix = self.postfix
21 if postfix !=
'' and postfix[0] !=
'_' :
22 postfix =
'_' + postfix
25 alg = config.createAlgorithm(
'CP::DiTauSmearingAlg',
'DiTauSmearingAlg' + postfix )
26 config.addPrivateTool(
'smearingTool',
'TauAnalysisTools::DiTauSmearingTool' )
27 alg.taus = config.readName (self.containerName,
"DiTauJets")
28 alg.tausOut = config.copyName (self.containerName)
29 alg.preselection = config.getPreselection (self.containerName,
'')
32 if self.rerunTruthMatching
and config.dataType()
is not DataType.Data:
33 alg = config.createAlgorithm(
'CP::DiTauTruthMatchingAlg',
34 'DiTauTruthMatchingAlg' + postfix )
35 config.addPrivateTool(
'matchingTool',
36 'TauAnalysisTools::DiTauTruthMatchingTool' )
37 alg.taus = self.readName (self.containerName)
38 alg.preselection = config.getPreselection (self.containerName,
'')
◆ containerName
python.DiTauAnalysisConfig.DiTauCalibrationConfig.containerName |
◆ postfix
python.DiTauAnalysisConfig.DiTauCalibrationConfig.postfix |
◆ rerunTruthMatching
python.DiTauAnalysisConfig.DiTauCalibrationConfig.rerunTruthMatching |
The documentation for this class was generated from the following file: