225 plottingOptionsClasses = {
226 "offline": PlottingOptionsOffline,
227 "split": PlottingOptionsTrackSplitting,
228 "zmumu": PlottingOptionsZMuMu,
229 "primaryvertex": PlottingOptionsPrimaryVertex,
231 if isinstance(valType, type):
232 valType = valType.valType
234 if valType
not in globalDictionaries.plottingOptions:
236 raise ValueError(
"Have to provide a config the first time you call PlottingOptions for {}".
format(valType))
237 globalDictionaries.plottingOptions[valType] = plottingOptionsClasses[valType](config)
238 return globalDictionaries.plottingOptions[valType].getRepMap()
239 def PlottingOptions(config, valType)