Go to the documentation of this file.
21 bool EventContainer::sm_autoloaderCalled =
false;
24 : m_eventsSeen(0), m_maxWanted(0), m_parserPtr(nullptr) {
41 if (!secondaryInputFiles.empty()) {
66 cout <<
"EventContainer Summary: Processed " <<
m_eventsSeen <<
" events." << endl;
86 const char* iModuleLabel,
87 const char* iProductInstanceLabel,
88 const char* iProcessLabel,
95 const char* iModuleLabel,
96 const char* iProductInstanceLabel,
97 const char* iProcessLabel)
const {
std::string & stringValue(std::string key)
~EventContainer() override
OptionType hasOption(std::string key)
const EventContainer & operator++() override
ostream & operator<<(ostream &o_stream, const EventContainer &rhs)
virtual EventBase const & toBegin()=0
const EventContainer & toBegin() override
TH1 * hist(const std::string &name)
const SVec argVec() const
static bool sm_autoloaderCalled
virtual bool getByLabel(std::type_info const &, char const *, char const *, char const *, void *) const =0
fwlite::EventBase * m_eventBasePtr
void add(TH1 *histPtr, const std::string &directory="")
static void enable()
enable automatic library loading
virtual const std::string getBranchNameFor(std::type_info const &, char const *, char const *, char const *) const =0
void _finishDefaultOptions(std::string tag="")
bool getByLabel(const std::type_info &iInfo, const char *iModuleLabel, const char *iProductInstanceLabel, const char *iProcessLabel, void *oData) const override
optutl::CommandLineParser & parser()
virtual bool atEnd() const =0
optutl::CommandLineParser * m_parserPtr
const std::string getBranchNameFor(const std::type_info &iInfo, const char *iModuleLabel, const char *iProductInstanceLabel, const char *iProcessLabel) const override
void write(const std::string &filename, const SVec &argsVec=kEmptyVec, const SVec &inputFilesVec=kEmptyVec) const
std::vector< std::string > SVec
bool atEnd() const override
SVec & stringVector(std::string key)
void add(TH1 *histPtr, const std::string &directory="")
TH1 * hist(const std::string &name)
int & integerValue(std::string key)
bool & boolValue(std::string key)