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 {
void _finishDefaultOptions(std::string tag="")
const EventContainer & operator++() override
void add(TH1 *histPtr, const std::string &directory="")
std::string & stringValue(std::string key)
const EventContainer & toBegin() override
ostream & operator<<(ostream &o_stream, const EventContainer &rhs)
virtual std::string const getBranchNameFor(std::type_info const &, char const *, char const *, char const *) const =0
static bool sm_autoloaderCalled
std::vector< std::string > SVec
virtual bool getByLabel(std::type_info const &, char const *, char const *, char const *, void *) const =0
int & integerValue(std::string key)
fwlite::EventBase * m_eventBasePtr
static void enable()
enable automatic library loading
bool atEnd() const override
void write(const std::string &filename, const SVec &argsVec=kEmptyVec, const SVec &inputFilesVec=kEmptyVec) const
void add(TH1 *histPtr, const std::string &directory="")
bool getByLabel(const std::type_info &iInfo, const char *iModuleLabel, const char *iProductInstanceLabel, const char *iProcessLabel, void *oData) const override
optutl::CommandLineParser * m_parserPtr
SVec & stringVector(std::string key)
bool & boolValue(std::string key)
~EventContainer() override
const SVec argVec() const
virtual bool atEnd() const =0
const std::string getBranchNameFor(const std::type_info &iInfo, const char *iModuleLabel, const char *iProductInstanceLabel, const char *iProcessLabel) const override
TH1 * hist(const std::string &name)
TH1 * hist(const std::string &name)
virtual EventBase const & toBegin()=0
optutl::CommandLineParser & parser()
OptionType hasOption(std::string key)