Create flags category and corresponding set of flags.
157 flags.PhysVal.OutputFileName = flags.PhysVal.IDTPM.outputFilePrefix +
'.HIST.root'
158 flags.Output.AOD_IDTPMFileName = flags.PhysVal.IDTPM.outputFilePrefix +
'.AOD_IDTPM.pool.root'
161 flags.addFlagsCategory(
"PhysVal.IDTPM.Default",
162 __createIDTPMTrkAnaConfigFlags,
165 from InDetTrackPerfMon.ConfigUtils
import getTrkAnaDicts
168 print (
str(analysesDict))
171 for trkAnaName, trkAnaDict
in analysesDict.items():
173 trkAnaNames.append( trkAnaName )
176 flags.addFlagsCategory(
"PhysVal.IDTPM."+trkAnaName,
177 __createIDTPMTrkAnaConfigFlags,
181 for fname, fvalue
in trkAnaDict.items():
182 if fname.startswith(
"_comment" ):
continue
183 setattr( flags.PhysVal.IDTPM,
184 trkAnaName+
"."+fname, fvalue )
187 flags.PhysVal.IDTPM.trkAnaNames = trkAnaNames