ROOT
6.06/09
Reference Guide
|
#include "TDCacheFile.h"
#include "TError.h"
#include "TSystem.h"
#include "TROOT.h"
#include <cstdlib>
#include <errno.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <dcap.h>
#include <unistd.h>
Go to the source code of this file.
Functions | |
ClassImp (TDCacheFile) TDCacheFile | |
Create a dCache file object. More... | |
Variables | |
static const char *const | DCACHE_PREFIX = "dcache:" |
static const size_t | DCACHE_PREFIX_LEN = strlen(DCACHE_PREFIX) |
static const char *const | DCAP_PREFIX = "dcap:" |
static const size_t | DCAP_PREFIX_LEN = strlen(DCAP_PREFIX) |
ClassImp | ( | TDCacheFile | ) |
Create a dCache file object.
A dCache file is the same as a TFile except that it is being accessed via a dCache server. The url argument must be of the form: dcache:/pnfs/ <path>/<file>.root or dcap://<nodename.org>/ <path>/<file>.root. If the file specified in the URL does not exist, is not accessable or can not be created the kZombie bit will be set in the TDCacheFile object. Use IsZombie() to see if the file is accessable. For a description of the option and other arguments see the TFile ctor. The preferred interface to this constructor is via TFile::Open().
Definition at line 56 of file TDCacheFile.cxx.
|
static |
Definition at line 50 of file TDCacheFile.cxx.
Referenced by ClassImp(), and TDCacheFile::GetDcapPath().
|
static |
Definition at line 51 of file TDCacheFile.cxx.
Referenced by TDCacheFile::GetDcapPath().
|
static |
Definition at line 52 of file TDCacheFile.cxx.
Referenced by ClassImp().
|
static |
Definition at line 53 of file TDCacheFile.cxx.
Referenced by ClassImp().