What's the point of this?

DataFormats can't depend on Alignment packages.
If I parsed this correctly, this is needed for some templated code  that would either call or not this set method.
IMHO, it's cleaner just to add a parameter to that template with an argument explicitly controlling this method is called.
A dummy inline setRawEnergy in other Hcal classes is even more transparent.

If you still like it so much, I think this code does not belong in DataFromats.

@Dr15Jones @ktf would ROOT parse this well?