- Timestamp:
- 05/02/12 14:37:50 (13 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/pyscripts/examples/CalFactFitsPerformanceWeave.py
r13513 r13515 1 1 #!/usr/bin/python -tt 2 2 # ******************************** 3 # Test script for the CalF its class3 # Test script for the CalFactFits class 4 4 # 5 5 # written by Thomas Kraehenbuehl, ETH Zurich … … 16 16 17 17 from ROOT import gSystem 18 gSystem.Load("calf its_h.so")18 gSystem.Load("calfactfits_h.so") 19 19 from ROOT import * 20 20 print "Testing object creation: " 21 caltest = CalF its(datafilename,calibfilename)21 caltest = CalFactFits(datafilename,calibfilename) 22 22 npcalevent = np.empty( caltest.npix * caltest.nroi, np.float64) #.reshape(caltest.npix ,caltest.nroi) 23 23 caltest.SetNpcaldataPtr(npcalevent) … … 87 87 weave.inline(cppcode, ['c_integrals', 'npcalevent','nroi','npix'], type_converters=converters.blitz) 88 88 89 # print "CalF itsPerformanceWeave"89 # print "CalFactFitsPerformanceWeave" 90 90 # for i in range(10): 91 91 # print i, npcalevent[i], c_integrals[i]
Note:
See TracChangeset
for help on using the changeset viewer.