I trust the request/asumption is that each DefineHistogram restores the current directory, when making subdir. The base Book methods does that - it certainly could save and restore current directory to minimize effects of coding mistakes. ------------------------------------------------------ Flemming Videbaek Physics Department Brookhaven National Laboratory tlf: 631-344-4106 fax 631-344-1334 e-mail: videbaek@bnl.gov ----- Original Message ----- From: "Djamel Ouerdane" <ouerdane@nbi.dk> To: <brahms-dev-l@bnl.gov> Sent: Monday, August 20, 2001 6:35 AM Subject: histograms > Hi brats, > > There is something a bit odd since I've updated my brat to the latest > version: > > the histogram directories don't fall in the right place: if I have 2 > modules mod1 and mod2, the histos from mod2 will be written in the mod1 > histo dir because gDirectory points to mod1 dir when it comes to mod2. > > I think it has to do with Jens Ivar's last change but I'haven't checked if > this is right. Jens Ivar, could you take a look at that ? > > Thanks > Djam > > -- > Djamel Ouerdane ------------------------------------------o > | Niels Bohr Intstitute | Home: | > | Blegdamsvej 17, DK-2100 Ø | Jagtvej 141 2D, | > | Fax: +45 35 32 50 16 | DK-2200 Copenhagen N | > | Tel: +45 35 32 52 69 | +45 35 86 19 74 | > | http://www.nbi.dk/~ouerdane | > | ouerdane@nbi.dk | > o---------------------------------------------------------o >
This archive was generated by hypermail 2b30 : Mon Aug 20 2001 - 08:00:09 EDT