1 #ifndef DQMOFFLINE_TRIGGER_EGHLTMONELEMCONTAINER
2 #define DQMOFFLINE_TRIGGER_EGHLTMONELEMCONTAINER
63 for (
size_t i = 0;
i < monElems_.size();
i++)
65 for (
size_t i = 0;
i < cutMonElems_.size();
i++)
66 delete cutMonElems_[
i];
73 if (cut_ ==
nullptr || cut_->pass(obj, evt)) {
74 for (
size_t i = 0;
i < monElems_.size();
i++)
75 monElems_[
i]->
fill(obj, weight);
76 for (
size_t i = 0;
i < cutMonElems_.size();
i++)
77 cutMonElems_[
i]->
fill(obj, evt, weight);
MonElemContainer(const MonElemContainer &rhs)
const std::string & name() const
void fill(const T &obj, const OffEvt &evt, float weight) override
~MonElemContainer() override
std::vector< MonElemManagerBase< T > * > monElems_
const std::string & title() const
const std::vector< MonElemWithCutBase< T > * > & cutMonElems() const
void fill(std::map< std::string, TH1 * > &h, const std::string &s, double x)
std::vector< MonElemManagerBase< T > * > & monElems()
MonElemContainer(std::string baseName="", std::string baseTitle="", EgHLTDQMCut< T > *cut=nullptr)
std::vector< MonElemWithCutBase< T > * > cutMonElems_
const std::vector< MonElemManagerBase< T > * > & monElems() const
std::vector< MonElemWithCutBase< T > * > & cutMonElems()
MonElemContainer & operator=(const MonElemContainer &rhs)