#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 70 of file TFileAdaptor.cc.
References addType(), cacheHint_, haddnano::cl, edm::SiteLocalConfig::debugLevel(), debugLevel_, doStats_, enabled_, edm::SiteLocalConfig::enablePrefetching(), enablePrefetching_, Exception, f, edm::Service< T >::isAvailable(), minFree_, native(), native_, AlCaHLTBitMon_ParallelJobs::p, muonDTDigis_cfi::pset, readHint_, edm::SiteLocalConfig::sourceCacheHint(), edm::SiteLocalConfig::sourceCacheMinFree(), edm::SiteLocalConfig::sourceCacheTempDir(), edm::SiteLocalConfig::sourceNativeProtocols(), edm::SiteLocalConfig::sourceReadHint(), edm::SiteLocalConfig::sourceTimeout(), 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 39 of file TFileAdaptor.cc.
Referenced by TFileAdaptor().
|
static |
Definition at line 212 of file TFileAdaptor.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 65 of file TFileAdaptor.cc.
References spr::find(), and native_.
Referenced by TFileAdaptor().
|
private |
Definition at line 234 of file TFileAdaptor.cc.
References cacheHint_, doStats_, enablePrefetching_, EcalTangentSkim_cfg::o, readHint_, and edm::storage::StorageAccount::summaryText().
|
private |
Definition at line 249 of file TFileAdaptor.cc.
References cacheHint_, data, doStats_, enablePrefetching_, edm::storage::StorageAccount::fillSummary(), alignCSCRings::r, readHint_, and w().
Referenced by termination().
|
private |
Definition at line 225 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().