File indexing completed on 2024-04-06 12:01:16
0001 #ifndef CommonTools_UtilAlgos_ObjectCountFilter_h
0002 #define CommonTools_UtilAlgos_ObjectCountFilter_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #include "CommonTools/UtilAlgos/interface/ParameterAdapter.h"
0017 #include "CommonTools/UtilAlgos/interface/CollectionFilterTrait.h"
0018 #include "CommonTools/UtilAlgos/interface/EventSelectorAdapter.h"
0019 #include "CommonTools/UtilAlgos/interface/ObjectCountEventSelector.h"
0020
0021 template <typename C,
0022 typename S = AnySelector,
0023 typename N = MinNumberSelector,
0024 typename CS = typename helper::CollectionFilterTrait<C, S, N>::type>
0025 struct ObjectCountFilter {
0026 typedef EventSelectorAdapter<ObjectCountEventSelector<C, S, N, CS> > type;
0027 };
0028
0029 #endif