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;
66 LogAbsolute(
"AsciiOut") << it->processName() <<
" ";
74 std::vector<Provenance const*> provs;
76 for(std::vector<Provenance const*>::const_iterator
i = provs.begin(),
90 desc.
setComment(
"Outputs event information into text file.");
95 "1: event ID and timestamp only\n"
98 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()
ProcessHistory const & processHistory() const
Timestamp const & time() const
void setComment(std::string const &value)
bool selected(BranchDescription const &desc) const
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