Determine the 'globaltag' of a root file?

Hi guys,

I am trying to determine the globaltag of a root file, I tried to ;

edmProvDump rootfile | grep globaltag

but threw some OS based errors.

Is there any way to determine this string from the rootfile ? I am sure it is embedded in it somewhere but just can’t figure out how. There should be a simple mechanism in CMSSW for this task, I would appreciate if you could point me to right direction.




edmProvDump and globaltag are CMS specific program/concept. We unfortunately have no good pointer to give you except to ask one the CMS mailing list and/or fora.