File indexing completed on 2024-04-06 12:23:51
0001 #include "CommonTools/UtilAlgos/interface/AnySelector.h"
0002 #include "CommonTools/UtilAlgos/interface/ObjectCountFilter.h"
0003 #include "CommonTools/UtilAlgos/interface/MinNumberSelector.h"
0004 #include "CommonTools/UtilAlgos/interface/MaxNumberSelector.h"
0005 #include "CommonTools/UtilAlgos/interface/AndSelector.h"
0006 #include "DataFormats/Candidate/interface/Candidate.h"
0007 #include "DataFormats/Common/interface/View.h"
0008
0009 namespace pat {
0010
0011 typedef ObjectCountFilter<edm::View<reco::Candidate>,
0012 AnySelector,
0013 AndSelector<MinNumberSelector, MaxNumberSelector> >::type PATCandViewCountFilter;
0014
0015 }
0016
0017 using namespace pat;
0018
0019 #include "FWCore/Framework/interface/MakerMacros.h"
0020 DEFINE_FWK_MODULE(PATCandViewCountFilter);