|
| BufferedBoostIODBWriter (const edm::ParameterSet &) |
|
virtual | ~BufferedBoostIODBWriter () |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
virtual | ~EDAnalyzer () |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
| EDConsumerBase () |
|
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
std::vector
< ProductHolderIndexAndSkipBit >
const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
Definition at line 22 of file BufferedBoostIODBWriter.cc.
virtual BufferedBoostIODBWriter::~BufferedBoostIODBWriter |
( |
| ) |
|
|
inlinevirtual |
BufferedBoostIODBWriter::BufferedBoostIODBWriter |
( |
| ) |
|
|
private |
Implements edm::EDAnalyzer.
Definition at line 45 of file BufferedBoostIODBWriter.cc.
References assert(), cond::service::PoolDBOutputService::currentTime(), Exception, input, inputFile, edm::Service< T >::isAvailable(), record, and cond::service::PoolDBOutputService::writeOne().
48 std::auto_ptr<OOTPileupCorrectionBuffer> fcp;
54 <<
"Failed to open file \"" <<
inputFile <<
'"' << std::endl;
59 <<
"Failed to stat file \"" <<
inputFile <<
'"' << std::endl;
61 const std::size_t len = st.st_size;
62 fcp = std::auto_ptr<OOTPileupCorrectionBuffer>(
64 assert(fcp->length() == len);
66 input.read(fcp->getBuffer(), len);
69 <<
"Input stream failure while reading file \""
75 poolDbService->
writeOne(fcp.release(),
80 <<
"PoolDBOutputService is not available, "
81 <<
"please configure it properly" << std::endl;
static std::string const input
void writeOne(T *payload, Time_t time, const std::string &recordName, bool withlogging=false)
cond::Time_t currentTime() const
std::string BufferedBoostIODBWriter::inputFile |
|
private |
std::string BufferedBoostIODBWriter::record |
|
private |