#include <EventBookkeeper.h>
Definition at line 23 of file EventBookkeeper.h.
◆ EventBookkeeper() [1/4]
| EventBookkeeper::EventBookkeeper |
( |
| ) |
|
Constructors.
Definition at line 16 of file EventBookkeeper.cxx.
17{
19}
void SetDefaultDataMemberValues()
◆ EventBookkeeper() [2/4]
| EventBookkeeper::EventBookkeeper |
( |
const std::string & | name | ) |
|
◆ EventBookkeeper() [3/4]
| EventBookkeeper::EventBookkeeper |
( |
const std::string & | name, |
|
|
const std::string & | description, |
|
|
const std::string & | logic ) |
Definition at line 27 of file EventBookkeeper.cxx.
30{
35}
std::string m_description
std::string description
glabal timer - how long have I taken so far?
◆ EventBookkeeper() [4/4]
Definition at line 37 of file EventBookkeeper.cxx.
49{
50
56 }
61 }
62}
bool m_declaredChildFilter
std::vector< unsigned int > * m_childrenIndices
uint64_t m_nAcceptedEvents
EventBookkeeper()
Constructors.
std::string m_outputstream
std::string m_inputstream
double m_nWeightedAcceptedEvents
std::vector< EventBookkeeper * > * m_childrenEB
◆ ~EventBookkeeper()
| EventBookkeeper::~EventBookkeeper |
( |
| ) |
|
◆ AddChild()
Definition at line 248 of file EventBookkeeper.cxx.
249{
250
254 bool notFound=true;
257 notFound=false;
258 }
259 }
261
262 return;
263}
void setOutputStream(const std::string &outputstream)
void setInputStream(const std::string &inputstream)
◆ AddChildren()
| void EventBookkeeper::AddChildren |
( |
std::vector< EventBookkeeper * > * | children | ) |
|
Definition at line 264 of file EventBookkeeper.cxx.
264 {
265 for(
unsigned int i=0;
i<
children->size();
i++){
267 }
268 return;
269}
void AddChild(EventBookkeeper *eb)
◆ addNAcceptedEvents()
| void EventBookkeeper::addNAcceptedEvents |
( |
uint64_t | nEvents | ) |
|
◆ AddNewChild()
| EventBookkeeper * EventBookkeeper::AddNewChild |
( |
const std::string & | name, |
|
|
const std::string & | description ) |
◆ addNWeightedAcceptedEvents()
| void EventBookkeeper::addNWeightedAcceptedEvents |
( |
double | nWeightedEvents | ) |
|
◆ DeepCopyForFlatStructure()
Definition at line 115 of file EventBookkeeper.cxx.
116{
128
129
131 bool notFound=true;
132 for(
unsigned int j=0; (j<collFLAT->
size() && notFound); j++){
135 notFound=false;
136 }
137 }
138 }
139
141
142
143 return book;
144}
const T * at(size_type n) const
Access an element, as an rvalue.
size_type size() const noexcept
Returns the number of elements in the collection.
◆ fillWithWholeFamily()
Definition at line 317 of file EventBookkeeper.cxx.
318{
319
320
324 }
325
326 return;
327}
value_type push_back(value_type pElem)
Add an element to the end of the collection.
◆ getChildrenEventBookkeepers()
| const std::vector< EventBookkeeper * > * EventBookkeeper::getChildrenEventBookkeepers |
( |
| ) |
const |
|
inline |
◆ getCycle()
| int EventBookkeeper::getCycle |
( |
| ) |
const |
|
inline |
◆ getDescription()
| const std::string & EventBookkeeper::getDescription |
( |
| ) |
const |
|
inline |
◆ getInputStream()
| const std::string & EventBookkeeper::getInputStream |
( |
| ) |
const |
|
inline |
◆ getLogic()
| const std::string & EventBookkeeper::getLogic |
( |
| ) |
const |
|
inline |
◆ getNAcceptedEvents()
| uint64_t EventBookkeeper::getNAcceptedEvents |
( |
| ) |
const |
|
inline |
◆ getName()
| const std::string & EventBookkeeper::getName |
( |
| ) |
const |
|
inline |
◆ getNWeightedAcceptedEvents()
| double EventBookkeeper::getNWeightedAcceptedEvents |
( |
| ) |
const |
|
inline |
◆ getOutputStream()
| const std::string & EventBookkeeper::getOutputStream |
( |
| ) |
const |
|
inline |
◆ isEqualTo()
◆ operator=()
Definition at line 65 of file EventBookkeeper.cxx.
66{
67 if (this != &rhs) {
77
83 }
88 }
91 }
92 return *this;
93}
◆ Print()
| void EventBookkeeper::Print |
( |
const std::string & | indent = "", |
|
|
std::ostream & | out = std::cout ) |
◆ PrintFamily()
| void EventBookkeeper::PrintFamily |
( |
const std::string & | indent = "" | ) |
|
Definition at line 306 of file EventBookkeeper.cxx.
307{
309 std::string indent_ =
indent +
" ";
312 }
313 return;
314}
void Print(const std::string &indent="", std::ostream &out=std::cout)
◆ PrintToMsg()
| void EventBookkeeper::PrintToMsg |
( |
MsgStream & | log, |
|
|
const std::string & | indent = "" ) |
Definition at line 286 of file EventBookkeeper.cxx.
287{
288 if(
log.level()==MSG::DEBUG){
290 }
291 else{
293 }
294
295 return;
296}
◆ setChildrenEventBookkeepers()
| void EventBookkeeper::setChildrenEventBookkeepers |
( |
std::vector< EventBookkeeper * > * | childrenEB | ) |
|
◆ setCycle()
| void EventBookkeeper::setCycle |
( |
int | cycle | ) |
|
◆ SetDefaultDataMemberValues()
| void EventBookkeeper::SetDefaultDataMemberValues |
( |
| ) |
|
|
private |
◆ setDescription()
| void EventBookkeeper::setDescription |
( |
const std::string & | description | ) |
|
◆ setInputStream()
| void EventBookkeeper::setInputStream |
( |
const std::string & | inputstream | ) |
|
◆ setLogic()
| void EventBookkeeper::setLogic |
( |
const std::string & | logic | ) |
|
◆ setNAcceptedEvents()
| void EventBookkeeper::setNAcceptedEvents |
( |
uint64_t | nEvents | ) |
|
◆ setName()
| void EventBookkeeper::setName |
( |
const std::string & | name | ) |
|
◆ setNWeightedAcceptedEvents()
| void EventBookkeeper::setNWeightedAcceptedEvents |
( |
double | nWeightedEvents | ) |
|
◆ setOutputStream()
| void EventBookkeeper::setOutputStream |
( |
const std::string & | outputstream | ) |
|
◆ setOutputStreamOfFamily()
| void EventBookkeeper::setOutputStreamOfFamily |
( |
const std::string & | outputstream | ) |
|
◆ updateAcceptedEventsIncludingFamily()
| void EventBookkeeper::updateAcceptedEventsIncludingFamily |
( |
const EventBookkeeper * | eb | ) |
|
Definition at line 223 of file EventBookkeeper.cxx.
224{
227
230 m_childrenEB->at(i)->updateAcceptedEventsIncludingFamily(eb_children->at(i));
231 }
232 return;
233}
uint64_t getNAcceptedEvents() const
double getNWeightedAcceptedEvents() const
const std::vector< EventBookkeeper * > * getChildrenEventBookkeepers() const
void addNAcceptedEvents(uint64_t nEvents)
void addNWeightedAcceptedEvents(double nWeightedEvents)
◆ CutFlowSvc
◆ EventBookkeeperCollection
◆ m_childrenEB
◆ m_childrenIndices
| std::vector<unsigned int>* EventBookkeeper::m_childrenIndices |
|
private |
◆ m_cycle
| int EventBookkeeper::m_cycle |
|
private |
◆ m_declaredChildFilter
| bool EventBookkeeper::m_declaredChildFilter |
|
private |
◆ m_declaredTopFilter
| bool EventBookkeeper::m_declaredTopFilter |
|
private |
◆ m_description
| std::string EventBookkeeper::m_description |
|
private |
◆ m_inputstream
| std::string EventBookkeeper::m_inputstream |
|
private |
◆ m_logic
| std::string EventBookkeeper::m_logic |
|
private |
◆ m_nAcceptedEvents
| uint64_t EventBookkeeper::m_nAcceptedEvents |
|
private |
◆ m_name
| std::string EventBookkeeper::m_name |
|
private |
◆ m_nWeightedAcceptedEvents
| double EventBookkeeper::m_nWeightedAcceptedEvents |
|
private |
◆ m_outputstream
| std::string EventBookkeeper::m_outputstream |
|
private |
◆ m_parentIndex
| int EventBookkeeper::m_parentIndex |
|
private |
The documentation for this class was generated from the following files: