bugfix about ChamberId.
Add a feature to prevent crash if GEMGeometry is missing.
Code cleaning.