Closed dudarboh closed 1 year ago
Also, I think NOLOG
and ALWAYS
should be swapped names :)
Right now they do completely the opposite. NOLOG
- print everything and ALWAYS
- print nothing
Hi @dudarboh
Yes, I would guess these are all using cout
, and they are mostly in lcgeo, e.g.
https://github.com/iLCSoft/lcgeo/blob/master/detector/calorimeter/SEcal06_Endcaps.cpp
Hi @dudarboh , since this is unlikely a DD4hep issue, but rather a lcgeo one: can this issue be closed ? If yes, please close.
@MarkusFrankATcernch,
I will close this issue, as indeed, most of them are in the lcgeo,
However, there are still few std::cout
in the dd4hep as well, which would be also nice to wrap in Printout()
:
But I don't think we need a separate issue for few couts.
cheers
Hi all,
Very similar to already raised Issue here: https://github.com/AIDASoft/DD4hep/issues/279
Running DD4hep Marlin processor
leaves a lot of unwanted verbose output.
Even adding
dd4hep::setPrintLevel(dd4hep::WARNING);
beforeto the
MarlinDD4hep
processor code still leaves a lot of output:Is there a way to reduce it?
Its quite hard for me to understand where does this output comes from... I could track only a single line and its seems just a straight
std::cout
. Is it case for every line?https://github.com/AIDASoft/DD4hep/blob/f5df9f743c523c62f5b8517a08fc771704c9e98d/DDCore/src/segmentations/TiledLayerGridXY.cpp#L27
Could it be put into through the
Printout(DEBUG, ...)
?