23 class ModuleCallingContext;
43 global::OutputModule<>(pset),
44 prescale_(pset.getUntrackedParameter<unsigned int>(
"prescale")),
45 verbosity_(pset.getUntrackedParameter<unsigned int>(
"verbosity")),
60 LogAbsolute(
"AsciiOut") <<
">>> processing event # " << e.
id() <<
" time " << e.
time().
value() << std::endl;
77 for (
auto const& prod : reg->productList()) {
94 if (pc.processName() ==
process) {
113 desc.
setComment(
"Outputs event information into text file.");
118 "1: event ID and timestamp only\n"
119 "2: provenance for each kept product\n"
120 ">2: PSet and provenance for each kept product");
121 OutputModule::fillDescription(desc);
122 descriptions.
add(
"asciiOutput", desc);
void setComment(std::string const &value)
void writeLuminosityBlock(LuminosityBlockForOutput const &) override
EventID const & id() const
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
static void fillDescriptions(ConfigurationDescriptions &descriptions)
#define DEFINE_FWK_MODULE(type)
std::string const & processName() const
void writeRun(RunForOutput const &) override
Provenance getProvenance(BranchID const &theID) const
void setComment(std::string const &value)
virtual ProcessHistory const & processHistory() const
~AsciiOutputModule() override
std::string const & moduleLabel() const
Timestamp const & time() const
bool getMapped(key_type const &k, value_type &result) const
AsciiOutputModule(ParameterSet const &pset)
bool selected(BranchDescription const &desc) const
ParameterSet const & getParameterSet(std::string const &) const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void write(EventForOutput const &e) override
Log< level::System, true > LogAbsolute
BranchID const & originalBranchID() const
TimeValue_t value() const
static Registry * instance()