I just drop this to let discussion about what is the most appropriate style settings to be used with clang-format. An example result after using clang-format is in the present TRestAxionSolarModel.
Maybe the increased width can be a problem when doing some side by side comparison (merge etc.) especially when using 3 files (I think that’s the idea behind such a short limit anyway) but personally I don’t do these frequently enough that this would be come a problem so I agree with your additions to the .clang-format file.
I also found out that clang gets a bit confused after ClassImp( TRestClassName )
This is because ClassImp does not end using ;. However, I believe I run in the past into troubles long long time ago because the ; was included. Perhaps this was a bug in ROOT5? I have added now the ; to few classes and I get no troubles…