NC::ISpectrumInterpolator::ShiftInfo Struct Reference

#include <NCSpectrumInterpolator.h>

List of all members.

Public Member Functions

 ShiftInfo ()
 ShiftInfo (std::vector< double > a, std::vector< TH1 * > b)
bool IsNominal () const

Public Attributes

std::vector< double > shift
std::vector< TH1 * > spectra

Detailed Description

Definition at line 52 of file NCSpectrumInterpolator.h.


Constructor & Destructor Documentation

NC::ISpectrumInterpolator::ShiftInfo::ShiftInfo (  )  [inline]

Definition at line 54 of file NCSpectrumInterpolator.h.

00054 {}

NC::ISpectrumInterpolator::ShiftInfo::ShiftInfo ( std::vector< double >  a,
std::vector< TH1 * >  b 
) [inline]

Definition at line 55 of file NCSpectrumInterpolator.h.

00056       : shift(a), spectra(b) {}


Member Function Documentation

bool NC::ISpectrumInterpolator::ShiftInfo::IsNominal (  )  const

Definition at line 32 of file NCSpectrumInterpolator.cxx.

References n, and shift.

00033 {
00034   for(unsigned int n = 0; n < shift.size(); ++n)
00035     if(shift[n] != 0) return false;
00036   return true;
00037 }


Member Data Documentation

Definition at line 58 of file NCSpectrumInterpolator.h.

Referenced by IsNominal().

Definition at line 59 of file NCSpectrumInterpolator.h.


The documentation for this struct was generated from the following files:

Generated on 19 Jan 2018 for loon by  doxygen 1.6.1