For future reference, please replace ```BOOST_FOREACH``` with new C++11 ranged ```for```. E.g.
```C++
for(const auto& ptr: tau.signalPFChargedHadrCands()) {
```