CMS 3D CMS Logo

List of all members | Public Member Functions
FFTSimpleScalingAdjuster< MyJet, Adjustable > Struct Template Reference

#include <FFTJetAdjusters.h>

Inheritance diagram for FFTSimpleScalingAdjuster< MyJet, Adjustable >:
AbsFFTJetAdjuster< MyJet, Adjustable >

Public Member Functions

void adjust (const MyJet &, const Adjustable &in, const double *factors, const unsigned lenFactors, Adjustable *out) const override
 
 ~FFTSimpleScalingAdjuster () override
 
- Public Member Functions inherited from AbsFFTJetAdjuster< MyJet, Adjustable >
virtual ~AbsFFTJetAdjuster ()
 

Additional Inherited Members

- Public Types inherited from AbsFFTJetAdjuster< MyJet, Adjustable >
typedef Adjustable adjustable_type
 
typedef MyJet jet_type
 

Detailed Description

template<class MyJet, class Adjustable>
struct FFTSimpleScalingAdjuster< MyJet, Adjustable >

Definition at line 7 of file FFTJetAdjusters.h.

Constructor & Destructor Documentation

◆ ~FFTSimpleScalingAdjuster()

template<class MyJet , class Adjustable >
FFTSimpleScalingAdjuster< MyJet, Adjustable >::~FFTSimpleScalingAdjuster ( )
inlineoverride

Definition at line 8 of file FFTJetAdjusters.h.

8 {}

Member Function Documentation

◆ adjust()

template<class MyJet , class Adjustable >
void FFTSimpleScalingAdjuster< MyJet, Adjustable >::adjust ( const MyJet &  ,
const Adjustable &  in,
const double *  factors,
const unsigned  lenFactors,
Adjustable *  out 
) const
inlineoverridevirtual

Implements AbsFFTJetAdjuster< MyJet, Adjustable >.

Definition at line 10 of file FFTJetAdjusters.h.

14  {
15  if (lenFactors != 1U)
16  throw cms::Exception("FFTJetBadConfig") << "In FFTSimpleScalingAdjuster::adjust: wrong number of "
17  << "scales (expected 1, got " << lenFactors << ")\n";
18  assert(factors);
19  assert(out);
20  *out = in;
21  *out *= factors[0];
22  }

References cms::cuda::assert(), Exception, recoMuon::in, MillePedeFileConverter_cfg::out, and mitigatedMETSequence_cff::U.

cms::cuda::assert
assert(be >=bs)
mitigatedMETSequence_cff.U
U
Definition: mitigatedMETSequence_cff.py:36
recoMuon::in
Definition: RecoMuonEnumerators.h:6
Exception
Definition: hltDiff.cc:245
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31