CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes | Static Private Attributes
jetTools.SwitchJetCollection Class Reference
Inheritance diagram for jetTools.SwitchJetCollection:

Public Member Functions

def __call__ (self, process, postfix=None, btagPrefix=None, jetSource=None, pfCandidates=None, explicitJTA=None, pvSource=None, svSource=None, elSource=None, muSource=None, runIVF=None, tightBTagNTkHits=None, loadStdRecoBTag=None, svClustering=None, fatJets=None, groomedFatJets=None, algo=None, rParam=None, getJetMCFlavour=None, genJetCollection=None, genParticles=None, jetCorrections=None, btagDiscriminators=None, btagInfos=None, jetTrackAssociation=None, outputModules=None)
 
def __init__ (self)
 
def getDefaultParameters (self)
 
def toolCode (self, process)
 

Private Attributes

 _comment
 add comments More...
 
 _parameters
 initialization of the base class More...
 

Static Private Attributes

 _defaultParameters
 
 _label
 

Detailed Description

Tool to switch parameters of the PAT jet collection to your PAT Tuple.

Definition at line 1316 of file jetTools.py.

Constructor & Destructor Documentation

◆ __init__()

def jetTools.SwitchJetCollection.__init__ (   self)
Initialize elements of the class. Note that the tool needs to be derived from ConfigToolBase to be usable in the configEditor.

Definition at line 1323 of file jetTools.py.

1323  def __init__(self):
1324  """
1325  Initialize elements of the class. Note that the tool needs to be derived from ConfigToolBase to be usable in the configEditor.
1326  """
1327 
1328  ConfigToolBase.__init__(self)
1329 
1330  self.addParameter(self._defaultParameters,'postfix','', "postfix from usePF2PAT")
1331  self.addParameter(self._defaultParameters,'btagPrefix','', "Prefix to be added to b-tag discriminator and TagInfo names", str)
1332  self.addParameter(self._defaultParameters,'jetSource','', "Label of the input collection from which the new patJet collection should be created", cms.InputTag)
1333  self.addParameter(self._defaultParameters,'pfCandidates',cms.InputTag('particleFlow'), "Label of the input collection for candidatecandidatese used in b-tagging", cms.InputTag)
1334  self.addParameter(self._defaultParameters,'explicitJTA', False, "Use explicit jet-track association")
1335  self.addParameter(self._defaultParameters,'pvSource',cms.InputTag('offlinePrimaryVertices'), "Label of the input collection for primary vertices used in b-tagging", cms.InputTag)
1336  self.addParameter(self._defaultParameters,'svSource',cms.InputTag('inclusiveCandidateSecondaryVertices'), "Label of the input collection for IVF vertices used in b-tagging", cms.InputTag)
1337  self.addParameter(self._defaultParameters,'elSource',cms.InputTag('gedGsfElectrons'), "Label of the input collection for electrons used in b-tagging", cms.InputTag)
1338  self.addParameter(self._defaultParameters,'muSource',cms.InputTag('muons'), "Label of the input collection for muons used in b-tagging", cms.InputTag)
1339  self.addParameter(self._defaultParameters,'runIVF', False, "Re-run IVF secondary vertex reconstruction")
1340  self.addParameter(self._defaultParameters,'tightBTagNTkHits', False, "Enable legacy tight b-tag track selection")
1341  self.addParameter(self._defaultParameters,'loadStdRecoBTag', False, "Load the standard reconstruction b-tagging modules")
1342  self.addParameter(self._defaultParameters,'svClustering', False, "Secondary vertices ghost-associated to jets using jet clustering (mostly intended for subjets)")
1343  self.addParameter(self._defaultParameters,'fatJets', cms.InputTag(''), "Fat jet collection used for secondary vertex clustering", cms.InputTag)
1344  self.addParameter(self._defaultParameters,'groomedFatJets', cms.InputTag(''), "Groomed fat jet collection used for secondary vertex clustering", cms.InputTag)
1345  self.addParameter(self._defaultParameters,'algo', 'AK', "Jet algorithm of the input collection from which the new patJet collection should be created")
1346  self.addParameter(self._defaultParameters,'rParam', 0.4, "Jet size (distance parameter R used in jet clustering)")
1347  self.addParameter(self._defaultParameters,'getJetMCFlavour', True, "Get jet MC truth flavour")
1348  self.addParameter(self._defaultParameters,'genJetCollection', cms.InputTag("ak4GenJets"), "GenJet collection to match to")
1349  self.addParameter(self._defaultParameters,'genParticles', cms.InputTag("genParticles"), "GenParticle collection to be used", cms.InputTag)
1350  self.addParameter(self._defaultParameters,'jetCorrections',None, "Add all relevant information about jet energy corrections that you want to be added to your new patJet \
1351  collection. The format is to be passed on in a python tuple: e.g. (\'AK4Calo\',[\'L2Relative\', \'L3Absolute\'], patMet). The first argument corresponds to the payload \
1352  in the CMS Conditions database for the given jet collection; the second argument corresponds to the jet energy correction level that you want to be embedded into your \
1353  new patJet collection. This should be given as a list of strings. Available values are L1Offset, L1FastJet, L1JPTOffset, L2Relative, L3Absolute, L5Falvour, L7Parton; the \
1354  third argument indicates whether MET(Type1) corrections should be applied corresponding to the new patJetCollection. If so a new patMet collection will be added to your PAT \
1355  Tuple in addition to the raw patMet with the MET(Type1) corrections applied. The argument corresponds to the patMet collection to which the MET(Type1) corrections should be \
1356  applied. If you are not interested in MET(Type1) corrections to this new patJet collection pass None as third argument of the python tuple.", tuple, acceptNoneValue=True)
1357  self.addParameter(self._defaultParameters,'btagDiscriminators',['None'], "If you are interested in btagging in general the btag discriminators is all relevant \
1358  information that you need for a high level analysis. Add here all btag discriminators, that you are interested in as a list of strings. If this list is empty no btag \
1359  discriminator information will be added to your new patJet collection.", allowedValues=(list(set().union(supportedBtagDiscr.keys(),supportedMetaDiscr.keys()))),Type=list)
1360  self.addParameter(self._defaultParameters,'btagInfos',['None'], "The btagInfos objects conatin all relevant information from which all discriminators of a certain \
1361  type have been calculated. Note that this information on the one hand can be very space consuming and on the other hand is not necessary to access the btag discriminator \
1362  information that has been derived from it. Only in very special cases the btagInfos might really be needed in your analysis. Add here all btagInfos, that you are interested \
1363  in as a list of strings. If this list is empty no btagInfos will be added to your new patJet collection.", allowedValues=supportedBtagInfos,Type=list)
1364  self.addParameter(self._defaultParameters,'jetTrackAssociation',False, "Add JetTrackAssociation and JetCharge from reconstructed tracks to your new patJet collection. This \
1365  switch is only of relevance if you don\'t add any btag information to your new patJet collection (btagDiscriminators or btagInfos) and still want this information added to \
1366  your new patJetCollection. If btag information is added to the new patJet collection this information will be added automatically.")
1367  self.addParameter(self._defaultParameters,'outputModules',['out'],"Output module labels. Add a list of all output modules to which you would like the new jet collection to \
1368  be added, in case you use more than one output module.")
1369 
1370  self._parameters=copy.deepcopy(self._defaultParameters)
1371 
1372  self._comment = "This is a tool to add more patJet collectinos to your PAT Tuple. You can add and embed additional information like jet energy correction factors, btag \
1373  information and generator match information to the new patJet collection depending on the parameters that you pass on to this function. Consult the descriptions of each \
1374  parameter for more information."
1375 

References heavyIonTools.ConfigureHeavyIons._defaultParameters, coreTools.RunOnData._defaultParameters, heavyIonTools.ProductionDefaults._defaultParameters, cmsswVersionTools.PickRelValInputFiles._defaultParameters, coreTools.RemoveMCMatching._defaultParameters, heavyIonTools.SelectionDefaults._defaultParameters, heavyIonTools.DisbaleMonteCarloDeps._defaultParameters, jetTools.AddJetCollection._defaultParameters, jetTools.SwitchJetCollection._defaultParameters, root::helper::RootFunctionAdapter< F, args >.addParameter(), root::helper::RootFunctionHelper< F, args, Tag >.addParameter(), ParameterMgr.addParameter(), fit::RootMinuit< Function >.addParameter(), DropBoxMetadata::Parameters.addParameter(), Python11ParameterSet.addParameter(), cmspython3::Python11ParameterSet.addParameter(), l1t::TriggerSystem.addParameter(), LutXml.addParameter(), ConfigToolBase.ConfigToolBase.addParameter(), and edm::ParameterSet.addParameter().

Member Function Documentation

◆ __call__()

def jetTools.SwitchJetCollection.__call__ (   self,
  process,
  postfix = None,
  btagPrefix = None,
  jetSource = None,
  pfCandidates = None,
  explicitJTA = None,
  pvSource = None,
  svSource = None,
  elSource = None,
  muSource = None,
  runIVF = None,
  tightBTagNTkHits = None,
  loadStdRecoBTag = None,
  svClustering = None,
  fatJets = None,
  groomedFatJets = None,
  algo = None,
  rParam = None,
  getJetMCFlavour = None,
  genJetCollection = None,
  genParticles = None,
  jetCorrections = None,
  btagDiscriminators = None,
  btagInfos = None,
  jetTrackAssociation = None,
  outputModules = None 
)
Function call wrapper. This will check the parameters and call the actual implementation that
can be found in toolCode via the base class function apply.

Definition at line 1382 of file jetTools.py.

1382  def __call__(self,process,postfix=None,btagPrefix=None,jetSource=None,pfCandidates=None,explicitJTA=None,pvSource=None,svSource=None,elSource=None,muSource=None,runIVF=None,tightBTagNTkHits=None,loadStdRecoBTag=None,svClustering=None,fatJets=None,groomedFatJets=None,algo=None,rParam=None,getJetMCFlavour=None,genJetCollection=None,genParticles=None,jetCorrections=None,btagDiscriminators=None,btagInfos=None,jetTrackAssociation=None,outputModules=None):
1383  """
1384  Function call wrapper. This will check the parameters and call the actual implementation that
1385  can be found in toolCode via the base class function apply.
1386  """
1387  if postfix is None:
1388  postfix=self._defaultParameters['postfix'].value
1389  self.setParameter('postfix', postfix)
1390  if btagPrefix is None:
1391  btagPrefix=self._defaultParameters['btagPrefix'].value
1392  self.setParameter('btagPrefix', btagPrefix)
1393  if jetSource is None:
1394  jetSource=self._defaultParameters['jetSource'].value
1395  self.setParameter('jetSource', jetSource)
1396  if pfCandidates is None:
1397  pfCandidates=self._defaultParameters['pfCandidates'].value
1398  self.setParameter('pfCandidates', pfCandidates)
1399  if explicitJTA is None:
1400  explicitJTA=self._defaultParameters['explicitJTA'].value
1401  self.setParameter('explicitJTA', explicitJTA)
1402  if pvSource is None:
1403  pvSource=self._defaultParameters['pvSource'].value
1404  self.setParameter('pvSource', pvSource)
1405  if svSource is None:
1406  svSource=self._defaultParameters['svSource'].value
1407  self.setParameter('svSource', svSource)
1408  if elSource is None:
1409  elSource=self._defaultParameters['elSource'].value
1410  self.setParameter('elSource', elSource)
1411  if muSource is None:
1412  muSource=self._defaultParameters['muSource'].value
1413  self.setParameter('muSource', muSource)
1414  if runIVF is None:
1415  runIVF=self._defaultParameters['runIVF'].value
1416  self.setParameter('runIVF', runIVF)
1417  if tightBTagNTkHits is None:
1418  tightBTagNTkHits=self._defaultParameters['tightBTagNTkHits'].value
1419  self.setParameter('tightBTagNTkHits', tightBTagNTkHits)
1420  if loadStdRecoBTag is None:
1421  loadStdRecoBTag=self._defaultParameters['loadStdRecoBTag'].value
1422  self.setParameter('loadStdRecoBTag', loadStdRecoBTag)
1423  if svClustering is None:
1424  svClustering=self._defaultParameters['svClustering'].value
1425  self.setParameter('svClustering', svClustering)
1426  if fatJets is None:
1427  fatJets=self._defaultParameters['fatJets'].value
1428  self.setParameter('fatJets', fatJets)
1429  if groomedFatJets is None:
1430  groomedFatJets=self._defaultParameters['groomedFatJets'].value
1431  self.setParameter('groomedFatJets', groomedFatJets)
1432  if algo is None:
1433  algo=self._defaultParameters['algo'].value
1434  self.setParameter('algo', algo)
1435  if rParam is None:
1436  rParam=self._defaultParameters['rParam'].value
1437  self.setParameter('rParam', rParam)
1438  if getJetMCFlavour is None:
1439  getJetMCFlavour=self._defaultParameters['getJetMCFlavour'].value
1440  self.setParameter('getJetMCFlavour', getJetMCFlavour)
1441  if genJetCollection is None:
1442  genJetCollection=self._defaultParameters['genJetCollection'].value
1443  self.setParameter('genJetCollection', genJetCollection)
1444  if genParticles is None:
1445  genParticles=self._defaultParameters['genParticles'].value
1446  self.setParameter('genParticles', genParticles)
1447  if jetCorrections is None:
1448  jetCorrections=self._defaultParameters['jetCorrections'].value
1449  self.setParameter('jetCorrections', jetCorrections)
1450  if btagDiscriminators is None:
1451  btagDiscriminators=self._defaultParameters['btagDiscriminators'].value
1452  self.setParameter('btagDiscriminators', btagDiscriminators)
1453  if btagInfos is None:
1454  btagInfos=self._defaultParameters['btagInfos'].value
1455  self.setParameter('btagInfos', btagInfos)
1456  if jetTrackAssociation is None:
1457  jetTrackAssociation=self._defaultParameters['jetTrackAssociation'].value
1458  self.setParameter('jetTrackAssociation', jetTrackAssociation)
1459  if outputModules is None:
1460  outputModules=self._defaultParameters['outputModules'].value
1461  self.setParameter('outputModules', outputModules)
1462  self.apply(process)
1463 

References heavyIonTools.ConfigureHeavyIons._defaultParameters, coreTools.RunOnData._defaultParameters, heavyIonTools.ProductionDefaults._defaultParameters, cmsswVersionTools.PickRelValInputFiles._defaultParameters, coreTools.RemoveMCMatching._defaultParameters, heavyIonTools.SelectionDefaults._defaultParameters, heavyIonTools.DisbaleMonteCarloDeps._defaultParameters, jetTools.AddJetCollection._defaultParameters, jetTools.SwitchJetCollection._defaultParameters, SignedImpactParameter3D.apply(), SignedDecayLength3D.apply(), SignedTransverseImpactParameter.apply(), gen::PhotosInterfaceBase.apply(), SurveyParameters.apply(), DummyOOTPileupCorrection.apply(), MatrixReader.MatrixReader.apply, gen::PhotosppInterface.apply(), gen::PhotosInterface.apply(), FWPSetCellEditor.apply(), BeamSpotAlignmentParameters.apply(), RigidBodyAlignmentParameters.apply(), DeviationsFromFileSensor2D.apply(), FWGUIEventFilter.apply(), AlignmentParameters.apply(), ConfigToolBase.ConfigToolBase.apply(), BowedSurfaceAlignmentParameters.apply(), OOTPileupCorrData.apply(), AbsOOTPileupCorrection.apply(), TwoBowedSurfacesAlignmentParameters.apply(), reco::modules::TrackerTrackHitFilter::Rule.apply(), cmsswVersionTools.PickRelValInputFiles.apply(), models.RegExp.apply(), npstat::ArrayND< Num1, Len1, Dim1 >.apply(), npstat::ArrayND< Numeric, StackLen, StackDim >.apply(), npstat::ArrayND< Numeric >.apply(), Config.ProcessModifier.apply(), PedeReader.setParameter(), QIE8Simulator.setParameter(), AbsElectronicODERHS.setParameter(), SiStripLorentzAngleCalibration.setParameter(), IntegratedCalibrationBase.setParameter(), SiPixelLorentzAngleCalibration.setParameter(), SiStripBackplaneCalibration.setParameter(), fit::RootMinuit< Function >.setParameter(), and ConfigToolBase.ConfigToolBase.setParameter().

◆ getDefaultParameters()

def jetTools.SwitchJetCollection.getDefaultParameters (   self)

◆ toolCode()

def jetTools.SwitchJetCollection.toolCode (   self,
  process 
)
Tool code implementation

Definition at line 1464 of file jetTools.py.

1464  def toolCode(self, process):
1465  """
1466  Tool code implementation
1467  """
1468 
1469  postfix=self._parameters['postfix'].value
1470  btagPrefix=self._parameters['btagPrefix'].value
1471  jetSource=self._parameters['jetSource'].value
1472  pfCandidates=self._parameters['pfCandidates'].value
1473  explicitJTA=self._parameters['explicitJTA'].value
1474  pvSource=self._parameters['pvSource'].value
1475  svSource=self._parameters['svSource'].value
1476  elSource=self._parameters['elSource'].value
1477  muSource=self._parameters['muSource'].value
1478  runIVF=self._parameters['runIVF'].value
1479  tightBTagNTkHits=self._parameters['tightBTagNTkHits'].value
1480  loadStdRecoBTag=self._parameters['loadStdRecoBTag'].value
1481  svClustering=self._parameters['svClustering'].value
1482  fatJets=self._parameters['fatJets'].value
1483  groomedFatJets=self._parameters['groomedFatJets'].value
1484  algo=self._parameters['algo'].value
1485  rParam=self._parameters['rParam'].value
1486  getJetMCFlavour=self._parameters['getJetMCFlavour'].value
1487  genJetCollection=self._parameters['genJetCollection'].value
1488  genParticles=self._parameters['genParticles'].value
1489  jetCorrections=self._parameters['jetCorrections'].value
1490  btagDiscriminators=self._parameters['btagDiscriminators'].value
1491  btagInfos=self._parameters['btagInfos'].value
1492  jetTrackAssociation=self._parameters['jetTrackAssociation'].value
1493  outputModules=self._parameters['outputModules'].value
1494 
1495 
1496  addJetCollection(
1497  process,
1498  labelName='',
1499  postfix=postfix,
1500  btagPrefix=btagPrefix,
1501  jetSource=jetSource,
1502  pfCandidates=pfCandidates,
1503  explicitJTA=explicitJTA,
1504  pvSource=pvSource,
1505  svSource=svSource,
1506  elSource=elSource,
1507  muSource=muSource,
1508  runIVF=runIVF,
1509  tightBTagNTkHits=tightBTagNTkHits,
1510  loadStdRecoBTag=loadStdRecoBTag,
1511  svClustering=svClustering,
1512  fatJets=fatJets,
1513  groomedFatJets=groomedFatJets,
1514  algo=algo,
1515  rParam=rParam,
1516  getJetMCFlavour=getJetMCFlavour,
1517  genJetCollection=genJetCollection,
1518  genParticles=genParticles,
1519  jetCorrections=jetCorrections,
1520  btagDiscriminators=btagDiscriminators,
1521  btagInfos=btagInfos,
1522  jetTrackAssociation=jetTrackAssociation,
1523  outputModules=outputModules,
1524  )
1525 
1526 switchJetCollection=SwitchJetCollection()
1527 
1528 

References heavyIonTools.ConfigureHeavyIons._parameters, coreTools.RunOnData._parameters, heavyIonTools.ProductionDefaults._parameters, ConfigToolBase.ConfigToolBase._parameters, TAbsFitConstraint._parameters, TAbsFitParticle._parameters, cmsswVersionTools.PickRelValInputFiles._parameters, coreTools.RemoveMCMatching._parameters, heavyIonTools.SelectionDefaults._parameters, heavyIonTools.DisbaleMonteCarloDeps._parameters, jetTools.AddJetCollection._parameters, and jetTools.SwitchJetCollection._parameters.

Member Data Documentation

◆ _comment

jetTools.SwitchJetCollection._comment
private

add comments

Definition at line 1372 of file jetTools.py.

◆ _defaultParameters

jetTools.SwitchJetCollection._defaultParameters
staticprivate

Definition at line 1321 of file jetTools.py.

Referenced by trackTools.MakeAODTrackCandidates.__call__(), runJetUncertainties.RunJetUncertainties.__call__(), metTools.AddMETCollection.__call__(), trackTools.MakePATTrackCandidates.__call__(), trigTools.SwitchOnTrigger.__call__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.__call__(), trigTools.SwitchOnTriggerStandAlone.__call__(), tauTools.AddTauCollection.__call__(), trackTools.MakeTrackCandidates.__call__(), trigTools.SwitchOnTriggerMatching.__call__(), trigTools.SwitchOnTriggerMatchingStandAlone.__call__(), trigTools.SwitchOnTriggerMatchEmbedding.__call__(), jetTools.SwitchJetCollection.__call__(), jetTools.UpdateJetCollection.__call__(), jetTools.AddJetID.__call__(), jetTools.SetTagInfos.__call__(), metTools.AddMETCollection.__init__(), trackTools.MakeAODTrackCandidates.__init__(), runJetUncertainties.RunJetUncertainties.__init__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.__init__(), trackTools.MakePATTrackCandidates.__init__(), trigTools.SwitchOnTrigger.__init__(), trigTools.SwitchOnTriggerStandAlone.__init__(), tauTools.AddTauCollection.__init__(), trackTools.MakeTrackCandidates.__init__(), trigTools.SwitchOnTriggerMatching.__init__(), trigTools.SwitchOnTriggerMatchingStandAlone.__init__(), trigTools.SwitchOnTriggerMatchEmbedding.__init__(), jetTools.SwitchJetCollection.__init__(), jetTools.UpdateJetCollection.__init__(), jetTools.AddJetID.__init__(), jetTools.SetTagInfos.__init__(), ConfigToolBase.ConfigToolBase.dumpPython(), ConfigToolBase.ConfigToolBase.getAllowedValues(), trackTools.MakeAODTrackCandidates.getDefaultParameters(), metTools.AddMETCollection.getDefaultParameters(), trackTools.MakePATTrackCandidates.getDefaultParameters(), trigTools.SwitchOnTrigger.getDefaultParameters(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.getDefaultParameters(), trigTools.SwitchOnTriggerStandAlone.getDefaultParameters(), tauTools.AddTauCollection.getDefaultParameters(), trackTools.MakeTrackCandidates.getDefaultParameters(), trigTools.SwitchOnTriggerMatching.getDefaultParameters(), trigTools.SwitchOnTriggerMatchingStandAlone.getDefaultParameters(), trigTools.SwitchOnTriggerMatchEmbedding.getDefaultParameters(), jetTools.SwitchJetCollection.getDefaultParameters(), jetTools.UpdateJetCollection.getDefaultParameters(), jetTools.AddJetID.getDefaultParameters(), jetTools.SetTagInfos.getDefaultParameters(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.initializeInputTag(), ConfigToolBase.ConfigToolBase.reset(), and ConfigToolBase.ConfigToolBase.setParameter().

◆ _label

jetTools.SwitchJetCollection._label
staticprivate

◆ _parameters

jetTools.SwitchJetCollection._parameters
private

initialization of the base class

add all parameters that should be known to the class set defaults

Definition at line 1370 of file jetTools.py.

Referenced by runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.ak4JetReclustering(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.createMVAMETModule(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.createSmearedJetModule(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.extractMET(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.getCorrectedMET(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.getMETUncertainties(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.getUnclusteredVariationsForMVAMET(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.getVariations(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.jetCleaning(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.jetConfiguration(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.miniAODConfiguration(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.miniAODConfigurationPost(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.recomputeRawMetFromPfcs(), trackTools.MakeAODTrackCandidates.toolCode(), metTools.AddMETCollection.toolCode(), runJetUncertainties.RunJetUncertainties.toolCode(), trigTools.SwitchOnTrigger.toolCode(), trackTools.MakePATTrackCandidates.toolCode(), trigTools.SwitchOnTriggerStandAlone.toolCode(), tauTools.AddTauCollection.toolCode(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.toolCode(), trackTools.MakeTrackCandidates.toolCode(), trigTools.SwitchOnTriggerMatching.toolCode(), trigTools.SwitchOnTriggerMatchingStandAlone.toolCode(), trigTools.SwitchOnTriggerMatchEmbedding.toolCode(), jetTools.SwitchJetCollection.toolCode(), jetTools.UpdateJetCollection.toolCode(), jetTools.AddJetID.toolCode(), jetTools.SetTagInfos.toolCode(), and runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.updateJECs().