[Brahms-dev-l] Re: banapp 1.0.2

From: Pawel Staszel <ufstasze@if.uj.edu.pl>
Date: Mon Mar 20 2006 - 06:43:35 EST
Hi Truls,
Another question concerning the tree2datamap.
It crashes in main() when calling checkSetting(). It is because
in checkSetting the program refers to gGeo which is not set yet.
It would be set later in the main().

QUESTION to expert(s). I run configure with  --enable-debug=yes
but when trying to run: gdb  tree2datamap it says:
"/direct/brahms+u/ufstasze/brahms/banapp/anatools/method1/tree2datamap": 
not in executable format: File format not recognized"
any ideas what is wrong?

Thanks,
Pawel.

Truls Martin Larsen wrote:

>Hi,
>
>it was a bug! Thanks for spotting it!
>It should off course be "&&" and not "||"...
>
>Changes commited to cvs. banapp 1.0.2 tagged.
>
>Cheers,
>	Truls
>
>
>On Fri, 2006-03-17 at 13:34 +0100, Pawel Staszel wrote:
>  
>
>>Dear Truls,
>>
>>I'm trying to get using of banapp and recently encountered some problems 
>>when using tree2datamap, so
>>I appreciate if you can help answering some questions:
>>1. do you also use tree2datamap?
>>2. what does mean the following line in main()?
>> if (!gPidMethod.Contains("H1")   || !gPidMethod.Contains("H2") ||
>>        !gPidMethod.Contains("RICH") || !gPidMethod.Contains("FS") ||
>>        !gPidMethod.Contains("TOFW") || !gPidMethod.Contains("TFW2") ||
>>        !gPidMethod.Contains("MRS"))
>>         throw BrError("main", "Wrong PID detector name : %s", 
>>gPidMethod.Data());
>>     
>>Why one has to specify all possibilities (form "H1" to "MRS") to avoid the
>>error message? Am I right?
>>
>>3. My tree2datamap crashes at command throw BrError(....). Do you have 
>>any idea why?
>>I run it on rcas machines.
>>
>>Thanks a lot,
>>Pawel.
>>
>>    
>>

-- 
 ----------------------------------------------------------------------
| Pawel Staszel                                                        |
| Jagiellonian University                                              |
| Institute of Physics            email:      ufstasze@if.uj.edu.pl    |
| Reymonta 4                      phone:      (+48) 12 663 5712        |
| Krakow 30059                    FAX:        (+48) 12 633 7086        |
| Poland                                                               |
 ----------------------------------------------------------------------



_______________________________________________
Brahms-dev-l mailing list
Brahms-dev-l@lists.bnl.gov
http://lists.bnl.gov/mailman/listinfo/brahms-dev-l
Received on Mon Mar 20 06:38:23 2006

This archive was generated by hypermail 2.1.8 : Mon Mar 20 2006 - 06:38:40 EST