Re: TOF calibration

From: Djamel Ouerdane (ouerdane@nbi.dk)
Date: Wed Dec 13 2000 - 04:37:58 EST

  • Next message: Djamel Ouerdane: "FFS Tracking"

    Dear Flemming and others,
    
    I forgot to mention another program:
    
     CreateDbTOFTables
    
    It creates some TOF specific tables in the DB you mention in a command
    option (because all my calibration package assumes that TOF tables are
    identical in their structure  in every DB server). It means that if you
    want to run this package you have first to create the appropriate DB
    tables.
    
    
    > 
    > >From your description, this sound very good. I think this should be
    > committed asap to your do_app so a closer look can be taken, and be used.
    > The BrCalibrationsParamTOF should probably somewhere more general place (and
    > be suplemented with similar classes from other detectors.)
    > For the longer term the profilating use of  not always matching classes of
    > file handling must be taken (sequence managers, now datahandler,...) so they
    > can be consolidated.
    
    
    It is planned to merge these 2 classes (I talked with Claus who wrote the
    sequence manager) and I realized that the sequence manager only dealt with
    sequences (increment sequences and modifies file names), which was the
    goal of this class, but doesn't open
    or close files, etc. So the data handler is not only doing the same (I
    wrote the preliminary version last summer but it was just for my personal
    use at first since I thought people had their own methods to deal with
    data). 
    
    The scheme of the use of this class is:
      1- Create a handler (with run number, number of events, data type, etc)
      2- set some parameters (data directory, geo and mag files, etc)
      3- add some modules or module containers, whatever they are
      4- initialize
      5- begin session
      6- loop over events (do { handler->Event(); } while (NextEvent()); )
      7- finish session
      8- eventually other loops (can reset parameters or not before)
      9- finish once more
     10- end session
    
    This is in practice what Christian Holm wanted with BrMainModule so that
    I'll make it derive from this class.
    
    > 
    > Now the pii3 has been updated it is the plan to get one of the rcf machines
    > (rcas0005.) converrted to the calibration database server (under our
    > control) with backups etc, lso as soon as possible.
    
    
    That sounds great.
    
    I'm gonna clean up the calibration package & will commit it into
    brahms_app.
    For BrCalibrationParamsTOF, there are 2 possibilities: either in tof/
    or in dbapp/ like for BrCalibrationParamsBB
    
    Which one is the best?
    
    Djamel
     
     
    



    This archive was generated by hypermail 2b29 : Wed Dec 13 2000 - 04:39:04 EST