BALL::Experiment< PeakListType > Class Template Reference
[NMR spectra and related classes]

#include <BALL/NMR/experiment.h>

Inheritance diagram for BALL::Experiment< PeakListType >:
BALL::ShiftModule BALL::UnaryProcessor< Composite > BALL::UnaryFunctor< Composite, Processor::Result >

List of all members.


Public Types

Typedefs
typedef PeakListType::PeakType PeakType
 

The peak type.



Public Member Functions

Constructors and Destructors
 Experiment ()
 Experiment (const Experiment &experiment)
virtual ~Experiment ()
Accessors
const PeakListType & getPeakList () const
const PeakTypegetDefaultPeak () const
void setDefaultPeak (const PeakType &peak)

Protected Attributes

PeakListType peak_list_
PeakType default_peak_

Detailed Description

template<typename PeakListType>
class BALL::Experiment< PeakListType >

Class describing a certain type of NMR experiment. This class (and its subclasses) are used to describe how a list of peaks is derived from the shifts calculated for a system.


Member Typedef Documentation

template<typename PeakListType>
typedef PeakListType::PeakType BALL::Experiment< PeakListType >::PeakType

The peak type.


Constructor & Destructor Documentation

template<typename PeakListType >
BALL::Experiment< PeakListType >::Experiment (  )  [inline]

Default Constructor

template<typename PeakListType >
BALL::Experiment< PeakListType >::Experiment ( const Experiment< PeakListType > &  experiment  )  [inline]

Copy constructor

template<typename PeakListType >
BALL::Experiment< PeakListType >::~Experiment (  )  [inline, virtual]

Destructor


Member Function Documentation

template<typename PeakListType >
const Experiment< PeakListType >::PeakType & BALL::Experiment< PeakListType >::getDefaultPeak (  )  const [inline]

Return the default peak. This peak can be assigned a default width and intensity that is assigned to all extracted peaks in the peak list. This is the default behaviour and can be overridden in derived classes.

References BALL::Experiment< PeakListType >::default_peak_.

template<typename PeakListType >
const PeakListType & BALL::Experiment< PeakListType >::getPeakList (  )  const [inline]

Return the peak list

References BALL::Experiment< PeakListType >::peak_list_.

template<typename PeakListType>
void BALL::Experiment< PeakListType >::setDefaultPeak ( const PeakType peak  ) 

Assign the default peak.

See also:
getDefaultPeak

Member Data Documentation

template<typename PeakListType>
PeakType BALL::Experiment< PeakListType >::default_peak_ [protected]
template<typename PeakListType>
PeakListType BALL::Experiment< PeakListType >::peak_list_ [protected]