1 #ifndef DQMOFFLINE_TRIGGER_EGHLTMONELEMCONTAINER
2 #define DQMOFFLINE_TRIGGER_EGHLTMONELEMCONTAINER
69 for(
size_t i=0;
i<monElems_.size();
i++)
delete monElems_[
i];
70 for(
size_t i=0;
i<cutMonElems_.size();
i++)
delete cutMonElems_[
i];
71 if(cut_!=
NULL)
delete cut_;
77 if(cut_==
NULL || cut_->pass(obj,evt)){
78 for(
size_t i=0;
i<monElems_.size();
i++) monElems_[
i]->
fill(obj,weight);
79 for(
size_t i=0;
i<cutMonElems_.size();
i++) 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)
MonElemContainer(std::string baseName="", std::string baseTitle="", EgHLTDQMCut< T > *cut=NULL)
std::vector< MonElemManagerBase< T > * > monElems_
const std::string & title() const
const std::vector< MonElemWithCutBase< T > * > & cutMonElems() const
std::vector< MonElemManagerBase< T > * > & monElems()
std::vector< MonElemWithCutBase< T > * > cutMonElems_
const std::vector< MonElemManagerBase< T > * > & monElems() const
std::vector< MonElemWithCutBase< T > * > & cutMonElems()
MonElemContainer & operator=(const MonElemContainer &rhs)