ATLAS Offline Software
Loading...
Searching...
No Matches
EmptyJetGroupProduct.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGHLTJETHYPO_EMPTYJETGROUPPRODUCT_H
6#define TRIGHLTJETHYPO_EMPTYJETGROUPPRODUCT_H
7
9#include <vector>
10
12 /*
13 * Return an empty vector of jet indices.
14 * The need for such a vector may arise for a number of reasons
15 * for when example no jet group satisfies a Condition.
16 */
17public:
19
20 virtual std::vector<std::size_t> next(const Collector&collector) override {
21 if(collector){
22 collector->collect("EmptyJetGroup::next()",
23 "end of iteration ");
24 }
25 return std::vector<std::size_t>();
26 }
27 virtual bool valid() const override {return true;}
28
29};
30
31#endif
std::unique_ptr< ITrigJetHypoInfoCollector > Collector
Definition FastReducer.h:22
virtual bool valid() const override
virtual std::vector< std::size_t > next(const Collector &collector) override
virtual void collect(const std::string &, const std::string &)=0