Changeset 7459 for trunk/MagicSoft/Mars/datacenter/macros/fillcalib.C
- Timestamp:
- 01/10/06 13:44:29 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/macros/fillcalib.C
r7363 r7459 34 34 // From this file the MBadPixelsCam and the MGeomCam is extracted. If 35 35 // 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? 36 41 // 37 42 // Usage: 38 // .x fillcalib.C("/data/MAGIC/Period014/calib00000.root", kTRUE)43 // .x fillcalib.C("/magic/data/callisto/0004/00047421/calib00047421.root", kTRUE) 39 44 // 40 45 // The second argument is the 'dummy-mode'. If it is kTRUE dummy-mode is 41 46 // switched on and nothing will be written into the database. This is usefull 42 47 // for tests. 43 //44 // The corresponding sequence number is extracted from the filename...45 // FIXME: MSeqeuence should be stored in the calib-file?46 48 // 47 49 // The macro can also be run without ACLiC but this is a lot slower... … … 106 108 int Process(MSQLServer &serv, TString fname, Bool_t dummy) 107 109 { 110 //getting number of unsuitable, unreliable and isolated pixel 108 111 MBadPixelsCam badpix; 109 112 … … 234 237 cout << " Mean Conv outer: " << meanconvouter << endl; 235 238 239 //inserting or updating the information in the database 236 240 TString query; 237 241 if (!ExistStr(serv, "fSequenceFirst", "Calibration", seq))
Note:
See TracChangeset
for help on using the changeset viewer.