#include <TFileAdaptor.h>
Public Member Functions | |
TFileAdaptor (edm::ParameterSet const &pset, edm::ActivityRegistry &ar) | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Member Functions | |
bool | native (char const *proto) const |
void | stats (std::ostream &o) const |
void | statsXML (std::map< std::string, std::string > &data) const |
void | termination (void) const |
Static Private Member Functions | |
static void | addType (TPluginManager *mgr, char const *type, int altType=0) |
Private Attributes | |
std::string | cacheHint_ |
unsigned int | debugLevel_ |
bool | doStats_ |
bool | enabled_ |
bool | enablePrefetching_ |
double | minFree_ |
std::vector< std::string > | native_ |
std::string | readHint_ |
std::string | tempDir_ |
unsigned int | timeout_ |
Friends | |
class | TFileAdaptorUI |
Definition at line 20 of file TFileAdaptor.h.
TFileAdaptor::TFileAdaptor | ( | edm::ParameterSet const & | pset, |
edm::ActivityRegistry & | ar | ||
) |
Definition at line 69 of file TFileAdaptor.cc.
References addType(), cacheHint_, debugLevel_, doStats_, enabled_, enablePrefetching_, Exception, validate-o2o-wbm::f, edm::ParameterSet::getUntrackedParameter(), minFree_, native(), native_, AlCaHLTBitMon_ParallelJobs::p, readHint_, AlCaHLTBitMon_QueryRunRegistry::string, tempDir_, termination(), timeout_, and edm::ActivityRegistry::watchPostEndJob().
|
staticprivate |
Register TFileAdaptor to be the handler for a given type.
Once registered, URLs matching a specified regexp (for example, ^lstore: to manage files starting with lstore://) will be managed by a TFileAdaptor instance, possibly overriding any built-in ROOT adaptors.
[in] | mgr | The ROOT plugin manager object. |
[in] | type | A regexp-string; URLs matching this string will use TFileAdaptor. |
[in] | altType | Due to a limitation in the TPluginManager, if the type was previously managed by TXNetFile, we must invoke AddHandler with a slightly different syntax. Set this parameter to 1 if this applies to you. Otherwise, leave it at the default (0) |
Definition at line 38 of file TFileAdaptor.cc.
Referenced by TFileAdaptor().
|
static |
Definition at line 201 of file TFileAdaptor.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addOptionalUntracked(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 64 of file TFileAdaptor.cc.
References spr::find(), and native_.
Referenced by TFileAdaptor().
|
private |
Definition at line 223 of file TFileAdaptor.cc.
References cacheHint_, doStats_, enablePrefetching_, readHint_, and edm::storage::StorageAccount::summaryText().
|
private |
Definition at line 238 of file TFileAdaptor.cc.
References cacheHint_, doStats_, enablePrefetching_, edm::storage::StorageAccount::fillSummary(), alignCSCRings::r, readHint_, and w().
Referenced by termination().
|
private |
Definition at line 214 of file TFileAdaptor.cc.
References data, edm::JobReport::reportPerformanceSummary(), and statsXML().
Referenced by TFileAdaptor().
|
friend |
Definition at line 26 of file TFileAdaptor.h.
|
private |
Definition at line 43 of file TFileAdaptor.h.
Referenced by stats(), statsXML(), and TFileAdaptor().
|
private |
Definition at line 48 of file TFileAdaptor.h.
Referenced by TFileAdaptor().
|
private |
Definition at line 41 of file TFileAdaptor.h.
Referenced by stats(), statsXML(), and TFileAdaptor().
|
private |
Definition at line 40 of file TFileAdaptor.h.
Referenced by TFileAdaptor().
|
private |
Definition at line 42 of file TFileAdaptor.h.
Referenced by stats(), statsXML(), and TFileAdaptor().
|
private |
Definition at line 46 of file TFileAdaptor.h.
Referenced by TFileAdaptor().
|
private |
Definition at line 49 of file TFileAdaptor.h.
Referenced by native(), and TFileAdaptor().
|
private |
Definition at line 44 of file TFileAdaptor.h.
Referenced by stats(), statsXML(), and TFileAdaptor().
|
private |
Definition at line 45 of file TFileAdaptor.h.
Referenced by TFileAdaptor().
|
private |
Definition at line 47 of file TFileAdaptor.h.
Referenced by TFileAdaptor().