23 class ModuleCallingContext;
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()) {
95 if (pc.processName() ==
process) {
115 desc.
setComment(
"Outputs event information into text file.");
120 "1: event ID and timestamp only\n" 121 "2: provenance for each kept product\n" 122 ">2: PSet and provenance for each kept product");
124 descriptions.
add(
"asciiOutput", desc);
void setComment(std::string const &value)
void writeLuminosityBlock(LuminosityBlockForOutput const &) override
virtual ProcessHistory const & processHistory() const
EventID const & id() const
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
static void fillDescriptions(ConfigurationDescriptions &descriptions)
std::string const & processName() const
void writeRun(RunForOutput const &) override
void setComment(std::string const &value)
#define DEFINE_FWK_MODULE(type)
~AsciiOutputModule() override
std::string const & moduleLabel() const
bool selected(BranchDescription const &desc) const
static void fillDescription(ParameterSetDescription &desc, std::vector< std::string > const &iDefaultOutputCommands=ProductSelectorRules::defaultSelectionStrings())
Timestamp const & time() const
bool getMapped(key_type const &k, value_type &result) const
AsciiOutputModule(ParameterSet const &pset)
Provenance getProvenance(BranchID const &theID) const
ParameterSet const & getParameterSet(std::string const &) const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void write(EventForOutput const &e) override
BranchID const & originalBranchID() const
TimeValue_t value() const
static Registry * instance()