@@ -70,7 +70,7 @@ void JEventPool::Ingest(JEvent* event, size_t location) {
70
70
// This is necessary for interleaved events
71
71
auto incoming_event_level = event->GetLevel ();
72
72
if (incoming_event_level != m_level) {
73
- LOG << " Pool " << toString (m_level) << " forwarding event " << event->GetEventNumber () << " to parent pool " << toString (event->GetLevel ());
73
+ // LOG << "Pool " << toString(m_level) << " forwarding event " << event->GetEventNumber() << " to parent pool " << toString(event->GetLevel());
74
74
m_parent_pools.at (incoming_event_level)->Ingest (event, location);
75
75
return ;
76
76
}
@@ -79,32 +79,32 @@ void JEventPool::Ingest(JEvent* event, size_t location) {
79
79
auto finished_parents = event->ReleaseAllParents ();
80
80
// TODO: I'd prefer to not have to do an allocation each time, but this will work for now
81
81
for (auto * parent : finished_parents) {
82
- LOG << " JEventPool::Ingest: Found finished parent of level " << toString (parent->GetLevel ());
82
+ // LOG << "JEventPool::Ingest: Found finished parent of level " << toString(parent->GetLevel());
83
83
m_parent_pools.at (parent->GetLevel ())->NotifyThatAllChildrenFinished (parent, location);
84
84
// TODO: This is likely the wrong location. Obtain from parent event?
85
85
}
86
86
87
87
if (event->GetChildCount () == 0 ) {
88
88
// There's no way for additional children to appear because Ingest takes the "original" parent
89
89
// LOG << "JEventPool::Ingest: event at level " << toString(m_level) << " is PUSHED";
90
- LOG << " JEventPool::Ingest: " << toString (m_level) << " event is pushed" ;
90
+ // LOG << "JEventPool::Ingest: " << toString(m_level) << " event is pushed";
91
91
Push (event, location);
92
92
}
93
93
else {
94
94
// We've received the original but we can't push it until all children have been pushed to
95
95
// _their_ pools, in which case we push once we receive the notification
96
- LOG << " JEventPool::Ingest: " << toString (m_level) << " event is pending" ;
96
+ // LOG << "JEventPool::Ingest: " << toString(m_level) << " event is pending";
97
97
m_pending.insert (event);
98
98
}
99
99
}
100
100
101
101
102
102
void JEventPool::NotifyThatAllChildrenFinished (JEvent* event, size_t location) {
103
- LOG << " JEventPool::Notify called for level " << toString (m_level);
103
+ // LOG << "JEventPool::Notify called for level " << toString(m_level);
104
104
size_t was_present = m_pending.erase (event);
105
105
if (was_present == 1 ) {
106
106
Push (event, location);
107
- LOG << " JEventPool at level " << toString (m_level) << " has pushed a parent event" ;
107
+ // LOG << "JEventPool at level " << toString(m_level) << " has pushed a parent event";
108
108
}
109
109
}
110
110
0 commit comments