1 #ifndef IsolationAlgos_CalIsolationAlgo_h
2 #define IsolationAlgos_CalIsolationAlgo_h
15 template <
typename Alg>
19 es.template get<IdealMagneticFieldRecord>().
get(bFieldHandle);
20 algo.setBfield(bFieldHandle.
product());
24 template <
typename T1,
typename C2>
33 template <
typename T,
typename C>
36 bool propagate = cfg.template getParameter<bool>(
"PropagateToCal");
38 bool material =
false;
41 r = cfg.template getParameter<double>(
"CalRadius");
42 minz = cfg.template getParameter<double>(
"CalMinZ");
43 maxz = cfg.template getParameter<double>(
"CalMaxZ");
44 material = cfg.template getParameter<bool>(
"IgnoreMaterial");
47 cfg.template getParameter<double>(
"dRMax"),
__constant__ float const minz[nPairs]
static CalIsolationAlgo< T, C > make(const edm::ParameterSet &cfg)
static void init(Alg &algo, const edm::EventSetup &es)
__constant__ float const maxz[nPairs]
T const * product() const
BFieldIsolationAlgorithmSetup< CalIsolationAlgo< T1, C2 > > type