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. > -- *---------------------------------* |http://www.nbi.dk/~trulsml / |Truls Martin Larsen / |trulsml@nbi.dk . |The Niels Bohr Institute // |Work Address: / \0 |Blegdamsvej 17 /\_/ |DK-2100 Copenhagen / / |Tel: +45 35325269 / -- | /_/ | |Home address: / \ |Holger Danskes Vej 28H| ' |DK-2000 Frederiksberg | |Denmark | |Mob: +45 20974802 | *----------------------* _______________________________________________ Brahms-dev-l mailing list Brahms-dev-l@lists.bnl.gov http://lists.bnl.gov/mailman/listinfo/brahms-dev-lReceived on Fri Mar 17 09:26:04 2006
This archive was generated by hypermail 2.1.8 : Fri Mar 17 2006 - 09:26:17 EST