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)
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)
virtual ~AsciiOutputModule()
void setComment(std::string const &value)
virtual void writeLuminosityBlock(LuminosityBlockForOutput const &) 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)
virtual void write(EventForOutput const &e) override
virtual void writeRun(RunForOutput const &) override
void getAllProvenance(std::vector< Provenance const * > &provenances) const
TimeValue_t value() const