1 #ifndef IsolationAlgos_CalIsolationAlgo_h 2 #define IsolationAlgos_CalIsolationAlgo_h 16 template<
typename Alg>
20 es.template get<IdealMagneticFieldRecord>().
get( bFieldHandle );
21 algo.setBfield( bFieldHandle.
product() );
25 template<
typename T1,
typename C2>
36 template<
typename T,
typename C>
39 bool propagate = cfg.template getParameter<bool>(
"PropagateToCal" );
40 double r=0.0, minz=0.0, maxz=0.0;
41 bool material =
false;
44 r = cfg.template getParameter<double>(
"CalRadius" );
45 minz = cfg.template getParameter<double>(
"CalMinZ" );
46 maxz = cfg.template getParameter<double>(
"CalMaxZ" );
47 material = cfg.template getParameter<bool>(
"IgnoreMaterial" );
50 cfg.template getParameter<double>(
"dRMax" ),
51 propagate,
r, minz, maxz, material );
static CalIsolationAlgo< T, C > make(const edm::ParameterSet &cfg)
static void init(Alg &algo, const edm::EventSetup &es)
T const * product() const
BFieldIsolationAlgorithmSetup< CalIsolationAlgo< T1, C2 > > type