key4hep / k4SimDelphes

Apache License 2.0
4 stars 14 forks source link

standalone: use K4SIMDELPHES_BATCH_MODE env var to toggle progressbar #79

Closed vvolkl closed 2 years ago

vvolkl commented 2 years ago

Quick fix for https://github.com/key4hep/k4SimDelphes/issues/78

vvolkl commented 2 years ago

Ok, I was a little too quick in fixing this issue, I didn't even check if it still applies :) In fact it doesn't, the progressbar has been switched off by passing it a negative argument https://github.com/key4hep/k4SimDelphes/blob/main/standalone/src/DelphesMain.h#L67

This PR could be expanded to actually make the progressbar toggle-able, but I suggest to instead use the framework components if more sophisticated logging is needed.