Versatile Energy-Based Probabilistic Models for High Energy Physics