CMS 3D CMS Logo

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

Public Member Functions

def __call__ (self, process, triggerMatchers=None, triggerProducer=None, path=None, hltProcess=None, outputModule=None, postfix=None)
 
def __init__ (self)
 
def getDefaultParameters (self)
 
def toolCode (self, process)
 

Private Attributes

 _comment
 
 _parameters
 

Static Private Attributes

 _defaultParameters
 
 _label
 

Detailed Description

Enables embedding of trigger matches into PAT objects
SwitchOnTriggerMatchEmbedding( [cms.Process], triggerMatchers = [default list], triggerProducer = 'patTrigger', path = '', hltProcess = 'HLT', outputModule = 'out', postfix = '' )
- [cms.Process]  : the 'cms.Process'
- triggerMatchers: PAT trigger matcher module labels (list)
                   optional; default: defined in 'triggerMatchingDefaultSequence'
                   (s. PhysicsTools/PatAlgos/python/triggerLayer1/triggerMatcherExamples_cfi.py)
- triggerProducer: PATTriggerProducer module label;
                   optional, default: 'patTrigger'
- path           : name of path to use;
                   optional, default: ''
- hltProcess     : HLT process name;
                   optional, default: 'HLT'
- outputModule   : output module label;
                   empty label indicates no output;
                   optional, default: 'out'
- postfix        : postfix to apply to PAT module labels;
                   optional, default: ''
Using None as any argument restores its default value.

Definition at line 539 of file trigTools.py.

Constructor & Destructor Documentation

def trigTools.SwitchOnTriggerMatchEmbedding.__init__ (   self)

Definition at line 562 of file trigTools.py.

References heavyIonTools.ConfigureHeavyIons._defaultParameters, metTools.AddMETCollection._defaultParameters, trackTools.MakeAODTrackCandidates._defaultParameters, coreTools.RunOnData._defaultParameters, heavyIonTools.ProductionDefaults._defaultParameters, cmsswVersionTools.PickRelValInputFiles._defaultParameters, coreTools.RemoveMCMatching._defaultParameters, trackTools.MakePATTrackCandidates._defaultParameters, trigTools.SwitchOnTrigger._defaultParameters, heavyIonTools.SelectionDefaults._defaultParameters, heavyIonTools.DisbaleMonteCarloDeps._defaultParameters, trigTools.SwitchOnTriggerStandAlone._defaultParameters, trackTools.MakeTrackCandidates._defaultParameters, tauTools.AddTauCollection._defaultParameters, trigTools.SwitchOnTriggerMatching._defaultParameters, trigTools.SwitchOnTriggerMatchingStandAlone._defaultParameters, trigTools.SwitchOnTriggerMatchEmbedding._defaultParameters, jetTools.AddJetCollection._defaultParameters, jetTools.SwitchJetCollection._defaultParameters, jetTools.UpdateJetCollection._defaultParameters, jetTools.AddJetID._defaultParameters, jetTools.SetTagInfos._defaultParameters, root::helper::RootFunctionAdapter< F, args >.addParameter(), root::helper::RootFunctionHelper< F, args, Tag >.addParameter(), ParameterMgr.addParameter(), fit::RootMinuit< Function >.addParameter(), DropBoxMetadata::Parameters.addParameter(), PythonParameterSet.addParameter(), l1t::TriggerSystem.addParameter(), LutXml.addParameter(), ConfigToolBase.ConfigToolBase.addParameter(), and edm::ParameterSet.addParameter().

562  def __init__( self ):
563  ConfigToolBase.__init__( self )
564  self.addParameter( self._defaultParameters, 'triggerMatchers', _exampleTriggerMatchers, _defaultTriggerMatchersComment )
565  self.addParameter( self._defaultParameters, 'exampleMatchers', False , '' )
566  self.addParameter( self._defaultParameters, 'triggerProducer', _defaultTriggerProducer, _defaultTriggerProducerComment )
567  self.addParameter( self._defaultParameters, 'path' , _defaultPath , _defaultPathComment )
568  self.addParameter( self._defaultParameters, 'hltProcess' , _defaultHltProcess , _defaultHltProcessComment )
569  self.addParameter( self._defaultParameters, 'outputModule' , _defaultOutputModule , _defaultOutputModuleComment )
570  self.addParameter( self._defaultParameters, 'postfix' , _defaultPostfix , _defaultPostfixComment )
571  self._parameters = copy.deepcopy( self._defaultParameters )
572  self._comment = ""
573 

Member Function Documentation

def trigTools.SwitchOnTriggerMatchEmbedding.__call__ (   self,
  process,
  triggerMatchers = None,
  triggerProducer = None,
  path = None,
  hltProcess = None,
  outputModule = None,
  postfix = None 
)

Definition at line 584 of file trigTools.py.

References heavyIonTools.ConfigureHeavyIons._defaultParameters, metTools.AddMETCollection._defaultParameters, trackTools.MakeAODTrackCandidates._defaultParameters, coreTools.RunOnData._defaultParameters, heavyIonTools.ProductionDefaults._defaultParameters, cmsswVersionTools.PickRelValInputFiles._defaultParameters, coreTools.RemoveMCMatching._defaultParameters, trackTools.MakePATTrackCandidates._defaultParameters, trigTools.SwitchOnTrigger._defaultParameters, heavyIonTools.SelectionDefaults._defaultParameters, heavyIonTools.DisbaleMonteCarloDeps._defaultParameters, trigTools.SwitchOnTriggerStandAlone._defaultParameters, trackTools.MakeTrackCandidates._defaultParameters, tauTools.AddTauCollection._defaultParameters, trigTools.SwitchOnTriggerMatching._defaultParameters, trigTools.SwitchOnTriggerMatchingStandAlone._defaultParameters, trigTools.SwitchOnTriggerMatchEmbedding._defaultParameters, jetTools.AddJetCollection._defaultParameters, jetTools.SwitchJetCollection._defaultParameters, jetTools.UpdateJetCollection._defaultParameters, jetTools.AddJetID._defaultParameters, jetTools.SetTagInfos._defaultParameters, SignedImpactParameter3D.apply(), gen::PhotosInterfaceBase.apply(), SignedTransverseImpactParameter.apply(), MatrixReader.MatrixReader.apply, SignedDecayLength3D.apply(), DummyOOTPileupCorrection.apply(), gen::PhotosppInterface.apply(), SurveyParameters.apply(), FWPSetCellEditor.apply(), gen::PhotosInterface.apply(), FWGUIEventFilter.apply(), DeviationsFromFileSensor2D.apply(), BeamSpotAlignmentParameters.apply(), RigidBodyAlignmentParameters.apply(), ConfigToolBase.ConfigToolBase.apply(), BowedSurfaceAlignmentParameters.apply(), OOTPileupCorrData.apply(), AlignmentParameters.apply(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool.apply(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ApplyTool.apply(), AbsOOTPileupCorrection.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(), cmsswVersionTools.PickRelValInputFiles.apply(), models.RegExp.apply(), reco::And< bool >.apply(), reco::Or< bool >.apply(), reco::Less< T >.apply(), reco::LessEqual< T >.apply(), reco::More< T >.apply(), reco::MoreEqual< T >.apply(), reco::Equal< T >.apply(), ArrayND< Numeric, Len2, Dim2 >.apply(), npstat::ArrayND< Num1, Len1, Dim1 >.apply(), ArrayND< Accumulator >.apply(), ArrayND< Numeric, Len, Dim >.apply(), npstat::ArrayND< Numeric >.apply(), ArrayND< Num2, Len2, Dim2 >.apply(), npstat::ArrayND< Numeric, StackLen, StackDim >.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().

Referenced by trigTools.SwitchOnTriggerMatchEmbedding.getDefaultParameters().

584  ):
585  if triggerMatchers is None:
586  triggerMatchers = self._defaultParameters[ 'triggerMatchers' ].value
587  self.setParameter( 'exampleMatchers', True )
588  if triggerProducer is None:
589  triggerProducer = self._defaultParameters[ 'triggerProducer' ].value
590  if path is None:
591  path = self._defaultParameters[ 'path' ].value
592  if hltProcess is None:
593  hltProcess = self._defaultParameters[ 'hltProcess' ].value
594  if outputModule is None:
595  outputModule = self._defaultParameters[ 'outputModule' ].value
596  if postfix is None:
597  postfix = self._defaultParameters[ 'postfix' ].value
598  self.setParameter( 'triggerMatchers', triggerMatchers )
599  self.setParameter( 'triggerProducer', triggerProducer )
600  self.setParameter( 'path' , path )
601  self.setParameter( 'hltProcess' , hltProcess )
602  self.setParameter( 'outputModule' , outputModule )
603  self.setParameter( 'postfix' , postfix )
604  self.apply( process )
605 
def trigTools.SwitchOnTriggerMatchEmbedding.getDefaultParameters (   self)

Definition at line 574 of file trigTools.py.

References trigTools.SwitchOnTriggerMatchEmbedding.__call__(), heavyIonTools.ConfigureHeavyIons._defaultParameters, metTools.AddMETCollection._defaultParameters, trackTools.MakeAODTrackCandidates._defaultParameters, coreTools.RunOnData._defaultParameters, heavyIonTools.ProductionDefaults._defaultParameters, cmsswVersionTools.PickRelValInputFiles._defaultParameters, coreTools.RemoveMCMatching._defaultParameters, trackTools.MakePATTrackCandidates._defaultParameters, trigTools.SwitchOnTrigger._defaultParameters, heavyIonTools.SelectionDefaults._defaultParameters, heavyIonTools.DisbaleMonteCarloDeps._defaultParameters, trigTools.SwitchOnTriggerStandAlone._defaultParameters, trackTools.MakeTrackCandidates._defaultParameters, tauTools.AddTauCollection._defaultParameters, trigTools.SwitchOnTriggerMatching._defaultParameters, trigTools.SwitchOnTriggerMatchingStandAlone._defaultParameters, trigTools.SwitchOnTriggerMatchEmbedding._defaultParameters, jetTools.AddJetCollection._defaultParameters, jetTools.SwitchJetCollection._defaultParameters, jetTools.UpdateJetCollection._defaultParameters, jetTools.AddJetID._defaultParameters, and jetTools.SetTagInfos._defaultParameters.

def trigTools.SwitchOnTriggerMatchEmbedding.toolCode (   self,
  process 
)

Definition at line 606 of file trigTools.py.

References trigTools._addEventContent(), heavyIonTools.ConfigureHeavyIons._label, trackTools.MakeAODTrackCandidates._label, metTools.AddMETCollection._label, coreTools.RunOnData._label, MagneticFieldMapESProducer._label, TrackerInteractionGeometryESProducer._label, Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigFolder._label, heavyIonTools.ProductionDefaults._label, LHECOMWeightProducer._label, cmsswVersionTools.PickRelValInputFiles._label, coreTools.RemoveMCMatching._label, trackTools.MakePATTrackCandidates._label, trigTools.SwitchOnTrigger._label, heavyIonTools.SelectionDefaults._label, heavyIonTools.DisbaleMonteCarloDeps._label, trigTools.SwitchOnTriggerStandAlone._label, trackTools.MakeTrackCandidates._label, tauTools.AddTauCollection._label, trigTools.SwitchOnTriggerMatching._label, trigTools.SwitchOnTriggerMatchingStandAlone._label, trigTools.SwitchOnTriggerMatchEmbedding._label, jetTools.AddJetCollection._label, jetTools.SwitchJetCollection._label, Vispa.Views.LineDecayView.DecayLine._label, jetTools.UpdateJetCollection._label, jetTools.AddJetID._label, jetTools.SetTagInfos._label, editorTools.UserCodeTool._parameters, heavyIonTools.ConfigureHeavyIons._parameters, coreTools.RunOnData._parameters, trackTools.MakeAODTrackCandidates._parameters, Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigFolder._parameters, metTools.AddMETCollection._parameters, Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._parameters, heavyIonTools.ProductionDefaults._parameters, ConfigToolBase.ConfigToolBase._parameters, editorTools.ChangeSource._parameters, TAbsFitConstraint._parameters, TAbsFitParticle._parameters, cmsswVersionTools.PickRelValInputFiles._parameters, coreTools.RemoveMCMatching._parameters, trigTools.SwitchOnTrigger._parameters, trackTools.MakePATTrackCandidates._parameters, heavyIonTools.SelectionDefaults._parameters, heavyIonTools.DisbaleMonteCarloDeps._parameters, trigTools.SwitchOnTriggerStandAlone._parameters, trackTools.MakeTrackCandidates._parameters, tauTools.AddTauCollection._parameters, trigTools.SwitchOnTriggerMatching._parameters, trigTools.SwitchOnTriggerMatchingStandAlone._parameters, trigTools.SwitchOnTriggerMatchEmbedding._parameters, jetTools.AddJetCollection._parameters, jetTools.SwitchJetCollection._parameters, jetTools.UpdateJetCollection._parameters, jetTools.AddJetID._parameters, jetTools.SetTagInfos._parameters, helpers.addToProcessAndTask(), helpers.getPatAlgosToolsTask(), and trigTools.switchOnTriggerMatchingStandAlone.

606  def toolCode( self, process ):
607  triggerMatchers = self._parameters[ 'triggerMatchers' ].value
608  exampleMatchers = self._parameters[ 'exampleMatchers' ].value
609  triggerProducer = self._parameters[ 'triggerProducer' ].value
610  path = self._parameters[ 'path' ].value
611  hltProcess = self._parameters[ 'hltProcess' ].value
612  outputModule = self._parameters[ 'outputModule' ].value
613  postfix = self._parameters[ 'postfix' ].value
614 
615  # Load default producers from existing config file, if needed
616  task = getPatAlgosToolsTask(process)
617  if exampleMatchers:
618  process.load( "PhysicsTools.PatAlgos.triggerLayer1.triggerMatcherExamples_cfi" )
619  task.add(process.triggerMatcherExamplesTask)
620 
621  # Build dictionary of allowed input producers
622  dictPatProducers = { 'PATPhotonCleaner' : 'PATTriggerMatchPhotonEmbedder'
623  , 'PATElectronCleaner': 'PATTriggerMatchElectronEmbedder'
624  , 'PATMuonCleaner' : 'PATTriggerMatchMuonEmbedder'
625  , 'PATTauCleaner' : 'PATTriggerMatchTauEmbedder'
626  , 'PATJetCleaner' : 'PATTriggerMatchJetEmbedder'
627  , 'PATMETCleaner' : 'PATTriggerMatchMETEmbedder'
628 # , 'PATGenericParticleCleaner' : ''
629 # , 'PATPFParticleCleaner' : ''
630  , 'PATPhotonSelector' : 'PATTriggerMatchPhotonEmbedder'
631  , 'PATElectronSelector': 'PATTriggerMatchElectronEmbedder'
632  , 'PATMuonSelector' : 'PATTriggerMatchMuonEmbedder'
633  , 'PATTauSelector' : 'PATTriggerMatchTauEmbedder'
634  , 'PATJetSelector' : 'PATTriggerMatchJetEmbedder'
635  , 'PATMETSelector' : 'PATTriggerMatchMETEmbedder'
636 # , 'PATGenericParticleSelector' : ''
637 # , 'PATPFParticleSelector' : ''
638 # , 'PATCompositeCandidateSelector' : ''
639  , 'PATPhotonRefSelector' : 'PATTriggerMatchPhotonEmbedder'
640  , 'PATElectronRefSelector': 'PATTriggerMatchElectronEmbedder'
641  , 'PATMuonRefSelector' : 'PATTriggerMatchMuonEmbedder'
642  , 'PATTauRefSelector' : 'PATTriggerMatchTauEmbedder'
643  , 'PATJetRefSelector' : 'PATTriggerMatchJetEmbedder'
644  , 'PATMETRefSelector' : 'PATTriggerMatchMETEmbedder'
645 # , 'PATGenericParticleRefSelector' : ''
646 # , 'PATPFParticleRefSelector' : ''
647 # , 'PATCompositeCandidateRefSelector' : ''
648  , 'PATPhotonProducer' : 'PATTriggerMatchPhotonEmbedder'
649  , 'PATElectronProducer': 'PATTriggerMatchElectronEmbedder'
650  , 'PATMuonProducer' : 'PATTriggerMatchMuonEmbedder'
651  , 'PATTauProducer' : 'PATTriggerMatchTauEmbedder'
652  , 'PATJetProducer' : 'PATTriggerMatchJetEmbedder'
653  , 'PATMETProducer' : 'PATTriggerMatchMETEmbedder'
654 # , 'PATGenericParticleProducer' : ''
655 # , 'PATPFParticleProducer' : ''
656 # , 'PATCompositeCandidateProducer' : ''
657  , 'MuonSelectorVertex': 'PATTriggerMatchMuonEmbedder'
658  }
659 
660  # Switch on PAT trigger matching if needed
661  dictConfig = {}
662  if not hasattr( process, triggerProducer ):
663  if exampleMatchers:
664  print '%s():'%( self._label )
665  print ' PAT trigger matching switched on automatically using'
666  print ' switchOnTriggerMatchingStandAlone( process, \'%s\', None, \'%s\', \'%s\', \'%s\', \'%s\' )'%( hltProcess, triggerProducer, path, outputModule, postfix )
667  print _longLine
668  switchOnTriggerMatchingStandAlone( process, None, triggerProducer, path, hltProcess, '', postfix ) # Do not store intermediate output collections.
669  else:
670  print '%s():'%( self._label )
671  print ' PAT trigger matching switched on automatically using'
672  print ' switchOnTriggerMatchingStandAlone( process, \'%s\', %s, \'%s\', \'%s\', \'%s\', \'%s\' )'%( hltProcess, triggerMatchers, triggerProducer, path, outputModule, postfix )
673  print _longLine
674  switchOnTriggerMatchingStandAlone( process, triggerMatchers, triggerProducer, path, hltProcess, '', postfix ) # Do not store intermediate output collections.
675  elif exampleMatchers:
676  process.load( "PhysicsTools.PatAlgos.triggerLayer1.triggerMatcherExamples_cfi" )
677  task.add(process.triggerMatcherExamplesTask)
678 
679  # Build dictionary of matchers
680  for matcher in triggerMatchers:
681  if not hasattr( process, matcher ):
682  print '%s():'%( self._label )
683  print ' PAT trigger matcher \'%s\' not known to process'%( matcher )
684  print ' ==> skipped'
685  print _longLine
686  continue
687  trigMchMod = getattr( process, matcher )
688  patObjProd = getattr( process, trigMchMod.src.value() + postfix )
689  if trigMchMod.src.value() in dictConfig:
690  dictConfig[ patObjProd.type_() ] += [ matcher ]
691  else:
692  dictConfig[ patObjProd.type_() ] = [ matcher ]
693 
694  # Maintain configurations
695  patTriggerEventContent = []
696  for patObjProdType in dictConfig.keys():
697  if patObjProdType in dictPatProducers:
698  for matcher in dictConfig[ patObjProdType ]:
699  trigMchMod = getattr( process, matcher )
700  patObjProd = getattr( process, trigMchMod.src.value() + postfix )
701  # Configure embedder module
702  label = patObjProd.label_() + 'TriggerMatch' # hardcoded default
703  if hasattr( process, label ):
704  print '%s():'%( self._label )
705  print ' PAT trigger match embedder \'%s\' exists already in process'%( label )
706  print ' ==> entry re-used'
707  print _longLine
708  module = getattr( process, label )
709  if not module.type_() is dictPatProducers[ patObjProdType ]:
710  print '%s():'%( self._label )
711  print ' Configuration conflict for PAT trigger match embedder \'%s\''%( label )
712  print ' - exists as %s'%( module.type_() )
713  print ' - requested as %s by \'%s\''%( dictPatProducers[ patObjProdType ], matcher )
714  print ' ==> skipped'
715  print _longLine
716  continue
717  if not module.src.value() is trigMchMod.src.value() + postfix:
718  print '%s():'%( self._label )
719  print ' Configuration conflict for PAT trigger match embedder \'%s\''%( label )
720  print ' - exists for input %s'%( module.src.value() )
721  print ' - requested for input %s by \'%s\''%( trigMchMod.src.value() + postfix, matcher )
722  print ' ==> skipped'
723  print _longLine
724  continue
725  module.matches.append( cms.InputTag( matcher ) )
726  else:
727  module = cms.EDProducer( dictPatProducers[ patObjProdType ] )
728  module.src = cms.InputTag( patObjProd.label_() )
729  module.matches = cms.VInputTag( matcher )
730  addToProcessAndTask(label, module, process, task)
731  # Add event content
732  patTriggerEventContent += [ 'drop *_%s_*_*'%( patObjProd.label_() )
733  , 'keep *_%s_*_%s'%( label, process.name_() )
734  ]
735  else:
736  print '%s():'%( self._label )
737  print ' Invalid input source for trigger match embedding'
738  print ' ==> %s with matchers \'%s\' is skipped'%( patObjProdType, dictConfig[ patObjProdType ] )
739  print _longLine
740  if outputModule is not '':
741  getattr( process, outputModule ).outputCommands = _addEventContent( getattr( process, outputModule ).outputCommands, patTriggerEventContent )
742 
def addToProcessAndTask(label, module, process, task)
Definition: helpers.py:27
def _addEventContent(outputCommands, eventContent)
Definition: trigTools.py:29
switchOnTriggerMatchingStandAlone
Definition: trigTools.py:536
def getPatAlgosToolsTask(process)
Definition: helpers.py:12

Member Data Documentation

trigTools.SwitchOnTriggerMatchEmbedding._comment
private

Definition at line 572 of file trigTools.py.

trigTools.SwitchOnTriggerMatchEmbedding._defaultParameters
staticprivate

Definition at line 560 of file trigTools.py.

Referenced by HiCoreTools.RestrictInputToAOD.__call__(), runJetUncertainties.RunJetUncertainties.__call__(), editorTools.ChangeSource.__call__(), HiCoreTools.RemoveMCMatching.__call__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.__call__(), HiCoreTools.RemoveAllPATObjectsBut.__call__(), HiCoreTools.RemoveSpecificPATObjects.__call__(), HiCoreTools.RemoveCleaning.__call__(), HiCoreTools.AddCleaning.__call__(), trigTools.SwitchOnTriggerMatchEmbedding.__call__(), editorTools.UserCodeTool.__init__(), HiCoreTools.RestrictInputToAOD.__init__(), runJetUncertainties.RunJetUncertainties.__init__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.__init__(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool.__init__(), editorTools.ChangeSource.__init__(), HiCoreTools.RemoveMCMatching.__init__(), HiCoreTools.RemoveAllPATObjectsBut.__init__(), HiCoreTools.RemoveSpecificPATObjects.__init__(), HiCoreTools.RemoveCleaning.__init__(), HiCoreTools.AddCleaning.__init__(), trigTools.SwitchOnTriggerMatchEmbedding.__init__(), ConfigToolBase.ConfigToolBase.dumpPython(), ConfigToolBase.ConfigToolBase.getAllowedValues(), HiCoreTools.RestrictInputToAOD.getDefaultParameters(), editorTools.ChangeSource.getDefaultParameters(), HiCoreTools.RemoveMCMatching.getDefaultParameters(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.getDefaultParameters(), HiCoreTools.RemoveAllPATObjectsBut.getDefaultParameters(), HiCoreTools.RemoveSpecificPATObjects.getDefaultParameters(), HiCoreTools.RemoveCleaning.getDefaultParameters(), HiCoreTools.AddCleaning.getDefaultParameters(), trigTools.SwitchOnTriggerMatchEmbedding.getDefaultParameters(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.initializeInputTag(), ConfigToolBase.ConfigToolBase.reset(), and ConfigToolBase.ConfigToolBase.setParameter().

trigTools.SwitchOnTriggerMatchEmbedding._label
staticprivate
trigTools.SwitchOnTriggerMatchEmbedding._parameters
private

Definition at line 571 of file trigTools.py.

Referenced by runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.__call__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.ak4JetReclustering(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.createMVAMETModule(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.createSmearedJetModule(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.extractMET(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.getCorrectedMET(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.getUnclusteredVariationsForMVAMET(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.getVariations(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.jetCleaning(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.jetConfiguration(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.miniAODConfiguration(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.miniAODConfigurationPost(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.produceMET(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.recomputeRawMetFromPfcs(), HiCoreTools.RestrictInputToAOD.toolCode(), runJetUncertainties.RunJetUncertainties.toolCode(), HiCoreTools.RemoveMCMatching.toolCode(), HiCoreTools.RemoveAllPATObjectsBut.toolCode(), HiCoreTools.RemoveSpecificPATObjects.toolCode(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.toolCode(), HiCoreTools.RemoveCleaning.toolCode(), HiCoreTools.AddCleaning.toolCode(), trigTools.SwitchOnTriggerMatchEmbedding.toolCode(), and runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.updateJECs().