11 if(name.length() == 0) {
17 if((chain ==
nullptr) && (
gFragment ==
nullptr)) {
20 if(chain ==
nullptr) {
30 fInputChain(chain), fFragment(nullptr), fSelfStopping(true)
40 while(outQueue->Size() != 0u) {
41 std::shared_ptr<const TFragment> event;
65 outQueue->SetFinished();
75 std::this_thread::sleep_for(std::chrono::milliseconds(1000));
79 std::shared_ptr<TFragment> frag = std::make_shared<TFragment>();
83 frag->SetEntryNumber();
std::atomic_size_t & ItemsPopped()
std::atomic_long & InputSize()
static StoppableThread * Get(const std::string &name)
void IncrementItemsPopped()
std::vector< std::shared_ptr< ThreadsafeQueue< std::shared_ptr< const TFragment > > > > fOutputQueues
void ClearQueue() override
static TFragmentChainLoop * Get(std::string name="", TChain *chain=nullptr)
TFragmentChainLoop(const TFragmentChainLoop &)=delete
bool Iteration() override