CMS 3D CMS Logo

PdgIdExcluder.h

Go to the documentation of this file.
00001 #ifndef PhysicsTools_UtilAlgos_PdgIdSelector_h
00002 #define PhysicsTools_UtilAlgos_PdgIdSelector_h
00003 #include "PhysicsTools/UtilAlgos/interface/ParameterAdapter.h"
00004 #include "PhysicsTools/Utilities/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

Generated on Tue Jun 9 17:42:30 2009 for CMSSW by  doxygen 1.5.4