Public Member Functions | |
virtual bool | check (const std::string &, const std::string &path, IOOffset *size=0) override |
virtual Storage * | open (const std::string &proto, const std::string &path, int mode) override |
RFIOStorageMaker () | |
virtual void | stagein (const std::string &proto, const std::string &path) override |
Public Member Functions inherited from StorageMaker | |
virtual void | setDebugLevel (unsigned int debugLevel) |
virtual void | setTimeout (unsigned int timeout) |
StorageMaker (void) | |
virtual | ~StorageMaker (void) |
Private Member Functions | |
std::string | normalise (const std::string &path) |
Definition at line 14 of file RFIOStorageMaker.cc.
|
inline |
Definition at line 68 of file RFIOStorageMaker.cc.
References Cthread_init(), alignCSCRings::e, reco::get(), edm::Service< T >::isAvailable(), edm::SiteLocalConfig::rfioType(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverridevirtual |
Reimplemented from StorageMaker.
Definition at line 168 of file RFIOStorageMaker.cc.
References normalise(), rfio_access(), rfio_stat64(), findQualityFiles::size, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineprivate |
Normalise new RFIO TURL style. Handle most obvious mis-spellings like excess '/' characters and /dpm vs. /castor syntax differences.
Definition at line 19 of file RFIOStorageMaker.cc.
References trackerHits::c, alignCSCRings::e, h, prof2calltree::prefix, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, and createPayload::suffix.
Referenced by check(), open(), and stagein().
|
inlineoverridevirtual |
Implements StorageMaker.
Definition at line 100 of file RFIOStorageMaker.cc.
References StorageFactory::CACHE_HINT_STORAGE, StorageFactory::cacheHint(), f, mergeVDriftHistosByStation::file, StorageFactory::get(), normalise(), IOFlags::OpenUnbuffered, StorageFactory::READ_HINT_READAHEAD, StorageFactory::readHint(), AlCaHLTBitMon_QueryRunRegistry::string, and StorageFactory::wrapNonLocalFile().
|
inlineoverridevirtual |
Reimplemented from StorageMaker.
Definition at line 118 of file RFIOStorageMaker.cc.
References cms::Exception::addContext(), normalise(), geometryDiff::opts, rfio_serror(), serrno, and AlCaHLTBitMon_QueryRunRegistry::string.