CMS 3D CMS Logo

CalIsolationNoExtrapol.h

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

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