CMS 3D CMS Logo

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

#include <CalIsolationExtrapolate.h>

Public Types

using ESConsumesToken = edm::ESGetToken< MagneticField, IdealMagneticFieldRecord >
 

Static Public Member Functions

static ESConsumesToken esConsumes (edm::ConsumesCollector cc)
 
static void init (Alg &algo, const edm::EventSetup &es, const ESConsumesToken &token)
 

Detailed Description

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

Definition at line 16 of file CalIsolationExtrapolate.h.

Member Typedef Documentation

◆ ESConsumesToken

Definition at line 17 of file CalIsolationExtrapolate.h.

Member Function Documentation

◆ esConsumes()

template<typename Alg >
static ESConsumesToken helper::BFieldIsolationAlgorithmSetup< Alg >::esConsumes ( edm::ConsumesCollector  cc)
inlinestatic

◆ init()

template<typename Alg >
static void helper::BFieldIsolationAlgorithmSetup< Alg >::init ( Alg &  algo,
const edm::EventSetup es,
const ESConsumesToken token 
)
inlinestatic

Definition at line 21 of file CalIsolationExtrapolate.h.

References edm::EventSetup::getData(), and unpackBuffers-CaloStage2::token.

21  {
22  algo.setBfield(&es.getData(token));
23  }
bool getData(T &iHolder) const
Definition: EventSetup.h:122