EventLoopMgr strange condition in initialize
In the EventLoopMgr ( [here] (https://gitlab.cern.ch/gaudi/Gaudi/blob/master/GaudiCoreSvc/src/ApplicationMgr/EventLoopMgr.cpp#L66) ) an if condition asks for
m_evtsel != "NONE" || m_evtsel.length() == 0)
, which is already strange. Also I don't see that I can actually chose the name of my EvtSelector myself, it is only EventSelector
(or nullptr).
What is the wanted behavior here? I propose this:
if (m_evtsel.length() == 0) --> service("EventSelector")
else if (m_evtsel == "NONE") --> nullptr
else --> service(m_evtsel)
or am i completely mistaken?
Edited by Niklas Stefan Nolte