Changeset 13451 for fact/tools/pyscripts/sandbox/kraehenb/calfits.h
- Timestamp:
- 04/26/12 10:28:19 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/pyscripts/sandbox/kraehenb/calfits.h
r13426 r13451 21 21 //******************************** 22 22 23 //ToDo: alle Event-Parameter zugänglich,shared library creation debuggen23 //ToDo: shared library creation debuggen 24 24 25 25 #ifndef CALFITS_H … … 69 69 float* calib_gainmean; 70 70 float* calib_triggeroffsetmean; 71 //Using <vector> instead of arrays makes no visible difference 71 72 //ToDo: use arrays of size 1440x1024 (x2 for wrap-arounds) and read all variables into those 72 73 … … 140 141 } 141 142 142 ~CalFits() 143 ~CalFits() //Standard destructor 143 144 { 144 145 delete[] calib_baselinemean; … … 150 151 } 151 152 152 bool GetCalEvent() 153 bool GetCalEvent() //Read calibrated event into the event variables 153 154 { 154 155 if(!npcaldata) { … … 179 180 } 180 181 181 void SetNpcaldataPtr(double * ptr)182 void SetNpcaldataPtr(double *numpyptr) //Set the pointer for the calibrated data to the numpy array 182 183 { 183 npcaldata = ptr;184 npcaldata = numpyptr; 184 185 return; 185 186 }
Note:
See TracChangeset
for help on using the changeset viewer.