Ignore:
Timestamp:
01/10/06 13:44:29 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/macros/fillcalib.C

    r7363 r7459  
    3434// From this file the MBadPixelsCam and the MGeomCam is extracted. If
    3535// the geometry isn't found MGeomCamMagic is used as a default.
     36// The bad pixel information and other information, extracted from the status
     37// display, is inserted into the database in the table Calibration, which
     38// stores the results from the calibration.
     39// The corresponding sequence number is extracted from the filename...
     40// FIXME: MSeqeuence should be stored in the calib-file?
    3641//
    3742// Usage:
    38 //   .x fillcalib.C("/data/MAGIC/Period014/calib00000.root", kTRUE)
     43//  .x fillcalib.C("/magic/data/callisto/0004/00047421/calib00047421.root", kTRUE)
    3944//
    4045// The second argument is the 'dummy-mode'. If it is kTRUE dummy-mode is
    4146// switched on and nothing will be written into the database. This is usefull
    4247// for tests.
    43 //
    44 // The corresponding sequence number is extracted from the filename...
    45 // FIXME: MSeqeuence should be stored in the calib-file?
    4648//
    4749// The macro can also be run without ACLiC but this is a lot slower...
     
    106108int Process(MSQLServer &serv, TString fname, Bool_t dummy)
    107109{
     110    //getting number of unsuitable, unreliable and isolated pixel
    108111    MBadPixelsCam badpix;
    109112
     
    234237    cout << "  Mean Conv outer:   " << meanconvouter << endl;
    235238
     239    //inserting or updating the information in the database
    236240    TString query;
    237241    if (!ExistStr(serv, "fSequenceFirst", "Calibration", seq))
Note: See TracChangeset for help on using the changeset viewer.