Print

Print


  Hi Fabrizio,

  It looks like the "PrintTag" functionality we had in the original XTNetFile
is still there in TXNetFile, but when I turn it on I see:

Info in <TXNetFile::CreateTXNf>: (C) 2004 SLAC TXNetFile (eXtended TNetFile) ^[]ü^[34m~Iì]Ã^[34m~P~P~P~P~P~PU^[34m~Iå^[34m~Cì^[34m^H~I]ü^[34m~KE

Ah, this is because we have:

  if (gEnv->GetValue("XNet.PrintTAG",0) == 1)
     if (!fgTagAlreadyPrinted) {
        Info("CreateTXNf","(C) 2004 SLAC TXNetFile (eXtended TNetFile) %s");
        fgTagAlreadyPrinted = kTRUE;
     }

i.e. no variable is passed into for the "%s". (We had something to pass
as a version number in the XTNetFile version.)

  Question for the ROOT guys: is it possible to get the ROOT version number 
somehow via a C++ interface? (Getting it from the setting of ROOTSYS is 
tricky as that can be set incorrectly.)

                                   Pete

-------------------------------------------------------------------------
Peter Elmer     E-mail: [log in to unmask]      Phone: +41 (22) 767-4644
Address: CERN Division PPE, Bat. 32 2C-14, CH-1211 Geneva 23, Switzerland
-------------------------------------------------------------------------