Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  22 May 2007, Randolf Pohl, Bug Report, analyzer_init called by odb_load 
    Reply  22 May 2007, Stefan Ritt, Bug Report, analyzer_init called by odb_load 
       Reply  22 May 2007, Randolf Pohl, Bug Report, analyzer_init called by odb_load 
          Reply  22 May 2007, Stefan Ritt, Bug Report, analyzer_init called by odb_load 
Message ID: 379     Entry time: 22 May 2007     In reply to: 378     Reply to this: 380
Author: Randolf Pohl 
Topic: Bug Report 
Subject: analyzer_init called by odb_load 
Thanks for the quick reply, Stefan.

Please don't change anything in the code unless you find it really important. I guess 
changing the analyzer_init prototype will break a lot of code out there?

In fact, I think I do understand this behavior now.
And even without your suggested fix there is a simple workaround: I add a static 
variable to my analyzer_init.cxx file, and do something similar to your bFirst fix.

In conclusion, commit your fix if it does not harm others. Postpone this commit to a 
future new version of midas which breaks a lot of things anyway...

A last question, for me to understand: Why not call db_open_record in 
ana_begin_of_run then?

Cheers,

Randolf
ELOG V3.1.4-2e1708b5