CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/PhysicsTools/PatAlgos/plugins/PATObjectFilter.h

Go to the documentation of this file.
00001 //
00002 // $Id: PATObjectFilter.h,v 1.7 2010/07/22 14:18:11 srappocc Exp $
00003 //
00004 
00005 #ifndef PhysicsTools_PatAlgos_PATObjectFilter_h
00006 #define PhysicsTools_PatAlgos_PATObjectFilter_h
00007 
00008 #include "CommonTools/UtilAlgos/interface/AnySelector.h"
00009 #include "CommonTools/UtilAlgos/interface/ObjectCountFilter.h"
00010 #include "CommonTools/UtilAlgos/interface/MinNumberSelector.h"
00011 #include "CommonTools/UtilAlgos/interface/MaxNumberSelector.h"
00012 #include "CommonTools/UtilAlgos/interface/AndSelector.h"
00013 
00014 #include "DataFormats/Candidate/interface/Candidate.h"
00015 #include "DataFormats/Common/interface/View.h"
00016 
00017 namespace pat {
00018 
00019   typedef ObjectCountFilter<edm::View<reco::Candidate>, AnySelector, AndSelector<MinNumberSelector, MaxNumberSelector> >::type PATCandViewCountFilter;
00020 
00021 }
00022 
00023 
00024 #endif