Common utilities for EcalStudies