Converting to ROOT types

Hi,

I have some legacy software that uses fundamental types explicitly (i.e. “int”, “long”, etc.)

I was wondering if there already exists a tool for parsing source code and converting these types to their ROOT equivalents (i.e. “int” to “Int_t”).

Thanks!

I do not think there is one but it seems a global edit with any well-know text editor like “vi” might do it. Any way the standard C types are compatible with ROOT so in principle you do not need to convert.