use bool instead of Cache to get globalBeginRun, globalBeginLuminosityBlock, etc
Note edm::stream::RunCache<void> and edm::stream::LuminosityBlockCache<void>
do not work in the BeginRunProduce, BeginLuminosityBlockProduce context