# # Script to be sourced to setup the env for the PQ2 tools. # Uncomment the 'export VAR=...' or 'setenv VAR ...' for bash-like and csh-like shells, # respectively. # # *BEFORE* sourcing this script it is advised to source /bin.thisroot.sh (or # .csh, for csh-like shell). # # This adds the scripts to the execution path export PATH=$ROOTSYS/etc/proof/utils/pq2:$PATH # setenv PATH $ROOTSYS/etc/proof/utils/pq2:$PATH # # Path to the repository via server (superseeded by '-u srvurl' or --url=srvurl) # It MUST contain the full directory spefication. To test the goodness of the path # run gSystem->AccessPathName("", kReadPermissions) in a ROOT shell: this command # will return 0 is the path is good. # export PQ2DSSRVURL="root://datasrv.doma.in//the/data/set/server/dir # setenv PQ2DSSRVURL "root://datasrv.doma.in//the/data/set/server/dir # # URL of the PROOF master connected to the repository, i.e. the entry point of the # PROOF cluster. To test the goodness of the url try to pen a PROOF session in ROOT # shell with TProof::Open("", "masteronly") . # NB: PROOFURL is still supported but deprecated . # export PQ2PROOFURL="proof://master.doma.in" # setenv PQ2PROOFURL "proof://master.doma.in" # # To disable the use of the cache when browsing via a remote server uncomment the following # export DATASETCACHE="no" # setenv DATASETCACHE "no" # The location of the local cache is controlled by the following variable (the default is # a path derived from $PQ2DSSRVURL (replacemente of '/' and ':' with %) under $TMPDIR # export DATASETLOCALCACHEDIR="/My/Local/Data/Set/Cache/Dir" # setenv DATASETLOCALCACHEDIR "/My/Local/Data/Set/Cache/Dir" # # Advanced setup of the dataset manager for access via server # # Options to be used in initializing the dataset manager: shown is the default which allow # for browsing only. # export PQ2DSMGROPTS="-Ar:-Av:" # setenv PQ2DSMGROPTS "-Ar:-Av:" # # List of operations to be done via the data server in the case both a server and a PROOF # service are available. By the default, the browsing actions (ls, ls-files, ls-files-server, # info-server, ana-dist) are executed via the server, the others (put, rm, verify) via # PROOF. This allows to speed-up the operations by using caching and to reduce the load # on the PROOF master. # The format is ":" where the action tags are: # ls for ls # lsfiles for ls-files # filessrv for ls-files-server # infosrv for info-server # anadist for ana-dist # cache for cache # put for put # rm for rm # vfy for verify # The example shows the default settings # export PQ2DSSRVACTS="ls:lsfiles:filessrv:infosrv:anadist:cache:" # setenv PQ2DSSRVACTS "ls:lsfiles:filessrv:infosrv:anadist:cache:" # # Group to be used to initialie the dataset manager # export PQ2GROUP="" # setenv PQ2GROUP "" # User to be used to initialie the dataset manager # export PQ2USER="" # setenv PQ2USER "" # # The temporary directory # # export TMPDIR="//" # setenv TMPDIR "//"