Create flags category and corresponding set of flags.
163 flags.PhysVal.OutputFileName = flags.PhysVal.IDTPM.outputFilePrefix +
'.HIST.root'
164 flags.Output.AOD_IDTPMFileName = flags.PhysVal.IDTPM.outputFilePrefix +
'.AOD_IDTPM.pool.root'
167 flags.addFlagsCategory(
"PhysVal.IDTPM.Default",
168 __createIDTPMTrkAnaConfigFlags,
171 from InDetTrackPerfMon.ConfigUtils
import getTrkAnaDicts
174 print (
str(analysesDict))
177 for trkAnaName, trkAnaDict
in analysesDict.items():
179 trkAnaNames.append( trkAnaName )
182 flags.addFlagsCategory(
"PhysVal.IDTPM."+trkAnaName,
183 __createIDTPMTrkAnaConfigFlags,
187 for fname, fvalue
in trkAnaDict.items():
188 if fname.startswith(
"_comment" ):
continue
189 setattr( flags.PhysVal.IDTPM,
190 trkAnaName+
"."+fname, fvalue )
193 flags.PhysVal.IDTPM.trkAnaNames = trkAnaNames