2 from __future__
import print_function
3 from __future__
import absolute_import
5 from .
import eostools
as castortools
8 """Factor out the magic user hack for use in other classes"""
12 tokens = user.split(
'_')
13 if tokens
and len(tokens) > 1:
19 """Gets the top level directory to use for writing for 'user'"""
24 d =
'root://eoscms.cern.ch//eos/cms/store/cmst3/%s/%s/CMG' % (area,user)
25 exists = castortools.isDirectory( castortools.lfnToCastor(d) )
29 msg =
"The directory '%s' does not exist. Please check the username and area (user/group). You may need to create the directory yourself." % d
30 print(msg, file=sys.stderr)
34 """Gets the top level directory to use for writing for the current user"""
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)