Yes, this is correct, "dim" s supposed to be constant in a given job.
In case of misconfiguration the exception will be thrown at the first event.

Regards,
Igor

On 05/12/2014 08:34 AM, Volker Adler wrote:
>
> In JetMETCorrections/FFTJetObjects/interface/L2RecoScaleCalculator.h:
>
> > +
> > +class L2RecoScaleCalculator : public AbsFFTSpecificScaleCalculator
> > +{
> > +public:
> > +    inline explicit L2RecoScaleCalculator(const edm::ParameterSet& ps)
> > +        : m_radiusFactor(ps.getParameter<double>("radiusFactor")) {}
> > +
> > +    inline virtual ~L2RecoScaleCalculator() {}
> > +
> > +    inline virtual void mapFFTJet(const reco::Jet& /* jet */,
> > +                                  const reco::FFTJet<float>& fftJet,
> > +                                  const math::XYZTLorentzVector& /* current */,
> > +                                  double* buf, const unsigned dim) const
> > +    {
> > +        if (dim != 1)
> > +            throw cms::Exception("FFTJetBadConfig")
>
> Do I understand correctly that |dim| is supposed to be constant in a given job, depending on its configuration, and that the exception will be thrown at the first event in any case?
>
> —
> Reply to this email directly or view it on GitHub <https://github.com/cms-sw/cmssw/pull/3810/files#r12528443>.
>