Ignore:
Timestamp:
04/26/12 10:28:19 (12 years ago)
Author:
kraehenb
Message:
New comments [all], cleaned up unused code parts [CalFitsPerformanceWeave].
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/pyscripts/sandbox/kraehenb/calfits.h

    r13426 r13451  
    2121//********************************
    2222
    23 //ToDo: alle Event-Parameter zugänglich, shared library creation debuggen
     23//ToDo: shared library creation debuggen
    2424
    2525#ifndef CALFITS_H
     
    6969        float* calib_gainmean;
    7070        float* calib_triggeroffsetmean;
     71        //Using <vector> instead of arrays makes no visible difference
    7172        //ToDo: use arrays of size 1440x1024 (x2 for wrap-arounds) and read all variables into those
    7273       
     
    140141        }
    141142       
    142         ~CalFits()
     143        ~CalFits() //Standard destructor
    143144        {
    144145                delete[] calib_baselinemean;
     
    150151        }
    151152       
    152         bool GetCalEvent()
     153        bool GetCalEvent() //Read calibrated event into the event variables
    153154        {
    154155                if(!npcaldata) {
     
    179180        }
    180181       
    181         void SetNpcaldataPtr(double *ptr)
     182        void SetNpcaldataPtr(double *numpyptr) //Set the pointer for the calibrated data to the numpy array
    182183        {
    183                 npcaldata = ptr;
     184                npcaldata = numpyptr;
    184185                return;
    185186        }
Note: See TracChangeset for help on using the changeset viewer.