Changeset 3964


Ignore:
Timestamp:
05/04/04 18:16:22 (20 years ago)
Author:
rico
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3962 r3964  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2004/05/04: Javier Rico
     22 
     23   * mcalib/MCalibrate.cc
     24     - when calibrating using kNONE, weight by the pixel area
     25       
    2026
    2127 2004/05/04: Thomas Bretz
  • trunk/MagicSoft/Mars/Makefile

    r3927 r3964  
    2121
    2222#PROGRAMS = readraw merpp mars test mona status
    23 PROGRAMS = readdaq readraw merpp star status mars mona
     23PROGRAMS = readdaq readraw merpp star status mars mona mtemp/mifae/programs/makeHillas
    2424SOLIB    = libmars.so
    2525CINT     = M
     
    6565          mhistmc \
    6666          mjobs \
     67          mtemp/mifae/library \
    6768          mtools
    6869
  • trunk/MagicSoft/Mars/Makefile.conf.linux

    r3927 r3964  
    1919OPTIM    = -O5 -Wall -fno-exceptions -fPIC -Wpointer-arith -Wcast-align -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Woverloaded-virtual
    2020# ggc 3.2: removed -fnonnull-objects -Wtraditional -Wnested-externs
    21 DEBUG    =
     21DEBUG    = -g
    2222ARCHDEF  = -D__LINUX__
    2323DYNLIB   = -shared
  • trunk/MagicSoft/Mars/mcalib/MCalibrate.cc

    r3907 r3964  
    149149    if (!fCerPhotEvt)
    150150        return kFALSE;
    151    
     151
     152    fGeomCam = (MGeomCam*)pList->FindCreateObj(AddSerialNumber("MGeomCam"));
     153    if (!fGeomCam)
     154      return kFALSE;
     155
    152156    return kTRUE;
    153157}
     
    192196      }
    193197  }
    194 
    195 
    196198
    197199
     
    364366          hiloconv       = 1.;
    365367          hiloconverr    = 0.;
    366           calibConv      = 1.;
     368          calibConv      = 1./fGeomCam->GetPixRatio(pixidx);
    367369          calibConvVar   = 0.;
    368370          calibFFactor   = 0.;
Note: See TracChangeset for help on using the changeset viewer.