CMS 3D CMS Logo

helper::BFieldIsolationAlgorithmSetup< Alg > Struct Template Reference

#include <PhysicsTools/IsolationAlgos/interface/CalIsolationExtrapolate.h>

List of all members.

Static Public Member Functions

static void init (Alg &algo, const edm::EventSetup &es)


Detailed Description

template<typename Alg>
struct helper::BFieldIsolationAlgorithmSetup< Alg >

Definition at line 16 of file CalIsolationExtrapolate.h.


Member Function Documentation

template<typename Alg>
static void helper::BFieldIsolationAlgorithmSetup< Alg >::init ( Alg &  algo,
const edm::EventSetup es 
) [inline, static]

Definition at line 17 of file CalIsolationExtrapolate.h.

References edm::ESHandle< T >::product().

00017                                                             {
00018       edm::ESHandle<MagneticField> bFieldHandle;
00019       es.template get<IdealMagneticFieldRecord>().get( bFieldHandle );
00020       algo.setBfield( bFieldHandle.product() );
00021     }


The documentation for this struct was generated from the following file:
Generated on Tue Jun 9 18:47:26 2009 for CMSSW by  doxygen 1.5.4