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 540 of file trigTools.py.

Constructor & Destructor Documentation

def trigTools.SwitchOnTriggerMatchEmbedding.__init__ (   self)

Definition at line 563 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().

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

Member Function Documentation

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

Definition at line 585 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(), SignedDecayLength3D.apply(), MatrixReader.MatrixReader.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(), reco::And< bool >.apply(), models.RegExp.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(), IntegratedCalibrationBase.setParameter(), SiStripLorentzAngleCalibration.setParameter(), SiPixelLorentzAngleCalibration.setParameter(), SiStripBackplaneCalibration.setParameter(), fit::RootMinuit< Function >.setParameter(), and ConfigToolBase.ConfigToolBase.setParameter().

Referenced by trigTools.SwitchOnTriggerMatchEmbedding.getDefaultParameters().

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

Definition at line 575 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 607 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, Vispa.Views.LineDecayView.DecayLine._label, jetTools.SwitchJetCollection._label, jetTools.UpdateJetCollection._label, jetTools.AddJetID._label, jetTools.SetTagInfos._label, editorTools.UserCodeTool._parameters, heavyIonTools.ConfigureHeavyIons._parameters, coreTools.RunOnData._parameters, trackTools.MakeAODTrackCandidates._parameters, metTools.AddMETCollection._parameters, Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigFolder._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, trackTools.MakePATTrackCandidates._parameters, trigTools.SwitchOnTrigger._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(), edm.print(), and trigTools.switchOnTriggerMatchingStandAlone.

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

Member Data Documentation

trigTools.SwitchOnTriggerMatchEmbedding._comment
private

Definition at line 573 of file trigTools.py.

trigTools.SwitchOnTriggerMatchEmbedding._defaultParameters
staticprivate

Definition at line 561 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 572 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().