29 const std::string& logic)
53 for(
unsigned int i=0; i<rhs.m_childrenEB->size(); i++){
59 for(
unsigned int i=0; i<rhs.m_childrenIndices->size(); i++){
132 for(
unsigned int j=0; (j<collFLAT->
size() && notFound); j++){
187 m_childrenEB->at(i)->setOutputStreamOfFamily(outputstream);
230 m_childrenEB->at(i)->updateAcceptedEventsIncludingFamily(eb_children->at(i));
255 for(
unsigned int i=0; (i<
m_childrenEB->size()) && notFound; i++){
265 for(
unsigned int i=0; i<children->size(); i++){
288 if(log.level()==MSG::DEBUG){
309 std::string indent_ = indent +
" ";
double cycle(double a, double b)
const T * at(size_type n) const
Access an element, as an rvalue.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
size_type size() const noexcept
Returns the number of elements in the collection.
uint64_t getNAcceptedEvents() const
bool m_declaredChildFilter
EventBookkeeper * AddNewChild(const std::string &name, const std::string &description)
void setOutputStreamOfFamily(const std::string &outputstream)
void setNAcceptedEvents(uint64_t nEvents)
double getNWeightedAcceptedEvents() const
std::vector< unsigned int > * m_childrenIndices
void setDescription(const std::string &description)
void fillWithWholeFamily(EventBookkeeperCollection *family)
EventBookkeeper * DeepCopyForFlatStructure(EventBookkeeperCollection *collFLAT)
uint64_t m_nAcceptedEvents
const std::vector< EventBookkeeper * > * getChildrenEventBookkeepers() const
bool isEqualTo(const EventBookkeeper *eb)
const std::string & getName() const
void addNAcceptedEvents(uint64_t nEvents)
void SetDefaultDataMemberValues()
EventBookkeeper()
Constructors.
friend class EventBookkeeperCollection
void setOutputStream(const std::string &outputstream)
void PrintToMsg(MsgStream &, const std::string &indent="")
void PrintFamily(const std::string &indent="")
void setNWeightedAcceptedEvents(double nWeightedEvents)
void AddChildren(std::vector< EventBookkeeper * > *children)
void Print(const std::string &indent="", std::ostream &out=std::cout)
void updateAcceptedEventsIncludingFamily(const EventBookkeeper *eb)
std::string m_outputstream
std::string m_inputstream
std::string m_description
void setName(const std::string &name)
double m_nWeightedAcceptedEvents
void AddChild(EventBookkeeper *eb)
EventBookkeeper & operator=(const EventBookkeeper &rhs)
std::vector< EventBookkeeper * > * m_childrenEB
void addNWeightedAcceptedEvents(double nWeightedEvents)
void setLogic(const std::string &logic)
void setChildrenEventBookkeepers(std::vector< EventBookkeeper * > *childrenEB)
void setInputStream(const std::string &inputstream)
std::string description
glabal timer - how long have I taken so far?