@dildick - you should get the handle first, then check if it is valid:
```
edm::ESHandle h_gem;
setup.get().get(h_gem);
if (h_gem.isValid()) {
lctBuilder_->setGEMGeometry(&*h_gem);
}
```