![]() |
![]() |
#include <CalIsolationExtrapolate.h>
Static Public Member Functions | |
static CalIsolationAlgo< T, C > | make (const edm::ParameterSet &cfg) |
static CalIsolationAlgo< T, C > | make (const edm::ParameterSet &cfg) |
Definition at line 36 of file CalIsolationExtrapolate.h.
static CalIsolationAlgo<T, C> reco::modules::ParameterAdapter< CalIsolationAlgo< T, C > >::make | ( | const edm::ParameterSet & | cfg | ) | [inline, static] |
Definition at line 37 of file CalIsolationExtrapolate.h.
References csvReporter::r.
{ bool propagate = cfg.template getParameter<bool>( "PropagateToCal" ); double r=0.0, minz=0.0, maxz=0.0; bool material = false; //allow for undefined propagation-parameters, if no propagation is wanted if ( propagate ) { r = cfg.template getParameter<double>( "CalRadius" ); minz = cfg.template getParameter<double>( "CalMinZ" ); maxz = cfg.template getParameter<double>( "CalMaxZ" ); material = cfg.template getParameter<bool>( "IgnoreMaterial" ); } return CalIsolationAlgo<T, C>( cfg.template getParameter<double>( "dRMin" ), cfg.template getParameter<double>( "dRMax" ), propagate, r, minz, maxz, material ); }
static CalIsolationAlgo<T, C> reco::modules::ParameterAdapter< CalIsolationAlgo< T, C > >::make | ( | const edm::ParameterSet & | cfg | ) | [inline, static] |
Definition at line 17 of file CalIsolationNoExtrapol.h.
{ return CalIsolationAlgoNoExp<T, C>( cfg.template getParameter<double>( "dRMin" ), cfg.template getParameter<double>( "dRMax" ) ); }