ConfigBlock for the jet reclustering calibration algorithm:
bootstrap reclustered Large-R jet calibration by manually
setting 4-momentum from calibrated constituent small-R jets
Definition at line 5 of file ReclusteredJetCalibrationConfig.py.
◆ __init__()
def python.ReclusteredJetCalibrationConfig.ReclusteredJetCalibrationBlock.__init__ |
( |
|
self | ) |
|
Definition at line 10 of file ReclusteredJetCalibrationConfig.py.
11 super(ReclusteredJetCalibrationBlock, self).
__init__()
12 self.addOption (
'containerName',
'', type=str,
13 info=
'the name of the output container after calibration.')
14 self.addOption (
'jetCollection',
'', type=str,
15 info=
"the reclustered Large-R jet container to run on.")
16 self.addOption (
'jetInput',
'', type=str,
17 info=
'the input calibrated small-R jet collection to use')
◆ instanceName()
def python.ReclusteredJetCalibrationConfig.ReclusteredJetCalibrationBlock.instanceName |
( |
|
self | ) |
|
Return the instance name for this block
Definition at line 19 of file ReclusteredJetCalibrationConfig.py.
19 def instanceName (self) :
20 """Return the instance name for this block"""
21 return self.containerName
◆ makeAlgs()
def python.ReclusteredJetCalibrationConfig.ReclusteredJetCalibrationBlock.makeAlgs |
( |
|
self, |
|
|
|
config |
|
) |
| |
Definition at line 23 of file ReclusteredJetCalibrationConfig.py.
23 def makeAlgs(self, config):
25 config.setSourceName (self.containerName, self.jetCollection, originalName = self.jetCollection)
28 if config.wantCopy (self.containerName) :
29 alg = config.createAlgorithm(
'CP::AsgShallowCopyAlg',
'ReclusteredJetShallowCopyAlg')
30 alg.input = config.readName (self.containerName)
31 alg.output = config.copyName (self.containerName)
33 alg = config.createAlgorithm(
'CP::ReclusteredJetCalibrationAlg',
'ReclusteredJetCalibrationAlg')
35 alg.reclusteredJets = config.readName(self.containerName)
36 alg.reclusteredJetsOut = config.copyName(self.containerName)
37 alg.smallRJets = config.readName(self.jetInput)
39 config.addOutputVar(self.containerName,
'pt',
'pt')
40 config.addOutputVar(self.containerName,
'eta',
'eta')
41 config.addOutputVar(self.containerName,
'phi',
'phi')
42 config.addOutputVar(self.containerName,
'm',
'm')
The documentation for this class was generated from the following file: