test
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
trigTools.SwitchOnTriggerMatchEmbedding Class Reference
Inheritance diagram for trigTools.SwitchOnTriggerMatchEmbedding:

Public Member Functions

def __call__
 
def __init__
 
def getDefaultParameters
 
def toolCode
 

Private Attributes

 _comment
 
 _parameters
 

Static Private Attributes

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

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

Constructor & Destructor Documentation

def trigTools.SwitchOnTriggerMatchEmbedding.__init__ (   self)

Definition at line 554 of file trigTools.py.

References metTools.AddMETCollection._defaultParameters, editorTools.UserCodeTool._defaultParameters, trackTools.MakeAODTrackCandidates._defaultParameters, heavyIonTools.ConfigureHeavyIons._defaultParameters, coreTools.RunOnData._defaultParameters, Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._defaultParameters, heavyIonTools.ProductionDefaults._defaultParameters, editorTools.ChangeSource._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, jetTools.AddJetCollection._defaultParameters, trigTools.SwitchOnTriggerMatchingStandAlone._defaultParameters, trigTools.SwitchOnTriggerMatchEmbedding._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(), LutXml.addParameter(), ConfigToolBase.ConfigToolBase.addParameter(), and edm::ParameterSet.addParameter().

555  def __init__( self ):
556  ConfigToolBase.__init__( self )
557  self.addParameter( self._defaultParameters, 'triggerMatchers', _exampleTriggerMatchers, _defaultTriggerMatchersComment )
558  self.addParameter( self._defaultParameters, 'exampleMatchers', False , '' )
559  self.addParameter( self._defaultParameters, 'triggerProducer', _defaultTriggerProducer, _defaultTriggerProducerComment )
560  self.addParameter( self._defaultParameters, 'path' , _defaultPath , _defaultPathComment )
561  self.addParameter( self._defaultParameters, 'hltProcess' , _defaultHltProcess , _defaultHltProcessComment )
562  self.addParameter( self._defaultParameters, 'outputModule' , _defaultOutputModule , _defaultOutputModuleComment )
563  self.addParameter( self._defaultParameters, 'postfix' , _defaultPostfix , _defaultPostfixComment )
564  self._parameters = copy.deepcopy( self._defaultParameters )
565  self._comment = ""

Member Function Documentation

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

Definition at line 576 of file trigTools.py.

References metTools.AddMETCollection._defaultParameters, editorTools.UserCodeTool._defaultParameters, trackTools.MakeAODTrackCandidates._defaultParameters, heavyIonTools.ConfigureHeavyIons._defaultParameters, coreTools.RunOnData._defaultParameters, Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._defaultParameters, heavyIonTools.ProductionDefaults._defaultParameters, editorTools.ChangeSource._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, jetTools.AddJetCollection._defaultParameters, trigTools.SwitchOnTriggerMatchingStandAlone._defaultParameters, trigTools.SwitchOnTriggerMatchEmbedding._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, HcalDeterministicFit.apply(), DummyOOTPileupCorrection.apply(), gen::PhotosppInterface.apply(), SurveyParameters.apply(), FWPSetCellEditor.apply(), gen::PhotosInterface.apply(), FWGUIEventFilter.apply(), DeviationsFromFileSensor2D.apply(), BeamSpotAlignmentParameters.apply(), RigidBodyAlignmentParameters.apply(), ConfigToolBase.ConfigToolBase.apply(), AlignmentParameters.apply(), BowedSurfaceAlignmentParameters.apply(), OOTPileupCorrData.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(), PulseShapeFitOOTPileupCorrection.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(), reco::Or< bool >.apply(), reco::Less< T >.apply(), reco::LessEqual< T >.apply(), reco::More< T >.apply(), reco::MoreEqual< T >.apply(), reco::Equal< T >.apply(), npstat::ArrayND< Num1, Len1, Dim1 >.apply(), ArrayND< Num2, Len2, Dim2 >.apply(), npstat::ArrayND< Numeric >.apply(), ArrayND< Numeric, Len2, Dim2 >.apply(), ArrayND< Accumulator >.apply(), ArrayND< Numeric, Len, Dim >.apply(), npstat::ArrayND< Numeric, StackLen, StackDim >.apply(), Config.ProcessModifier.apply(), ora::OraMainTable.setParameter(), ora::IMainTable.setParameter(), PedeReader.setParameter(), ora::PoolMainTable.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().

577  ):
578  if triggerMatchers is None:
579  triggerMatchers = self._defaultParameters[ 'triggerMatchers' ].value
580  self.setParameter( 'exampleMatchers', True )
581  if triggerProducer is None:
582  triggerProducer = self._defaultParameters[ 'triggerProducer' ].value
583  if path is None:
584  path = self._defaultParameters[ 'path' ].value
585  if hltProcess is None:
586  hltProcess = self._defaultParameters[ 'hltProcess' ].value
587  if outputModule is None:
588  outputModule = self._defaultParameters[ 'outputModule' ].value
589  if postfix is None:
590  postfix = self._defaultParameters[ 'postfix' ].value
591  self.setParameter( 'triggerMatchers', triggerMatchers )
592  self.setParameter( 'triggerProducer', triggerProducer )
593  self.setParameter( 'path' , path )
594  self.setParameter( 'hltProcess' , hltProcess )
595  self.setParameter( 'outputModule' , outputModule )
596  self.setParameter( 'postfix' , postfix )
597  self.apply( process )
def trigTools.SwitchOnTriggerMatchEmbedding.getDefaultParameters (   self)

Definition at line 566 of file trigTools.py.

References trigTools.SwitchOnTriggerMatchEmbedding.__call__(), metTools.AddMETCollection._defaultParameters, editorTools.UserCodeTool._defaultParameters, trackTools.MakeAODTrackCandidates._defaultParameters, heavyIonTools.ConfigureHeavyIons._defaultParameters, coreTools.RunOnData._defaultParameters, Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._defaultParameters, heavyIonTools.ProductionDefaults._defaultParameters, editorTools.ChangeSource._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, jetTools.AddJetCollection._defaultParameters, trigTools.SwitchOnTriggerMatchingStandAlone._defaultParameters, trigTools.SwitchOnTriggerMatchEmbedding._defaultParameters, jetTools.SwitchJetCollection._defaultParameters, jetTools.UpdateJetCollection._defaultParameters, jetTools.AddJetID._defaultParameters, and jetTools.SetTagInfos._defaultParameters.

567  def getDefaultParameters( self ):
568  return self._defaultParameters
def trigTools.SwitchOnTriggerMatchEmbedding.toolCode (   self,
  process 
)

Definition at line 598 of file trigTools.py.

References trigTools._addEventContent(), metTools.AddMETCollection._label, trackTools.MakeAODTrackCandidates._label, editorTools.UserCodeTool._label, heavyIonTools.ConfigureHeavyIons._label, coreTools.RunOnData._label, MagneticFieldMapESProducer._label, TrackerInteractionGeometryESProducer._label, Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigFolder._label, Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._label, heavyIonTools.ProductionDefaults._label, ConfigToolBase.ConfigToolBase._label, editorTools.ChangeSource._label, LHECOMWeightProducer._label, cmsswVersionTools.PickRelValInputFiles._label, coreTools.RemoveMCMatching._label, Vispa.Plugins.ConfigEditor.ToolDataAccessor.ApplyTool._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, jetTools.AddJetCollection._label, trigTools.SwitchOnTriggerMatchingStandAlone._label, trigTools.SwitchOnTriggerMatchEmbedding._label, jetTools.SwitchJetCollection._label, jetTools.UpdateJetCollection._label, Vispa.Views.LineDecayView.DecayLine._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, jetTools.AddJetCollection._parameters, trigTools.SwitchOnTriggerMatchEmbedding._parameters, jetTools.SwitchJetCollection._parameters, jetTools.UpdateJetCollection._parameters, jetTools.AddJetID._parameters, jetTools.SetTagInfos._parameters, and trigTools.switchOnTriggerMatchingStandAlone.

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

Member Data Documentation

trigTools.SwitchOnTriggerMatchEmbedding._comment
private

Definition at line 564 of file trigTools.py.

Referenced by runJetUncertainties.RunJetUncertainties.__init__(), and runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.__init__().

tuple trigTools.SwitchOnTriggerMatchEmbedding._defaultParameters = dicttypes.SortedKeysDict()
staticprivate

Definition at line 552 of file trigTools.py.

Referenced by HiCoreTools.RestrictInputToAOD.__call__(), runJetUncertainties.RunJetUncertainties.__call__(), HiCoreTools.RemoveMCMatching.__call__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.__call__(), HiCoreTools.RemoveAllPATObjectsBut.__call__(), HiCoreTools.RemoveSpecificPATObjects.__call__(), HiCoreTools.RemoveCleaning.__call__(), HiCoreTools.AddCleaning.__call__(), trigTools.SwitchOnTriggerMatchEmbedding.__call__(), HiCoreTools.RestrictInputToAOD.__init__(), runJetUncertainties.RunJetUncertainties.__init__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.__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(), 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().

string trigTools.SwitchOnTriggerMatchEmbedding._label = 'switchOnTriggerMatchEmbedding'
staticprivate

Definition at line 551 of file trigTools.py.

Referenced by validation.SimpleSample.digest(), validation.SimpleSample.label(), and trigTools.SwitchOnTriggerMatchEmbedding.toolCode().

trigTools.SwitchOnTriggerMatchEmbedding._parameters
private

Definition at line 563 of file trigTools.py.

Referenced by runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.__call__(), runJetUncertainties.RunJetUncertainties.__init__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.__init__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.ak4JetReclustering(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.createMVAMETModule(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.createSmearedJetModule(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.extractMET(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.getCorrectedMET(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.getUnclusteredVariationsForMVAMET(), 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().