[Gate-users] lmf y/n error

Uwe Pietrzyk u.pietrzyk at fz-juelich.de
Sun Dec 5 19:17:25 CET 2010


Hello,

please, try with the two files attached to this eMail. You have to move them to the
"src" directory a run the make clean and make again. We had to modify both
for running under MacOSX. I Don't remember exactly, whether I have tried
it also under Linux.

Kind regards and best wishes

U. Pietrzyk
-----


On 05.12.2010, at 13:43, nazarparvar at aut.ac.ir wrote:

> 
> Dear Gaters
> 
> I think we have a error in lmf reader,for example when run the EXE.01 you can see :
> what do you want to store?
> 1: event record 
> (y/n):y
> ****ERROR !!! TRY AGAIN ****
> (y/n):n
> ****ERROR !!! TRY AGAIN ****
> 
> 
> or when run EXE.04 you can see :
> 
> ****************************************
> EXEMPLE 4 
> ****************************************
> 
> lmf.cch lmf.ccs test1_ex1.cch test.cch test.ccs
> You must choose an input file: lmf 
> in time manager value=1.000 ps
> <ENTER> to continue 
> 
> 

> 
> Menu : 
> 1. Count records in a .ccs file
> 2. Dump a .ccs file 
> 3. Sort coincidences in a .ccs file
> 4. Copy and treat .ccs file
> 5. Extract xyz coord. of event records of a .ccs file
> 6. Apply an energy window 
> 7. Sort chronologically a singles file
> 8. Analyse coincidences (for coinci. file only)
> 9. Output in Ascii file 
> 10. Output in a ROOT file 
> 11. Delay time for event comming from a choosen Rsector in a .ccs file
> 12. Associate Gantry positions coming from a binary file writeCnt.bin of a .ccs file
> 13. Mix the event coming from different block
> 14. Keep events only from specified geometric position
> 15. Correct DAQ time
> 16. Sort multiple coincidences in a .ccs file
> 17. Set a fixed axial shift
> 18. Add angular shift
> 19. Modelized the DAQ buffer comportement
> 20. Follow count rates by gaussian distrib or min
> 0. Exit
> 
> ( 0 - 20 ) : 1
> 
> 
> ---- LMF READER ----
> 
> LMFreader for lmf.ccs in mode = countRecords Open ok...
> size E 13 size gate digi =9
> pattern read ok ...
> *****************************
> * COUNT THE LMF BINARY FILE *
> *****************************
> ****** HEAD *******
> 
> ****** BODY ********
> Loop LMFreader over...
> 
> 
> 
> ***************************************************
> All the file have been read :
> Number of records = 9443985
> Number of event records = 9443985 
> Singles : 9443985
> lay 0: 6708091
> lay 1: 2735894
> Number of singles non chronologically sorted = 344056
> Number of count rate records : 0
> ***************************************************
> 
> File lmf.ccs read, processed and closed by the LMFreader...
> <ENTER> to continue 
> 
> 
> 
> Menu : 
> 1. Count records in a .ccs file
> 2. Dump a .ccs file 
> 3. Sort coincidences in a .ccs file
> 4. Copy and treat .ccs file
> 5. Extract xyz coord. of event records of a .ccs file
> 6. Apply an energy window 
> 7. Sort chronologically a singles file
> 8. Analyse coincidences (for coinci. file only)
> 9. Output in Ascii file 
> 10. Output in a ROOT file 
> 11. Delay time for event comming from a choosen Rsector in a .ccs file
> 12. Associate Gantry positions coming from a binary file writeCnt.bin of a .ccs file
> 13. Mix the event coming from different block
> 14. Keep events only from specified geometric position
> 15. Correct DAQ time
> 16. Sort multiple coincidences in a .ccs file
> 17. Set a fixed axial shift
> 18. Add angular shift
> 19. Modelized the DAQ buffer comportement
> 20. Follow count rates by gaussian distrib or min
> 0. Exit
> 
> ( 0 - 20 ) : 3
> 
> 
> ---- LMF READER ----
> 
> LMFreader for lmf.ccs in mode = sortCoincidence Open ok...
> size E 13 size gate digi =9
> pattern read ok ...
> Enter verbose level for coincidence sorter : (0 recommanded)
> ( 0 - 9 ) : 0
> verbose level = 0
> Enter coincidence window (nanoseconds, ex : 10) : 10
> coincidence window = 10000 picoseconds 
> Enter stack cut time (microseconds) ( 10 to 50 recommanded and 0 for help) : 10
> stack cut time = 10000000 picoseconds (10 microseconds) 
> Choose searching mode to locate elements in list (recursive mode recommanded) :
> 1 Recursive mode 2 Iterative mode
> ( 1 - 2 ) : 1
> Do you want to save multiples ? (no recommanded) : (y / n) : y
> **** ERROR !!! TRY AGAIN ****
> (y / n) : n
> **** ERROR !!! TRY AGAIN ****
> (y / n) : 
> 
> I read this files on lmf/examples &lmf/src: exemplemain_01c,exemplemain_04.c,oneListcoincidenceSorter.c,multiplecoincidencesorter.c,generatecC.c,generateCRH.c,generateEH.c,generateCRR.c
> generateEncoh.c,generateER.c,generateGDH.c,generateGDR.c
> 
> I guess that we have a error in y/n questions and actually in  alphabet input and  I think the error is in the generateEncoh.c and finally in exemaplemain_01-4.o files that generate with make command.
> so, how can I run the lmf reader ?
> 
> best regards
> babak
> 
> 
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

/----------------------------------------------------------------------
Prof. Dr. Uwe Pietrzyk
Diplom-Physiker
Institut für Neurowissenschaften und Medizin / INM-1
Forschungszentrum Jülich GmbH
52425 Jülich
Tel: +49-2461-61 4763
Fax: +49-2461-61 2820 + 8229
Mobil: +49-162-103-4871
eMail: U.Pietrzyk at fz-juelich.de
http://www.fz-juelich.de/inm
&
Bergische Universität Wuppertal
Fachbereich C - Physik / D.08.01
Gaußstr. 20
42097 Wuppertal
Tel: +49-(0)202-439-3523
Fax: +49-(0)202-439-2811
eMail: Uwe.Pietrzyk at physik.uni-wuppertal.de
http://www.medizinphysik.uni-wuppertal.de
----------------------------------------------------------------------/







-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4585 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20101205/61cd1e83/attachment.bin>


More information about the Gate-users mailing list