20 class ModuleCallingContext;
41 prescale_(pset.getUntrackedParameter<unsigned
int>(
"prescale")),
42 verbosity_(pset.getUntrackedParameter<unsigned
int>(
"verbosity")),
57 LogAbsolute(
"AsciiOut")<<
">>> processing event # " << e.
id() <<
" time " << e.
time().
value() << std::endl;
73 std::vector<Provenance const*> provs;
75 for(
auto const& prov : provs) {
86 desc.
setComment(
"Outputs event information into text file.");
91 "1: event ID and timestamp only\n" 94 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)
#define DEFINE_FWK_MODULE(type)
void writeRun(RunForOutput const &) override
void setComment(std::string const &value)
~AsciiOutputModule() override
bool selected(BranchDescription const &desc) const
static void fillDescription(ParameterSetDescription &desc, std::vector< std::string > const &iDefaultOutputCommands=ProductSelectorRules::defaultSelectionStrings())
Timestamp const & time() const
AsciiOutputModule(ParameterSet const &pset)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void write(EventForOutput const &e) override
void getAllProvenance(std::vector< Provenance const * > &provenances) const
TimeValue_t value() const