CMS 3D CMS Logo

List of all members | Static Public Member Functions
helper::BFieldIsolationAlgorithmSetup< Alg > Struct Template Reference

#include <CalIsolationExtrapolate.h>

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 
)
inlinestatic

Definition at line 17 of file CalIsolationExtrapolate.h.

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

17  {
18  edm::ESHandle<MagneticField> bFieldHandle;
19  es.template get<IdealMagneticFieldRecord>().get( bFieldHandle );
20  algo.setBfield( bFieldHandle.product() );
21  }
T const * product() const
Definition: ESHandle.h:86