test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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

virtual void adjust (const MyJet &, const Adjustable &in, const double *factors, const unsigned lenFactors, Adjustable *out) const
 
virtual ~FFTSimpleScalingAdjuster ()
 
- 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

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

Definition at line 9 of file FFTJetAdjusters.h.

9 {}

Member Function Documentation

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

Implements AbsFFTJetAdjuster< MyJet, Adjustable >.

Definition at line 11 of file FFTJetAdjusters.h.

References edm::hlt::Exception, and recoMuon::in.

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