Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:01:10

0001 /* \class TrackCountFilter
0002  *
0003  * Filters events if at least N vertices
0004  *
0005  * \author: Steven Lowette
0006  *
0007  */
0008 #include "FWCore/Framework/interface/MakerMacros.h"
0009 #include "DataFormats/VertexReco/interface/Vertex.h"
0010 #include "DataFormats/VertexReco/interface/VertexFwd.h"
0011 #include "CommonTools/UtilAlgos/interface/ObjectCountFilter.h"
0012 #include "CommonTools/UtilAlgos/interface/MinNumberSelector.h"
0013 #include "CommonTools/UtilAlgos/interface/MaxNumberSelector.h"
0014 #include "CommonTools/UtilAlgos/interface/AndSelector.h"
0015 
0016 typedef ObjectCountFilter<reco::VertexCollection, AnySelector, AndSelector<MinNumberSelector, MaxNumberSelector> >::type
0017     VertexCountFilter;
0018 
0019 DEFINE_FWK_MODULE(VertexCountFilter);