CMS 3D CMS Logo

PtIsolationAlgo.h

Go to the documentation of this file.
00001 #ifndef IsolationAlgos_PtIsolationAlgo_h
00002 #define IsolationAlgos_PtIsolationAlgo_h
00003 /* Partial spacialization of parameter set adapeter helper
00004  *
00005  */
00006 #include "PhysicsTools/IsolationUtils/interface/PtIsolationAlgo.h"
00007 #include "PhysicsTools/UtilAlgos/interface/ParameterAdapter.h"
00008 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00009 
00010 namespace reco {
00011   namespace modules {
00012     
00013     template<typename T, typename C> 
00014     struct ParameterAdapter<PtIsolationAlgo<T, C> > { 
00015       static PtIsolationAlgo<T, C> make( const edm::ParameterSet & cfg ) {
00016           return PtIsolationAlgo<T, C>( cfg.template getParameter<double>( "dRMin" ), 
00017                                         cfg.template getParameter<double>( "dRMax" ),
00018                                         cfg.template getParameter<double>( "dzMax" ),
00019                                         cfg.template getParameter<double>( "d0Max" ),
00020                                         cfg.template getParameter<double>( "ptMin" ) );
00021       }
00022     };
00023   }
00024 }
00025 
00026 #endif

Generated on Tue Jun 9 17:41:10 2009 for CMSSW by  doxygen 1.5.4