I want to make one change in the system.rootrc file and want to use this file instead of the default one at /etc/system.rootrc file in the root package.
How I can tell root to look for this new system.rootrc file at a new location??
(Actually i want to do it at my lxplus account at cern where I can not change this file in the default root package installed at afs.)
I copy the file to my $HOME directory and added the line:
TFile.Recover: 0
so that if my root file is trunctated one root should not try to recover it.
And then again I run my code over the truncated root file which gives me the following:
%MSG-e Root_Error: PoolSource:source{ctor} TStorageFactoryFile::Init() 03-Dec-2007 11:43:21 CET pre-events
file rfio:///castor/cern.ch/user/s/schauhan/FAMOS/SM_JJ_NEW/SM_JJ_NEW_1.root is truncated at 14760839601 bytes: should be 14780441466, trying to recover
It means that the it is still trying to recover the keys of the root file which should not happen!
This mean that .rootrc in my $HOME directory is not read by root.
%MSG-e Root_Error: PoolSource:source{ctor} TStorageFactoryFile::Init() 03-Dec-2007 12:16:25 CET pre-events
file rfio:///castor/cern.ch/user/s/schauhan/FAMOS/SM_JJ_NEW/SM_JJ_NEW_1.root is truncated at 14760839601 bytes: should be 14780441466, trying to recover
%MSG
%MSG-w Root_Warning: PoolSource:source{ctor} TStorageFactoryFile::Init() 03-Dec-2007 12:45:38 CET pre-events
successfully recovered 8 keys
%MSG
%MSG-e Root_Error: PoolSource:source{ctor} TStorageFactoryFile::Init() 03-Dec-2007 12:49:12 CET pre-events
file rfio:///castor/cern.ch/user/s/schauhan/FAMOS/SM_JJ_NEW/SM_JJ_NEW_1.root is truncated at 14760839601 bytes: should be 14780441466, trying to recover