Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | List of all members
python.ReclusteredJetCalibrationConfig.ReclusteredJetCalibrationBlock Class Reference
Inheritance diagram for python.ReclusteredJetCalibrationConfig.ReclusteredJetCalibrationBlock:
Collaboration diagram for python.ReclusteredJetCalibrationConfig.ReclusteredJetCalibrationBlock:

Public Member Functions

def __init__ (self, containerName='', jetCollection='', jetInput='')
 
def makeAlgs (self, config)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

def python.ReclusteredJetCalibrationConfig.ReclusteredJetCalibrationBlock.__init__ (   self,
  containerName = '',
  jetCollection = '',
  jetInput = '' 
)

Definition at line 10 of file ReclusteredJetCalibrationConfig.py.

10  def __init__(self, containerName='', jetCollection='', jetInput=''):
11  super(ReclusteredJetCalibrationBlock, self).__init__()
12  self.addOption ('containerName', containerName, type=str,
13  info='the name of the output container after calibration.')
14  self.addOption ('jetCollection', jetCollection, type=str,
15  info="the reclustered Large-R jet container to run on.")
16  self.addOption ('jetInput', jetInput, type=str,
17  info='the input calibrated small-R jet collection to use')
18 

Member Function Documentation

◆ makeAlgs()

def python.ReclusteredJetCalibrationConfig.ReclusteredJetCalibrationBlock.makeAlgs (   self,
  config 
)

Definition at line 19 of file ReclusteredJetCalibrationConfig.py.

19  def makeAlgs(self, config):
20 
21  config.setSourceName (self.containerName, self.jetCollection, originalName = self.jetCollection)
22 
23  # Set up a shallow copy to decorate
24  if config.wantCopy (self.containerName) :
25  alg = config.createAlgorithm( 'CP::AsgShallowCopyAlg', 'ReclusteredJetShallowCopyAlg')
26  alg.input = config.readName (self.containerName)
27  alg.output = config.copyName (self.containerName)
28 
29  alg = config.createAlgorithm('CP::ReclusteredJetCalibrationAlg', 'ReclusteredJetCalibrationAlg' + self.containerName)
30 
31  alg.reclusteredJets = config.readName(self.containerName)
32  alg.reclusteredJetsOut = config.copyName(self.containerName)
33  alg.smallRJets = config.readName(self.jetInput)
34 
35  config.addOutputVar(self.containerName, 'pt', 'pt')
36  config.addOutputVar(self.containerName, 'eta', 'eta')
37  config.addOutputVar(self.containerName, 'phi', 'phi')
38  config.addOutputVar(self.containerName, 'm', 'm')
39 

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