ATLAS Offline Software
Trigger
TrigHypothesis
TrigHLTJetHypo
src
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
8
#include "
./IJetGroupProduct.h
"
9
#include <vector>
10
11
class
EmptyJetGroupProduct
:
public
IJetGroupProduct
{
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
*/
17
public
:
18
EmptyJetGroupProduct
(){}
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
IJetGroupProduct
Definition:
IJetGroupProduct.h:14
EmptyJetGroupProduct
Definition:
EmptyJetGroupProduct.h:11
EmptyJetGroupProduct::next
virtual std::vector< std::size_t > next(const Collector &collector) override
Definition:
EmptyJetGroupProduct.h:20
EmptyJetGroupProduct::EmptyJetGroupProduct
EmptyJetGroupProduct()
Definition:
EmptyJetGroupProduct.h:18
Collector
std::unique_ptr< ITrigJetHypoInfoCollector > Collector
Definition:
FastReducer.h:22
EmptyJetGroupProduct::valid
virtual bool valid() const override
Definition:
EmptyJetGroupProduct.h:27
IJetGroupProduct.h
Generated on Sun Dec 22 2024 21:10:06 for ATLAS Offline Software by
1.8.18