Calibration problem

From: Peter H. L. Christiansen (pchristi@nbi.dk)
Date: Fri Nov 02 2001 - 04:44:32 EST

  • Next message: Christian Holm Christensen: "Re: new brat version 2.1.20"

    Hi devs
    
    I have a small problem that I think others might also run into. 
    
    When I apply calibrations the earliest I can currently do it is in the 
    Begin loop. This is fine for most calibrations, but when you fx have a map 
    of the TPC with the instrumented rows (something that has changed for fx 
    TPM2) then it means that the tpc detector parameters are first updated in 
    the Begin phase, i.e., after Init and Book have been called by the 
    different modules. If some of these uses the instrumented rows information 
    (like BrTpcTrackFollowModule uses it to define histograms) then this could 
    be wrong.
    
    The problem is related to the fact that BrDbUpdateModule has to be first 
    in the mainmodule pipeline so that you first register the calibrations you 
    want to use after init has been called for BrDbUpdateModule. 
    
    Maybe some of the clever guys can see an easy way of fixing this. I can 
    only see the rough way of copying the most of the begin method and insert 
    it in init in my apply calibrations class(BrTpcCalModule). 
    
    Thanks 
       Peter
    



    This archive was generated by hypermail 2b30 : Fri Nov 02 2001 - 04:44:56 EST