Public Member Functions | |
virtual bool | check (const std::string &, const std::string &path, const AuxSettings &, IOOffset *size=0) const override |
virtual std::unique_ptr< Storage > | open (const std::string &proto, const std::string &path, int mode, const AuxSettings &) const override |
RFIOStorageMaker () | |
virtual void | stagein (const std::string &proto, const std::string &path, const AuxSettings &) const override |
Public Member Functions inherited from StorageMaker | |
StorageMaker ()=default | |
virtual | ~StorageMaker ()=default |
Private Member Functions | |
std::string | normalise (const std::string &path) const |
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 170 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 EnergyCorrector::c, alignCSCRings::e, h, 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(), universalConfigTemplate::mode, eostools::move(), normalise(), IOFlags::OpenUnbuffered, StorageFactory::READ_HINT_READAHEAD, StorageFactory::readHint(), AlCaHLTBitMon_QueryRunRegistry::string, and StorageFactory::wrapNonLocalFile().
|
inlineoverridevirtual |
Reimplemented from StorageMaker.
Definition at line 119 of file RFIOStorageMaker.cc.
References cms::Exception::addContext(), normalise(), geometryDiff::opts, rfio_serror(), serrno, and AlCaHLTBitMon_QueryRunRegistry::string.