Definition at line 32 of file ExternalGeneratorFilter.cc.
◆ Deserializer
◆ StreamCache()
externalgen::StreamCache::StreamCache |
( |
const std::string & |
iConfig, |
|
|
int |
id, |
|
|
bool |
verbose, |
|
|
unsigned int |
waitTime |
|
) |
| |
|
inline |
Definition at line 33 of file ExternalGeneratorFilter.cc.
48 using namespace std::string_literals;
52 verboseCommand =
"--verbose ";
59 if (
nullptr ==
pipe_) {
64 auto nlines = std::to_string(
std::count(iConfig.begin(), iConfig.end(),
'\n'));
65 auto result = fwrite(nlines.data(),
sizeof(char), nlines.size(),
pipe_);
67 result = fwrite(iConfig.data(),
sizeof(char), iConfig.size(),
pipe_);
◆ ~StreamCache()
externalgen::StreamCache::~StreamCache |
( |
| ) |
|
|
inline |
◆ beginLumiProduce()
◆ doTransition()
template<typename SERIAL >
auto externalgen::StreamCache::doTransition |
( |
SERIAL & |
iDeserializer, |
|
|
edm::Transition |
iTrans, |
|
|
unsigned long long |
iTransitionID |
|
) |
| -> decltype(iDeserializer.deserialize()) |
|
inline |
◆ endLumiProduce()
std::optional<GenLumiInfoProduct> externalgen::StreamCache::endLumiProduce |
( |
unsigned long long |
iTransitionID | ) |
|
|
inline |
◆ endRunProduce()
std::optional<GenRunInfoProduct> externalgen::StreamCache::endRunProduce |
( |
unsigned long long |
iTransitionID | ) |
|
|
inline |
◆ produce()
◆ unique_name()
std::string externalgen::StreamCache::unique_name |
( |
std::string |
iBase | ) |
|
|
inlineprivate |
◆ bl_deserializer_
◆ channel_
◆ deserializer_
◆ el_deserializer_
◆ er_deserializer_
◆ externalFailed_
bool externalgen::StreamCache::externalFailed_ = false |
|
private |
◆ id_
int externalgen::StreamCache::id_ |
|
private |
◆ pipe_
FILE* externalgen::StreamCache::pipe_ |
|
private |
◆ randSerializer_
◆ readBuffer_
◆ writeBuffer_
Deserializer< GenLumiInfoProduct > el_deserializer_
auto doTransition(SERIAL &iDeserializer, edm::Transition iTrans, unsigned long long iTransitionID) -> decltype(iDeserializer.deserialize())
Deserializer< ExternalGeneratorLumiInfo > bl_deserializer_
Deserializer< ExternalGeneratorEventInfo > deserializer_
ROOTSerializer< edm::RandomNumberGeneratorState, WriteBuffer > randSerializer_
Deserializer< GenRunInfoProduct > er_deserializer_
ControllerChannel channel_