CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/CommonTools/UtilAlgos/interface/PdgIdExcluder.h

Go to the documentation of this file.
00001 #ifndef CommonTools_UtilAlgos_PdgIdSelector_h
00002 #define CommonTools_UtilAlgos_PdgIdSelector_h
00003 #include "CommonTools/UtilAlgos/interface/ParameterAdapter.h"
00004 #include "CommonTools/Utils/interface/PdgIdExcluder.h"
00005 
00006 namespace reco {
00007   namespace modules {
00008     
00009     template<>
00010       struct ParameterAdapter<PdgIdExcluder> {
00011         static PdgIdExcluder make( const edm::ParameterSet & cfg ) {
00012           return PdgIdExcluder( cfg.getParameter<std::vector<int> >( "pdgId" ) );
00013         }
00014       };
00015 
00016   }
00017 }
00018 
00019 #endif