20 class ModuleCallingContext;
40 prescale_(pset.getUntrackedParameter<unsigned int>(
"prescale")),
41 verbosity_(pset.getUntrackedParameter<unsigned int>(
"verbosity")),
56 LogAbsolute(
"AsciiOut")<<
">>> processing event # " << e.
id() <<
" time " << e.
time().
value() << std::endl;
65 LogAbsolute(
"AsciiOut") << it->processName() <<
" ";
73 std::vector<Provenance const*> provs;
75 for(std::vector<Provenance const*>::const_iterator
i = provs.begin(),
89 desc.
setComment(
"Outputs event information into text file.");
94 "1: event ID and timestamp only\n"
97 descriptions.
add(
"asciiOutput", desc);
collection_type::const_iterator const_iterator
const_iterator begin() const
void setComment(std::string const &value)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
static void fillDescriptions(ConfigurationDescriptions &descriptions)
#define DEFINE_FWK_MODULE(type)
EventID const & id() const
void getAllProvenance(std::vector< Provenance const * > &provenances) const
virtual ~AsciiOutputModule()
bool selected(BranchDescription const &desc) const
ProcessHistory const & processHistory() const
Timestamp const & time() const
void setComment(std::string const &value)
AsciiOutputModule(ParameterSet const &pset)
virtual void write(EventPrincipal const &e, ModuleCallingContext const *) override
virtual void writeLuminosityBlock(LuminosityBlockPrincipal const &, ModuleCallingContext const *) override
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescription(ParameterSetDescription &desc)
const_iterator end() const
TimeValue_t value() const
virtual void writeRun(RunPrincipal const &, ModuleCallingContext const *) override