9#ifndef EVENTBOOKKEEPER_H
10#define EVENTBOOKKEEPER_H
18#include "GaudiKernel/MsgStream.h"
31 const std::string &logic);
39 void Print(
const std::string &indent=
"", std::ostream& out = std::cout);
40 void PrintToMsg(MsgStream &,
const std::string &indent=
"");
45 void setName(
const std::string& name );
58 void setLogic(
const std::string& logic );
77 void AddChildren( std::vector<EventBookkeeper*>* children );
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
double cycle(double a, double b)
uint64_t getNAcceptedEvents() const
bool m_declaredChildFilter
const std::string & getDescription() const
const std::string & getLogic() const
EventBookkeeper * AddNewChild(const std::string &name, const std::string &description)
const std::string & getInputStream() const
void setOutputStreamOfFamily(const std::string &outputstream)
const std::string & getOutputStream() const
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?