Public Member Functions | |
virtual bool | check (const std::string &, const std::string &path, IOOffset *size=0) |
virtual Storage * | open (const std::string &proto, const std::string &path, int mode) |
RFIOStorageMaker () | |
virtual void | stagein (const std::string &proto, const std::string &path) |
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(), and edm::SiteLocalConfig::rfioType().
|
inlinevirtual |
Reimplemented from StorageMaker.
Definition at line 168 of file RFIOStorageMaker.cc.
References normalise(), rfio_access(), rfio_stat64(), and findQualityFiles::size.
|
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, and createPayload::suffix.
Referenced by check(), open(), and stagein().
|
inlinevirtual |
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(), and StorageFactory::wrapNonLocalFile().
|
inlinevirtual |
Reimplemented from StorageMaker.
Definition at line 118 of file RFIOStorageMaker.cc.
References cms::Exception::addContext(), normalise(), geometryDiff::opts, rfio_serror(), and serrno.