ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/auterman/PhysicsTools/IsolationAlgos/interface/TrkCalIsolationAlgo.h
Revision: 1.1.1.1 (vendor branch)
Committed: Wed May 23 17:31:23 2007 UTC (17 years, 11 months ago) by auterman
Content type: text/plain
Branch: tex, PatCrossCleaner, Demo, SusyScan, scripts, IsolationAlgos, MAIN
CVS Tags: start, HEAD
Changes since 1.1: +0 -0 lines
Log Message:

File Contents

# User Rev Content
1 auterman 1.1 #ifndef IsolationAlgos_TrkCalIsolationAlgo_h
2     #define IsolationAlgos_TrkCalIsolationAlgo_h
3     /* Partial spacialization of parameter set adapeter helper
4     *
5     */
6     #include "PhysicsTools/IsolationUtils/interface/TrkCalIsolationAlgo.h"
7     #include "PhysicsTools/UtilAlgos/interface/ParameterAdapter.h"
8     #include "FWCore/ParameterSet/interface/ParameterSet.h"
9    
10     namespace reco {
11     namespace modules {
12    
13     template<typename T, typename C>
14     struct ParameterAdapter<TrkCalIsolationAlgo<T, C> > {
15     static TrkCalIsolationAlgo<T, C> make( const edm::ParameterSet & cfg ) {
16     return TrkCalIsolationAlgo<T, C>( cfg.template getParameter<double>( "dRMin" ),
17     cfg.template getParameter<double>( "dRMax" ) );
18     }
19     };
20     }
21     }
22    
23     #endif