Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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


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 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

std::vector<double> NC::ISpectrumInterpolator::ShiftInfo::shift
 

Definition at line 58 of file NCSpectrumInterpolator.h.

Referenced by NC::ISpectrumInterpolator::GetInputSpectra(), and IsNominal().

std::vector<TH1*> NC::ISpectrumInterpolator::ShiftInfo::spectra
 

Definition at line 59 of file NCSpectrumInterpolator.h.

Referenced by NC::ISpectrumInterpolator::GetInputSpectra().


The documentation for this struct was generated from the following files:
Generated on Mon Feb 15 11:10:38 2010 for loon by  doxygen 1.3.9.1