Go to the documentation of this file.
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;
68 for (
auto const&
process :
e.processHistory()) {
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);
static Registry * instance()
static void fillDescriptions(ConfigurationDescriptions &descriptions)
void write(EventForOutput const &e) override
void writeRun(RunForOutput const &) override
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::string const & processName() const
BranchID const & originalBranchID() const
void writeLuminosityBlock(LuminosityBlockForOutput const &) override
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
void setComment(std::string const &value)
~AsciiOutputModule() override
std::string const & moduleLabel() const
bool selected(BranchDescription const &desc) const
void setComment(std::string const &value)
bool getMapped(key_type const &k, value_type &result) const
ParameterSet const & getParameterSet(std::string const &) const
AsciiOutputModule(ParameterSet const &pset)