CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes | Static Private Attributes
tauTools.AddTauCollection Class Reference
Inheritance diagram for tauTools.AddTauCollection:

Public Member Functions

def __call__
 
def __init__
 
def getDefaultParameters
 
def toolCode
 

Private Attributes

 _comment
 
 _parameters
 self.addParameter(self._defaultParameters, 'jetCorrLabel', (pfTauJECpayloadMapping, ['L2Relative', 'L3Absolute']), "payload and list of new jet correction labels", tuple, acceptNoneValue = True) More...
 

Static Private Attributes

tuple _defaultParameters = dicttypes.SortedKeysDict()
 
string _label = 'addTauCollection'
 

Detailed Description

Add a new collection of taus. Takes the configuration from the
already configured standard tau collection as starting point;
replaces before calling addTauCollection will also affect the
new tau collections

Definition at line 419 of file tauTools.py.

Constructor & Destructor Documentation

def tauTools.AddTauCollection.__init__ (   self)

Definition at line 428 of file tauTools.py.

References electronTools.AddElectronUserIsolation._defaultParameters, photonTools.AddPhotonUserIsolation._defaultParameters, editorTools.UserCodeTool._defaultParameters, muonTools.AddMuonUserIsolation._defaultParameters, metTools.AddTcMET._defaultParameters, heavyIonTools.ConfigureHeavyIons._defaultParameters, coreTools.RestrictInputToAOD._defaultParameters, cmsswVersionTools.Run52xOn51xTrigger._defaultParameters, Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._defaultParameters, heavyIonTools.ProductionDefaults._defaultParameters, editorTools.ChangeSource._defaultParameters, metTools.AddPfMET._defaultParameters, coreTools.RunOnData._defaultParameters, cmsswVersionTools.PickRelValInputFiles._defaultParameters, coreTools.RemoveMCMatching._defaultParameters, heavyIonTools.SelectionDefaults._defaultParameters, jetTools.RunBTagging._defaultParameters, heavyIonTools.DisbaleMonteCarloDeps._defaultParameters, coreTools.RemoveAllPATObjectsBut._defaultParameters, coreTools.RemoveSpecificPATObjects._defaultParameters, coreTools.RemoveCleaning._defaultParameters, tauTools.AddTauCollection._defaultParameters, coreTools.AddCleaning._defaultParameters, jetTools.AddJetCollection._defaultParameters, jetTools.SwitchJetCollection._defaultParameters, jetTools.AddJetID._defaultParameters, jetTools.SetTagInfos._defaultParameters, jetTools.SwitchJetCorrLevels._defaultParameters, ConfigToolBase.ConfigToolBase._defaultValue, GenObject.GenObject._defaultValue, root::helper::RootFunctionAdapter< F, args >.addParameter(), root::helper::RootFunctionHelper< F, args, Tag >.addParameter(), ParameterMgr.addParameter(), fit::RootMinuit< Function >.addParameter(), DropBoxMetadata::Parameters.addParameter(), PythonParameterSet.addParameter(), LutXml.addParameter(), ConfigToolBase.ConfigToolBase.addParameter(), and edm::ParameterSet.addParameter().

429  def __init__(self):
430  ConfigToolBase.__init__(self)
431  self.addParameter(self._defaultParameters, 'tauCollection',
432  self._defaultValue, 'Input tau collection', cms.InputTag)
433  self.addParameter(self._defaultParameters, 'algoLabel',
434  self._defaultValue, "label to indicate the tau algorithm (e.g.'hps')", str)
435  self.addParameter(self._defaultParameters, 'typeLabel',
436  self._defaultValue, "label to indicate the type of constituents (either 'PFTau' or 'Tau')", str)
437  self.addParameter(self._defaultParameters, 'doPFIsoDeposits',
438  True, "run sequence for computing particle-flow based IsoDeposits")
439  ##self.addParameter(self._defaultParameters, 'jetCorrLabel',
440  ## (pfTauJECpayloadMapping, ['L2Relative', 'L3Absolute']),
441  ## "payload and list of new jet correction labels", tuple, acceptNoneValue = True)
442  self.addParameter(self._defaultParameters, 'jetCorrLabel',
443  None, "payload and list of new jet correction labels", tuple, acceptNoneValue = True)
444  self.addParameter(self._defaultParameters, 'standardAlgo',
445  "hps", "standard algorithm label of the collection from which the clones " \
446  + "for the new tau collection will be taken from " \
447  + "(note that this tau collection has to be available in the event before hand)")
448  self.addParameter(self._defaultParameters, 'standardType',
449  "PFTau", "standard constituent type label of the collection from which the clones " \
450  + " for the new tau collection will be taken from "\
451  + "(note that this tau collection has to be available in the event before hand)")
453  self._parameters=copy.deepcopy(self._defaultParameters)
454  self._comment = ""
_parameters
self.addParameter(self._defaultParameters, &#39;jetCorrLabel&#39;, (pfTauJECpayloadMapping, [&#39;L2Relative&#39;, &#39;L3Absolute&#39;]), &quot;payload and list of new jet correction labels&quot;, tuple, acceptNoneValue = True)
Definition: tauTools.py:452

Member Function Documentation

def tauTools.AddTauCollection.__call__ (   self,
  process,
  tauCollection = None,
  algoLabel = None,
  typeLabel = None,
  doPFIsoDeposits = None,
  jetCorrLabel = None,
  standardAlgo = None,
  standardType = None 
)

Definition at line 465 of file tauTools.py.

References electronTools.AddElectronUserIsolation._defaultParameters, photonTools.AddPhotonUserIsolation._defaultParameters, editorTools.UserCodeTool._defaultParameters, metTools.AddTcMET._defaultParameters, muonTools.AddMuonUserIsolation._defaultParameters, heavyIonTools.ConfigureHeavyIons._defaultParameters, coreTools.RestrictInputToAOD._defaultParameters, cmsswVersionTools.Run52xOn51xTrigger._defaultParameters, Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._defaultParameters, heavyIonTools.ProductionDefaults._defaultParameters, editorTools.ChangeSource._defaultParameters, metTools.AddPfMET._defaultParameters, coreTools.RunOnData._defaultParameters, cmsswVersionTools.PickRelValInputFiles._defaultParameters, coreTools.RemoveMCMatching._defaultParameters, heavyIonTools.SelectionDefaults._defaultParameters, jetTools.RunBTagging._defaultParameters, heavyIonTools.DisbaleMonteCarloDeps._defaultParameters, coreTools.RemoveAllPATObjectsBut._defaultParameters, coreTools.RemoveSpecificPATObjects._defaultParameters, coreTools.RemoveCleaning._defaultParameters, tauTools.AddTauCollection._defaultParameters, coreTools.AddCleaning._defaultParameters, jetTools.AddJetCollection._defaultParameters, jetTools.SwitchJetCollection._defaultParameters, jetTools.AddJetID._defaultParameters, jetTools.SetTagInfos._defaultParameters, jetTools.SwitchJetCorrLevels._defaultParameters, SignedImpactParameter3D.apply(), gen::PhotosInterfaceBase.apply(), SignedTransverseImpactParameter.apply(), SignedDecayLength3D.apply(), SurveyParameters.apply(), FWPSetCellEditor.apply(), gen::PhotosInterface.apply(), gen::PhotosInterface53XLegacy.apply(), cmsswVersionTools.Run52xOn51xTrigger.apply(), FWGUIEventFilter.apply(), DeviationsFromFileSensor2D.apply(), BeamSpotAlignmentParameters.apply(), RigidBodyAlignmentParameters.apply(), ConfigToolBase.ConfigToolBase.apply(), AlignmentParameters.apply(), BowedSurfaceAlignmentParameters.apply(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool.apply(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ApplyTool.apply(), TwoBowedSurfacesAlignmentParameters.apply(), Vispa.Gui.BoxContentDialog.BoxContentDialog.apply(), reco::modules::TrackerTrackHitFilter::Rule.apply(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog.apply(), reco::Add< T >.apply(), reco::Sub< T >.apply(), reco::Mul< T >.apply(), reco::Div< T >.apply(), reco::And< bool >.apply(), reco::Or< bool >.apply(), reco::Less< T >.apply(), cmsswVersionTools.PickRelValInputFiles.apply(), reco::LessEqual< T >.apply(), reco::More< T >.apply(), reco::MoreEqual< T >.apply(), reco::Equal< T >.apply(), jetTools.RunBTagging.apply(), ora::OraMainTable.setParameter(), ora::IMainTable.setParameter(), PedeReader.setParameter(), ora::PoolMainTable.setParameter(), fit::RootMinuit< Function >.setParameter(), and ConfigToolBase.ConfigToolBase.setParameter().

Referenced by tauTools.AddTauCollection.getDefaultParameters().

466  standardType = None):
467 
468  if tauCollection is None:
469  tauCollection = self._defaultParameters['tauCollection'].value
470  if algoLabel is None:
471  algoLabel = self._defaultParameters['algoLabel'].value
472  if typeLabel is None:
473  typeLabel = self._defaultParameters['typeLabel'].value
474  if doPFIsoDeposits is None:
475  doPFIsoDeposits = self._defaultParameters['doPFIsoDeposits'].value
476  if jetCorrLabel is None:
477  jetCorrLabel = self._defaultParameters['jetCorrLabel'].value
478  if standardAlgo is None:
479  standardAlgo = self._defaultParameters['standardAlgo'].value
480  if standardType is None:
481  standardType = self._defaultParameters['standardType'].value
482 
483  self.setParameter('tauCollection', tauCollection)
484  self.setParameter('algoLabel', algoLabel)
485  self.setParameter('typeLabel', typeLabel)
486  self.setParameter('doPFIsoDeposits', doPFIsoDeposits)
487  self.setParameter('jetCorrLabel', jetCorrLabel)
488  self.setParameter('standardAlgo', standardAlgo)
489  self.setParameter('standardType', standardType)
490 
491  self.apply(process)
def tauTools.AddTauCollection.getDefaultParameters (   self)

Definition at line 455 of file tauTools.py.

References tauTools.AddTauCollection.__call__(), electronTools.AddElectronUserIsolation._defaultParameters, photonTools.AddPhotonUserIsolation._defaultParameters, editorTools.UserCodeTool._defaultParameters, metTools.AddTcMET._defaultParameters, muonTools.AddMuonUserIsolation._defaultParameters, heavyIonTools.ConfigureHeavyIons._defaultParameters, coreTools.RestrictInputToAOD._defaultParameters, cmsswVersionTools.Run52xOn51xTrigger._defaultParameters, Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._defaultParameters, heavyIonTools.ProductionDefaults._defaultParameters, editorTools.ChangeSource._defaultParameters, metTools.AddPfMET._defaultParameters, coreTools.RunOnData._defaultParameters, cmsswVersionTools.PickRelValInputFiles._defaultParameters, coreTools.RemoveMCMatching._defaultParameters, heavyIonTools.SelectionDefaults._defaultParameters, jetTools.RunBTagging._defaultParameters, heavyIonTools.DisbaleMonteCarloDeps._defaultParameters, coreTools.RemoveAllPATObjectsBut._defaultParameters, coreTools.RemoveSpecificPATObjects._defaultParameters, coreTools.RemoveCleaning._defaultParameters, tauTools.AddTauCollection._defaultParameters, coreTools.AddCleaning._defaultParameters, jetTools.AddJetCollection._defaultParameters, jetTools.SwitchJetCollection._defaultParameters, jetTools.AddJetID._defaultParameters, jetTools.SetTagInfos._defaultParameters, and jetTools.SwitchJetCorrLevels._defaultParameters.

Referenced by trigTools.SwitchOnTrigger.toolCode(), trigTools.SwitchOnTriggerStandAlone.toolCode(), trigTools.SwitchOnTriggerMatching.toolCode(), and trigTools.SwitchOnTriggerMatchingStandAlone.toolCode().

456  def getDefaultParameters(self):
457  return self._defaultParameters
def tauTools.AddTauCollection.toolCode (   self,
  process 
)

Definition at line 492 of file tauTools.py.

References editorTools.UserCodeTool._parameters, electronTools.AddElectronUserIsolation._parameters, photonTools.AddPhotonUserIsolation._parameters, heavyIonTools.ConfigureHeavyIons._parameters, metTools.AddTcMET._parameters, muonTools.AddMuonUserIsolation._parameters, coreTools.RestrictInputToAOD._parameters, Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigFolder._parameters, cmsswVersionTools.Run52xOn51xTrigger._parameters, Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._parameters, heavyIonTools.ProductionDefaults._parameters, ConfigToolBase.ConfigToolBase._parameters, editorTools.ChangeSource._parameters, TAbsFitConstraint._parameters, metTools.AddPfMET._parameters, TAbsFitParticle._parameters, coreTools.RunOnData._parameters, cmsswVersionTools.PickRelValInputFiles._parameters, coreTools.RemoveMCMatching._parameters, heavyIonTools.SelectionDefaults._parameters, heavyIonTools.DisbaleMonteCarloDeps._parameters, jetTools.RunBTagging._parameters, coreTools.RemoveAllPATObjectsBut._parameters, coreTools.RemoveSpecificPATObjects._parameters, coreTools.RemoveCleaning._parameters, tauTools.AddTauCollection._parameters, coreTools.AddCleaning._parameters, jetTools.AddJetCollection._parameters, jetTools.AddJetID._parameters, jetTools.SetTagInfos._parameters, jetTools.SwitchJetCorrLevels._parameters, clone(), linker.replace(), and tauTools.switchToPFTauByType().

493  def toolCode(self, process):
494  tauCollection = self._parameters['tauCollection'].value
495  algoLabel = self._parameters['algoLabel'].value
496  typeLabel = self._parameters['typeLabel'].value
497  doPFIsoDeposits = self._parameters['doPFIsoDeposits'].value
498  jetCorrLabel = self._parameters['jetCorrLabel'].value
499  standardAlgo = self._parameters['standardAlgo'].value
500  standardType = self._parameters['standardType'].value
501 
502  ## disable computation of particle-flow based IsoDeposits
503  ## in case tau is of CaloTau type
504  if typeLabel == 'Tau':
505 # print "NO PF Isolation will be computed for CaloTau (this could be improved later)"
506  doPFIsoDeposits = False
507 
508  ## create old module label from standardAlgo
509  ## and standardType and return
510  def oldLabel(prefix = ''):
511  if prefix == '':
512  return "patTaus"
513  else:
514  return prefix + "PatTaus"
515 
516  ## capitalize first character of appended part
517  ## when creating new module label
518  ## (giving e.g. "patTausCaloRecoTau")
519  def capitalize(label):
520  return label[0].capitalize() + label[1:]
521 
522  ## create new module label from old module
523  ## label and return
524  def newLabel(oldLabel):
525  newLabel = oldLabel
526  if ( oldLabel.find(standardAlgo) >= 0 and oldLabel.find(standardType) >= 0 ):
527  oldLabel = oldLabel.replace(standardAlgo, algoLabel).replace(standardType, typeLabel)
528  else:
529  oldLabel = oldLabel + capitalize(algoLabel + typeLabel)
530  return oldLabel
531 
532  ## clone module and add it to the patDefaultSequence
533  def addClone(hook, **replaceStatements):
534  ## create a clone of the hook with corresponding
535  ## parameter replacements
536  newModule = getattr(process, hook).clone(**replaceStatements)
537  ## add the module to the sequence
538  addModuleToSequence(hook, newModule)
539 
540  ## clone module for computing particle-flow IsoDeposits
541  def addPFIsoDepositClone(hook, **replaceStatements):
542  newModule = getattr(process, hook).clone(**replaceStatements)
543  newModuleIsoDepositExtractor = getattr(newModule, "ExtractorPSet")
544  setattr(newModuleIsoDepositExtractor, "tauSource", getattr(newModule, "src"))
545  addModuleToSequence(hook, newModule)
546 
547  ## add module to the patDefaultSequence
548  def addModuleToSequence(hook, newModule):
549  hookModule = getattr(process, hook)
550  ## add the new module with standardAlgo &
551  ## standardType replaced in module label
552  setattr(process, newLabel(hook), newModule)
553  ## add new module to default sequence
554  ## just behind the hookModule
555  process.patDefaultSequence.replace( hookModule, hookModule*newModule )
556 
557  ## add a clone of patTaus
558  addClone(oldLabel(), tauSource = tauCollection)
559 
560  ## add a clone of selectedPatTaus
561  addClone(oldLabel('selected'), src = cms.InputTag(newLabel(oldLabel())))
562 
563  ## add a clone of cleanPatTaus
564  addClone(oldLabel('clean'), src=cms.InputTag(newLabel(oldLabel('selected'))))
565 
566  ## get attributes of new module
567  newTaus = getattr(process, newLabel(oldLabel()))
568 
569  ## add a clone of gen tau matching
570  addClone('tauMatch', src = tauCollection)
571  addClone('tauGenJetMatch', src = tauCollection)
572 
573  ## add a clone of IsoDeposits computed based on particle-flow
574  if doPFIsoDeposits:
575  addPFIsoDepositClone('tauIsoDepositPFCandidates', src = tauCollection)
576  addPFIsoDepositClone('tauIsoDepositPFChargedHadrons', src = tauCollection)
577  addPFIsoDepositClone('tauIsoDepositPFNeutralHadrons', src = tauCollection)
578  addPFIsoDepositClone('tauIsoDepositPFGammas', src = tauCollection)
579 
580  if jetCorrLabel:
581  addClone('patTauJetCorrFactors', src = tauCollection)
582  getattr(process,newLabel('patTauJetCorrFactors')).payload = jetCorrLabel[0]
583  getattr(process,newLabel('patTauJetCorrFactors')).levels = jetCorrLabel[1]
584  getattr(process, newLabel('patTaus')).tauJetCorrFactorsSource = cms.VInputTag(cms.InputTag(newLabel('patTauJetCorrFactors')))
585 
586  ## fix label for input tag
587  def fixInputTag(x): x.setModuleLabel(newLabel(x.moduleLabel))
588 
589  ## provide patTau inputs with individual labels
590  fixInputTag(newTaus.genParticleMatch)
591  fixInputTag(newTaus.genJetMatch)
592  fixInputTag(newTaus.isoDeposits.pfAllParticles)
593  fixInputTag(newTaus.isoDeposits.pfNeutralHadron)
594  fixInputTag(newTaus.isoDeposits.pfChargedHadron)
595  fixInputTag(newTaus.isoDeposits.pfGamma)
596  fixInputTag(newTaus.userIsolation.pfAllParticles.src)
597  fixInputTag(newTaus.userIsolation.pfNeutralHadron.src)
598  fixInputTag(newTaus.userIsolation.pfChargedHadron.src)
599  fixInputTag(newTaus.userIsolation.pfGamma.src)
600 
601  ## set discriminators
602  ## (using switchTauCollection functions)
603  oldTaus = getattr(process, oldLabel())
604 # if typeLabel == 'Tau':
605 # switchToCaloTau(process,
606 # pfTauLabel = getattr(oldTaus, "tauSource"),
607 # caloTauLabel = getattr(newTaus, "tauSource"),
608 # patTauLabel = capitalize(algoLabel + typeLabel))
609 # else:
610  switchToPFTauByType(process, pfTauType = algoLabel + typeLabel,
611  pfTauLabelNew = getattr(newTaus, "tauSource"),
612  pfTauLabelOld = getattr(oldTaus, "tauSource"),
613  patTauLabel = capitalize(algoLabel + typeLabel))
614 
615 addTauCollection=AddTauCollection()
def replace
Definition: linker.py:10
_parameters
self.addParameter(self._defaultParameters, &#39;jetCorrLabel&#39;, (pfTauJECpayloadMapping, [&#39;L2Relative&#39;, &#39;L3Absolute&#39;]), &quot;payload and list of new jet correction labels&quot;, tuple, acceptNoneValue = True)
Definition: tauTools.py:452
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Definition: eve_macros.cc:135
def switchToPFTauByType
Definition: tauTools.py:404

Member Data Documentation

tauTools.AddTauCollection._comment
private

Definition at line 453 of file tauTools.py.

Referenced by metUncertaintyTools.RunMEtUncertainties.__init__(), and jetTools.SwitchJetCollection.__init__().

tuple tauTools.AddTauCollection._defaultParameters = dicttypes.SortedKeysDict()
staticprivate

Definition at line 427 of file tauTools.py.

Referenced by HiCoreTools.RestrictInputToAOD.__call__(), trackTools.MakeAODTrackCandidates.__call__(), HiCoreTools.RemoveMCMatching.__call__(), trackTools.MakePATTrackCandidates.__call__(), trigTools.SwitchOnTrigger.__call__(), HiCoreTools.RemoveAllPATObjectsBut.__call__(), HiCoreTools.RemoveSpecificPATObjects.__call__(), trigTools.SwitchOnTriggerStandAlone.__call__(), trackTools.MakeTrackCandidates.__call__(), HiCoreTools.RemoveCleaning.__call__(), trigTools.SwitchOnTriggerMatching.__call__(), HiCoreTools.AddCleaning.__call__(), tauTools.AddTauCollection.__call__(), trigTools.SwitchOnTriggerMatchingStandAlone.__call__(), trigTools.SwitchOnTriggerMatchEmbedding.__call__(), trigTools.RemoveCleaningFromTriggerMatching.__call__(), metUncertaintyTools.RunMEtUncertainties.__call__(), trackTools.MakeAODTrackCandidates.__init__(), HiCoreTools.RestrictInputToAOD.__init__(), metUncertaintyTools.RunMEtUncertainties.__init__(), HiCoreTools.RemoveMCMatching.__init__(), trackTools.MakePATTrackCandidates.__init__(), trigTools.SwitchOnTrigger.__init__(), HiCoreTools.RemoveAllPATObjectsBut.__init__(), HiCoreTools.RemoveSpecificPATObjects.__init__(), trigTools.SwitchOnTriggerStandAlone.__init__(), trackTools.MakeTrackCandidates.__init__(), HiCoreTools.RemoveCleaning.__init__(), trigTools.SwitchOnTriggerMatching.__init__(), HiCoreTools.AddCleaning.__init__(), tauTools.AddTauCollection.__init__(), trigTools.SwitchOnTriggerMatchingStandAlone.__init__(), trigTools.SwitchOnTriggerMatchEmbedding.__init__(), trigTools.RemoveCleaningFromTriggerMatching.__init__(), metUncertaintyTools.RunMEtUncertainties._initializeInputTag(), ConfigToolBase.ConfigToolBase.dumpPython(), ConfigToolBase.ConfigToolBase.getAllowedValues(), HiCoreTools.RestrictInputToAOD.getDefaultParameters(), trackTools.MakeAODTrackCandidates.getDefaultParameters(), HiCoreTools.RemoveMCMatching.getDefaultParameters(), metUncertaintyTools.RunMEtUncertainties.getDefaultParameters(), trackTools.MakePATTrackCandidates.getDefaultParameters(), trigTools.SwitchOnTrigger.getDefaultParameters(), HiCoreTools.RemoveAllPATObjectsBut.getDefaultParameters(), HiCoreTools.RemoveSpecificPATObjects.getDefaultParameters(), trigTools.SwitchOnTriggerStandAlone.getDefaultParameters(), trackTools.MakeTrackCandidates.getDefaultParameters(), HiCoreTools.RemoveCleaning.getDefaultParameters(), trigTools.SwitchOnTriggerMatching.getDefaultParameters(), HiCoreTools.AddCleaning.getDefaultParameters(), tauTools.AddTauCollection.getDefaultParameters(), trigTools.SwitchOnTriggerMatchingStandAlone.getDefaultParameters(), trigTools.SwitchOnTriggerMatchEmbedding.getDefaultParameters(), trigTools.RemoveCleaningFromTriggerMatching.getDefaultParameters(), ConfigToolBase.ConfigToolBase.reset(), and ConfigToolBase.ConfigToolBase.setParameter().

string tauTools.AddTauCollection._label = 'addTauCollection'
staticprivate

Definition at line 426 of file tauTools.py.

Referenced by trigTools.SwitchOnTrigger.toolCode(), trigTools.SwitchOnTriggerStandAlone.toolCode(), trigTools.SwitchOnTriggerMatching.toolCode(), trigTools.SwitchOnTriggerMatchingStandAlone.toolCode(), trigTools.SwitchOnTriggerMatchEmbedding.toolCode(), and trigTools.RemoveCleaningFromTriggerMatching.toolCode().

tauTools.AddTauCollection._parameters
private

self.addParameter(self._defaultParameters, 'jetCorrLabel', (pfTauJECpayloadMapping, ['L2Relative', 'L3Absolute']), "payload and list of new jet correction labels", tuple, acceptNoneValue = True)

Definition at line 452 of file tauTools.py.

Referenced by metUncertaintyTools.RunMEtUncertainties.__init__(), jetTools.SwitchJetCollection.__init__(), HiCoreTools.RestrictInputToAOD.toolCode(), trackTools.MakeAODTrackCandidates.toolCode(), HiCoreTools.RemoveMCMatching.toolCode(), trackTools.MakePATTrackCandidates.toolCode(), trigTools.SwitchOnTrigger.toolCode(), HiCoreTools.RemoveAllPATObjectsBut.toolCode(), HiCoreTools.RemoveSpecificPATObjects.toolCode(), trigTools.SwitchOnTriggerStandAlone.toolCode(), trackTools.MakeTrackCandidates.toolCode(), HiCoreTools.RemoveCleaning.toolCode(), trigTools.SwitchOnTriggerMatching.toolCode(), HiCoreTools.AddCleaning.toolCode(), tauTools.AddTauCollection.toolCode(), trigTools.SwitchOnTriggerMatchingStandAlone.toolCode(), trigTools.SwitchOnTriggerMatchEmbedding.toolCode(), trigTools.RemoveCleaningFromTriggerMatching.toolCode(), jetTools.SwitchJetCollection.toolCode(), and metUncertaintyTools.RunMEtUncertainties.toolCode().