CMS 3D CMS Logo

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

Public Member Functions

def __call__ (self, process)
 
def __copy__ (self)
 copy(self) returns a copy of the tool More...
 
def __init__ (self)
 
def addParameter (self, dict, parname, parvalue, description, Type=None, allowedValues=None, acceptNoneValue=False)
 use addParameter method in the redefinition of tool constructor in order to add parameters to the tools each tool is defined by its label, default value, description, type and allowedValues (the last two attribute can be ignored if the user gives a valid default values and if there is not a list of allowed values) More...
 
def apply (self, process)
 
def comment (self)
 
def description (self)
 
def dumpPython (self)
 
def errorMessage (self, value, type)
 
def getAllowedValues (self, name)
 
def getParameters (self)
 
def getvalue (self, name)
 
def isAllowed (self, name, value)
 method isAllowed is called by setParameter to check input values for a specific parameter More...
 
def reset (self)
 
def setComment (self, comment)
 
def setParameter (self, name, value, typeNone=False)
 
def setParameters (self, parameters)
 
def toolCode (self, process)
 
def typeError (self, name)
 check about input value type
More...
 

Public Attributes

 parAccepted
 

Private Attributes

 _comment
 
 _description
 
 _parameters
 

Static Private Attributes

 _defaultValue
 
 _label
 
 _path
 

Detailed Description

Base class for PAT tools

Definition at line 33 of file ConfigToolBase.py.

Constructor & Destructor Documentation

◆ __init__()

def ConfigToolBase.ConfigToolBase.__init__ (   self)

Definition at line 40 of file ConfigToolBase.py.

40  def __init__(self):
41  self._parameters=dicttypes.SortedKeysDict()
42  self._description=self.__doc__
43  self._comment = ''
44  self.parAccepted=True
45  saveOrigin(self,1)
46  self._path = path.realpath(self._filename)
47  self._path = self._path.split("/src/")
48  self._path = self._path[1].replace("/python","")
49  #self._path = "".join(self._path)
50  self._path = self._path.replace("/",".")
51  self._path = self._path.replace(".py","")
52 
53 

Member Function Documentation

◆ __call__()

def ConfigToolBase.ConfigToolBase.__call__ (   self,
  process 
)
Call the instance 

Definition at line 54 of file ConfigToolBase.py.

54  def __call__(self,process):
55  """ Call the instance
56  """
57  raise NotImplementedError
58 

◆ __copy__()

def ConfigToolBase.ConfigToolBase.__copy__ (   self)

copy(self) returns a copy of the tool

Definition at line 83 of file ConfigToolBase.py.

83  def __copy__(self):
84  c=type(self)()
85  c.setParameters(copy.deepcopy(self._parameters))
86  c.setComment(self._comment)
87  return c

References ConfigToolBase.ConfigToolBase._comment, cmsswVersionTools.PickRelValInputFiles._comment, ConfigToolBase.ConfigToolBase._parameters, TAbsFitConstraint._parameters, TAbsFitParticle._parameters, and cmsswVersionTools.PickRelValInputFiles._parameters.

Referenced by ConfigToolBase.ConfigToolBase.apply().

◆ addParameter()

def ConfigToolBase.ConfigToolBase.addParameter (   self,
  dict,
  parname,
  parvalue,
  description,
  Type = None,
  allowedValues = None,
  acceptNoneValue = False 
)

use addParameter method in the redefinition of tool constructor in order to add parameters to the tools each tool is defined by its label, default value, description, type and allowedValues (the last two attribute can be ignored if the user gives a valid default values and if there is not a list of allowed values)

Add a parameter with its label, value, description and type to self._parameters

Definition at line 102 of file ConfigToolBase.py.

102  def addParameter(self,dict,parname, parvalue, description,Type=None, allowedValues=None, acceptNoneValue=False):
103  """ Add a parameter with its label, value, description and type to self._parameters
104  """
105  par=parameter()
106  par.name=parname
107  par.value=parvalue
108  par.description=description
109  if Type==None:
110  par.type=type(parvalue)
111  else: par.type=Type
112  par.allowedValues=allowedValues
113  par.acceptNoneValue=acceptNoneValue
114  dict[par.name]=par

Referenced by metTools.AddMETCollection.__init__(), trackTools.MakeAODTrackCandidates.__init__(), coreTools.RunOnData.__init__(), runJetUncertainties.RunJetUncertainties.__init__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.__init__(), cmsswVersionTools.PickRelValInputFiles.__init__(), coreTools.RemoveMCMatching.__init__(), trackTools.MakePATTrackCandidates.__init__(), trigTools.SwitchOnTrigger.__init__(), trigTools.SwitchOnTriggerStandAlone.__init__(), tauTools.AddTauCollection.__init__(), trackTools.MakeTrackCandidates.__init__(), trigTools.SwitchOnTriggerMatching.__init__(), trigTools.SwitchOnTriggerMatchingStandAlone.__init__(), trigTools.SwitchOnTriggerMatchEmbedding.__init__(), jetTools.AddJetCollection.__init__(), jetTools.SwitchJetCollection.__init__(), jetTools.UpdateJetCollection.__init__(), jetTools.AddJetID.__init__(), and jetTools.SetTagInfos.__init__().

◆ apply()

def ConfigToolBase.ConfigToolBase.apply (   self,
  process 
)

Definition at line 59 of file ConfigToolBase.py.

59  def apply(self,process):
60 
61  if hasattr(process, "addAction"):
62  process.disableRecording()
63 
64  try:
65  comment=inspect.stack(2)[2][4][0].rstrip("\n")
66  if comment.startswith("#"):
67  self.setComment(comment.lstrip("#"))
68  except:
69  pass
70 
71  self.toolCode(process)
72 
73  if hasattr(process, "addAction"):
74  process.enableRecording()
75  action=self.__copy__()
76  process.addAction(action)
77 

References PhysicsObject.PhysicsObject.__copy__(), ConfigToolBase.ConfigToolBase.__copy__(), RunCommentDat.setComment(), ODFEDAQConfig.setComment(), edm::ConfigurationDescriptions.setComment(), pos::PixelConfigBase.setComment(), edm::ParameterSetDescription.setComment(), edm::ParameterDescriptionNode.setComment(), L1TUtmTriggerMenu.setComment(), ConfigToolBase.ConfigToolBase.setComment(), Json::Value.setComment(), Json::Value::CommentInfo.setComment(), and ConfigToolBase.ConfigToolBase.toolCode().

Referenced by heavyIonTools.ConfigureHeavyIons.__call__(), coreTools.RunOnData.__call__(), trackTools.MakeAODTrackCandidates.__call__(), runJetUncertainties.RunJetUncertainties.__call__(), metTools.AddMETCollection.__call__(), heavyIonTools.ProductionDefaults.__call__(), coreTools.RemoveMCMatching.__call__(), trackTools.MakePATTrackCandidates.__call__(), trigTools.SwitchOnTrigger.__call__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.__call__(), heavyIonTools.SelectionDefaults.__call__(), heavyIonTools.DisbaleMonteCarloDeps.__call__(), trigTools.SwitchOnTriggerStandAlone.__call__(), tauTools.AddTauCollection.__call__(), trackTools.MakeTrackCandidates.__call__(), trigTools.SwitchOnTriggerMatching.__call__(), trigTools.SwitchOnTriggerMatchingStandAlone.__call__(), trigTools.SwitchOnTriggerMatchEmbedding.__call__(), jetTools.AddJetCollection.__call__(), jetTools.SwitchJetCollection.__call__(), jetTools.UpdateJetCollection.__call__(), jetTools.AddJetID.__call__(), and jetTools.SetTagInfos.__call__().

◆ comment()

def ConfigToolBase.ConfigToolBase.comment (   self)
Return the comment set for this tool

Definition at line 157 of file ConfigToolBase.py.

157  def comment(self):
158  """ Return the comment set for this tool
159  """
160  return self._comment

References ConfigToolBase.ConfigToolBase._comment, and cmsswVersionTools.PickRelValInputFiles._comment.

◆ description()

def ConfigToolBase.ConfigToolBase.description (   self)
Return a string with a detailed description of the action.

Definition at line 94 of file ConfigToolBase.py.

94  def description(self):
95  """ Return a string with a detailed description of the action.
96  """
97  return self._description
98 

References ConfigToolBase.ConfigToolBase._description.

◆ dumpPython()

def ConfigToolBase.ConfigToolBase.dumpPython (   self)
Return the python code to perform the action

Definition at line 134 of file ConfigToolBase.py.

134  def dumpPython(self):
135  """ Return the python code to perform the action
136  """
137  dumpPythonImport = "\nfrom "+self._path+" import *\n"
138  dumpPython=''
139  if self._comment!="":
140  dumpPython = '#'+self._comment
141  dumpPython += "\n"+self._label+"(process "
142  for key in self._parameters.keys():
143  if repr(self._parameters[key].value)!=repr(self._defaultParameters[key].value):
144  dumpPython+= ", "+str(key)+" = "
145  if self._parameters[key].type is str:
146  string = "'"+str(self.getvalue(key))+"'"
147  else:
148  string = str(self.getvalue(key))
149  dumpPython+= string
150  dumpPython+=")"+'\n'
151  return (dumpPythonImport,dumpPython)
152 

References ConfigToolBase.ConfigToolBase._comment, cmsswVersionTools.PickRelValInputFiles._comment, heavyIonTools.ConfigureHeavyIons._defaultParameters, metTools.AddMETCollection._defaultParameters, trackTools.MakeAODTrackCandidates._defaultParameters, coreTools.RunOnData._defaultParameters, runJetUncertainties.RunJetUncertainties._defaultParameters, runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties._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, tauTools.AddTauCollection._defaultParameters, trackTools.MakeTrackCandidates._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, MagneticFieldMapESProducer._label, TrackerInteractionGeometryESProducer._label, ConfigToolBase.ConfigToolBase._label, LHECOMWeightProducer._label, cmsswVersionTools.PickRelValInputFiles._label, ConfigToolBase.ConfigToolBase._parameters, TAbsFitConstraint._parameters, TAbsFitParticle._parameters, cmsswVersionTools.PickRelValInputFiles._parameters, HIPplots._path, ConfigToolBase.ConfigToolBase._path, CommonAnalyzer._path, ConfigToolBase.ConfigToolBase.getvalue(), relativeConstraints.keys, and str.

◆ errorMessage()

def ConfigToolBase.ConfigToolBase.errorMessage (   self,
  value,
  type 
)

Definition at line 161 of file ConfigToolBase.py.

161  def errorMessage(self,value,type):
162  return "The type for parameter "+'"'+str(value)+'"'+" is not "+'"'+str(type)+'"'

References str.

Referenced by ConfigToolBase.ConfigToolBase.typeError().

◆ getAllowedValues()

def ConfigToolBase.ConfigToolBase.getAllowedValues (   self,
  name 
)

◆ getParameters()

def ConfigToolBase.ConfigToolBase.getParameters (   self)
Return a copy of the dict of the parameters.

Definition at line 115 of file ConfigToolBase.py.

115  def getParameters(self):
116  """ Return a copy of the dict of the parameters.
117  """
118  return copy.deepcopy(self._parameters)

References ConfigToolBase.ConfigToolBase._parameters, TAbsFitConstraint._parameters, TAbsFitParticle._parameters, and cmsswVersionTools.PickRelValInputFiles._parameters.

◆ getvalue()

def ConfigToolBase.ConfigToolBase.getvalue (   self,
  name 
)

◆ isAllowed()

def ConfigToolBase.ConfigToolBase.isAllowed (   self,
  name,
  value 
)

method isAllowed is called by setParameter to check input values for a specific parameter

Definition at line 164 of file ConfigToolBase.py.

164  def isAllowed(self,name,value):
165  self.parAccepted=True
166  if value==[]:
167  self.parAccepted=False
168  elif (isinstance(value,dict)) and (isinstance(self._parameters[name].allowedValues,list)):
169  for key in value.keys():
170  if (key not in self._parameters[name].allowedValues):
171  raise ValueError("The input key value "+'"'+str(key)+'"'+" for parameter "+'"'+name+'"'+" is not supported. Supported ones are: "+str(self._parameters[name].allowedValues)[1:-1])
172  elif (isinstance(value,list)) and (isinstance(self._parameters[name].allowedValues,list )):
173  for val in value:
174  if (val not in self._parameters[name].allowedValues) :
175  raise ValueError("The input value "+'"'+str(val)+'"'+" for parameter "+'"'+name+'"'+" is not supported. Supported ones are: "+str(self._parameters[name].allowedValues)[1:-1])
176  elif (not isinstance(value,list))and (isinstance(self._parameters[name].allowedValues,list)) :
177  if (value not in self._parameters[name].allowedValues and value == None) and (not self._parameters[name].acceptNoneValue) :
178  self.parAccepted=False
179  elif not isinstance(self._parameters[name].allowedValues,list):
180  if (value!=self._parameters[name].allowedValues and value == None) and (not self._parameters[name].acceptNoneValue) :
181  self.parAccepted=False
182  if self.parAccepted==False:
183  raise ValueError("The input value "+'"'+str(value)+'"'+" for parameter "+'"'+name+'"'+" is not supported. Supported ones are: "+str(self._parameters[name].allowedValues)[1:-1])

References ConfigToolBase.ConfigToolBase._parameters, TAbsFitConstraint._parameters, TAbsFitParticle._parameters, cmsswVersionTools.PickRelValInputFiles._parameters, ConfigToolBase.ConfigToolBase.parAccepted, and str.

Referenced by ConfigToolBase.ConfigToolBase.setParameter().

◆ reset()

def ConfigToolBase.ConfigToolBase.reset (   self)

Definition at line 88 of file ConfigToolBase.py.

88  def reset(self):
89  self._parameters=copy.deepcopy(self._defaultParameters)

References heavyIonTools.ConfigureHeavyIons._defaultParameters, metTools.AddMETCollection._defaultParameters, trackTools.MakeAODTrackCandidates._defaultParameters, coreTools.RunOnData._defaultParameters, runJetUncertainties.RunJetUncertainties._defaultParameters, runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties._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, tauTools.AddTauCollection._defaultParameters, trackTools.MakeTrackCandidates._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, ConfigToolBase.ConfigToolBase._parameters, TAbsFitConstraint._parameters, TAbsFitParticle._parameters, and cmsswVersionTools.PickRelValInputFiles._parameters.

◆ setComment()

def ConfigToolBase.ConfigToolBase.setComment (   self,
  comment 
)
Write a comment in the configuration file

Definition at line 153 of file ConfigToolBase.py.

153  def setComment(self, comment):
154  """ Write a comment in the configuration file
155  """
156  self._comment = str(comment)

References ConfigToolBase.ConfigToolBase._comment, cmsswVersionTools.PickRelValInputFiles._comment, and str.

Referenced by ConfigToolBase.ConfigToolBase.apply().

◆ setParameter()

def ConfigToolBase.ConfigToolBase.setParameter (   self,
  name,
  value,
  typeNone = False 
)
Change parameter 'name' to a new value

Definition at line 119 of file ConfigToolBase.py.

119  def setParameter(self, name, value, typeNone=False):
120  """ Change parameter 'name' to a new value
121  """
122  self._parameters[name].value=value
123 
124  self.typeError(name)
125 
126  if self._defaultParameters[name].allowedValues is not None: self.isAllowed(name,value )

References heavyIonTools.ConfigureHeavyIons._defaultParameters, metTools.AddMETCollection._defaultParameters, trackTools.MakeAODTrackCandidates._defaultParameters, coreTools.RunOnData._defaultParameters, runJetUncertainties.RunJetUncertainties._defaultParameters, runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties._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, tauTools.AddTauCollection._defaultParameters, trackTools.MakeTrackCandidates._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, ConfigToolBase.ConfigToolBase._parameters, TAbsFitConstraint._parameters, TAbsFitParticle._parameters, cmsswVersionTools.PickRelValInputFiles._parameters, ConfigToolBase.ConfigToolBase.isAllowed(), and ConfigToolBase.ConfigToolBase.typeError().

Referenced by coreTools.RunOnData.__call__(), trackTools.MakeAODTrackCandidates.__call__(), runJetUncertainties.RunJetUncertainties.__call__(), metTools.AddMETCollection.__call__(), cmsswVersionTools.PickRelValInputFiles.__call__(), coreTools.RemoveMCMatching.__call__(), trackTools.MakePATTrackCandidates.__call__(), trigTools.SwitchOnTrigger.__call__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.__call__(), trigTools.SwitchOnTriggerStandAlone.__call__(), tauTools.AddTauCollection.__call__(), trackTools.MakeTrackCandidates.__call__(), trigTools.SwitchOnTriggerMatching.__call__(), trigTools.SwitchOnTriggerMatchingStandAlone.__call__(), trigTools.SwitchOnTriggerMatchEmbedding.__call__(), jetTools.AddJetCollection.__call__(), jetTools.SwitchJetCollection.__call__(), jetTools.UpdateJetCollection.__call__(), jetTools.AddJetID.__call__(), jetTools.SetTagInfos.__call__(), and runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.jetConfiguration().

◆ setParameters()

def ConfigToolBase.ConfigToolBase.setParameters (   self,
  parameters 
)

Definition at line 127 of file ConfigToolBase.py.

127  def setParameters(self, parameters):
128  self._parameters=copy.deepcopy(parameters)

References ConfigToolBase.ConfigToolBase._parameters, TAbsFitConstraint._parameters, TAbsFitParticle._parameters, and cmsswVersionTools.PickRelValInputFiles._parameters.

◆ toolCode()

def ConfigToolBase.ConfigToolBase.toolCode (   self,
  process 
)

Definition at line 78 of file ConfigToolBase.py.

78  def toolCode(self, process):
79  raise NotImplementedError
80 
81 

Referenced by ConfigToolBase.ConfigToolBase.apply().

◆ typeError()

def ConfigToolBase.ConfigToolBase.typeError (   self,
  name 
)

check about input value type

Definition at line 185 of file ConfigToolBase.py.

185  def typeError(self,name):
186  if self._parameters[name].acceptNoneValue is False:
187  if not isinstance(self._parameters[name].value,self._parameters[name].type):
188  raise TypeError(self.errorMessage(self._parameters[name].value,self._parameters[name].type))
189  else:
190  if not (isinstance(self._parameters[name].value,self._parameters[name].type) or self._parameters[name].value is None):
191  raise TypeError(self.errorMessage(self._parameters[name].value,self._parameters[name].type))

References ConfigToolBase.ConfigToolBase._parameters, TAbsFitConstraint._parameters, TAbsFitParticle._parameters, cmsswVersionTools.PickRelValInputFiles._parameters, CTPPSPixelDataError.errorMessage(), FWEventItem.errorMessage(), and ConfigToolBase.ConfigToolBase.errorMessage().

Referenced by ConfigToolBase.ConfigToolBase.setParameter().

Member Data Documentation

◆ _comment

ConfigToolBase.ConfigToolBase._comment
private

◆ _defaultValue

ConfigToolBase.ConfigToolBase._defaultValue
staticprivate

◆ _description

ConfigToolBase.ConfigToolBase._description
private

Definition at line 42 of file ConfigToolBase.py.

Referenced by ConfigToolBase.ConfigToolBase.description().

◆ _label

ConfigToolBase.ConfigToolBase._label
staticprivate

◆ _parameters

ConfigToolBase.ConfigToolBase._parameters
private

Definition at line 41 of file ConfigToolBase.py.

Referenced by ConfigToolBase.ConfigToolBase.__copy__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.ak4JetReclustering(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.createMVAMETModule(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.createSmearedJetModule(), ConfigToolBase.ConfigToolBase.dumpPython(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.extractMET(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.getCorrectedMET(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.getMETUncertainties(), ConfigToolBase.ConfigToolBase.getParameters(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.getUnclusteredVariationsForMVAMET(), ConfigToolBase.ConfigToolBase.getvalue(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.getVariations(), ConfigToolBase.ConfigToolBase.isAllowed(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.jetCleaning(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.jetConfiguration(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.miniAODConfiguration(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.miniAODConfigurationPost(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.recomputeRawMetFromPfcs(), ConfigToolBase.ConfigToolBase.reset(), ConfigToolBase.ConfigToolBase.setParameter(), ConfigToolBase.ConfigToolBase.setParameters(), coreTools.RunOnData.toolCode(), trackTools.MakeAODTrackCandidates.toolCode(), metTools.AddMETCollection.toolCode(), runJetUncertainties.RunJetUncertainties.toolCode(), coreTools.RemoveMCMatching.toolCode(), trigTools.SwitchOnTrigger.toolCode(), trackTools.MakePATTrackCandidates.toolCode(), trigTools.SwitchOnTriggerStandAlone.toolCode(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.toolCode(), tauTools.AddTauCollection.toolCode(), trackTools.MakeTrackCandidates.toolCode(), trigTools.SwitchOnTriggerMatching.toolCode(), trigTools.SwitchOnTriggerMatchingStandAlone.toolCode(), trigTools.SwitchOnTriggerMatchEmbedding.toolCode(), jetTools.AddJetCollection.toolCode(), jetTools.SwitchJetCollection.toolCode(), jetTools.UpdateJetCollection.toolCode(), jetTools.AddJetID.toolCode(), jetTools.SetTagInfos.toolCode(), ConfigToolBase.ConfigToolBase.typeError(), and runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.updateJECs().

◆ _path

ConfigToolBase.ConfigToolBase._path
staticprivate

Definition at line 39 of file ConfigToolBase.py.

Referenced by ConfigToolBase.ConfigToolBase.dumpPython().

◆ parAccepted

ConfigToolBase.ConfigToolBase.parAccepted

Definition at line 44 of file ConfigToolBase.py.

Referenced by ConfigToolBase.ConfigToolBase.isAllowed().

edmLumisInFiles.description
description
Definition: edmLumisInFiles.py:11
apply
Vec apply(Vec v, F f)
Definition: ExtVec.h:81
relativeConstraints.keys
keys
Definition: relativeConstraints.py:89
cms::dd::split
std::vector< std::string_view > split(std::string_view, const char *)
parameter
Definition: vlib.h:168
str
#define str(s)
Definition: TestProcessor.cc:48
Mixins.saveOrigin
def saveOrigin(obj, level)
Definition: Mixins.py:682
comment
#define comment(par)
Definition: vmac.h:163
ConfigBuilder.dumpPython
def dumpPython(process, name)
Definition: ConfigBuilder.py:92
reset
void reset(double vett[256])
Definition: TPedValues.cc:11
python.rootplot.root2matplotlib.replace
def replace(string, replacements)
Definition: root2matplotlib.py:444