NuShiftableSpectrum Class Reference

#include <NuShiftableSpectrum.h>

Inheritance diagram for NuShiftableSpectrum:
NuShiftableBinnedSpectrum NuShiftableUnbinnedSpectrum

List of all members.

Public Member Functions

 NuShiftableSpectrum ()
 NuShiftableSpectrum (const Double_t pot)
 NuShiftableSpectrum (const std::string name)
virtual ~NuShiftableSpectrum ()
virtual void Name (std::string name)
virtual const std::string Name () const
virtual const TH1D Spectrum (const NuMMParameters &pars) const =0
virtual Double_t PoT () const
virtual void PoT (const Double_t pot)

Private Member Functions

virtual const TH1D Spectrum (const Double_t shift) const =0
 ClassDef (NuShiftableSpectrum, 0)

Private Attributes

std::string fName
Double_t fPoT

Detailed Description

Definition at line 10 of file NuShiftableSpectrum.h.


Constructor & Destructor Documentation

NuShiftableSpectrum::NuShiftableSpectrum (  ) 

Definition at line 10 of file NuShiftableSpectrum.cxx.

00011   : fName("DefaultSpectrum"),
00012     fPoT(-1.0)
00013 {
00014 }

NuShiftableSpectrum::NuShiftableSpectrum ( const Double_t  pot  ) 

Definition at line 17 of file NuShiftableSpectrum.cxx.

00018   : fName("DefaultSpectrum"),
00019     fPoT(pot)
00020 {
00021 }

NuShiftableSpectrum::NuShiftableSpectrum ( const std::string  name  ) 
virtual NuShiftableSpectrum::~NuShiftableSpectrum (  )  [inline, virtual]

Definition at line 16 of file NuShiftableSpectrum.h.

00016 {};


Member Function Documentation

NuShiftableSpectrum::ClassDef ( NuShiftableSpectrum  ,
 
) [private]

Reimplemented in NuShiftableBinnedSpectrum.

virtual const std::string NuShiftableSpectrum::Name ( void   )  const [inline, virtual]

Definition at line 18 of file NuShiftableSpectrum.h.

References fName.

00018 {return fName;}

virtual void NuShiftableSpectrum::Name ( std::string  name  )  [inline, virtual]

Definition at line 17 of file NuShiftableSpectrum.h.

References fName.

00017 {fName = name;}

virtual void NuShiftableSpectrum::PoT ( const Double_t  pot  )  [inline, virtual]

Definition at line 21 of file NuShiftableSpectrum.h.

References fPoT.

00021 {fPoT = pot;}

virtual Double_t NuShiftableSpectrum::PoT ( void   )  const [inline, virtual]

Definition at line 20 of file NuShiftableSpectrum.h.

References fPoT.

Referenced by NuMMRunCPTSyst::MakeFDPred(), and NuShiftableBinnedSpectrum::push_back().

00020 {return fPoT;}

virtual const TH1D NuShiftableSpectrum::Spectrum ( const Double_t  shift  )  const [private, pure virtual]
virtual const TH1D NuShiftableSpectrum::Spectrum ( const NuMMParameters pars  )  const [pure virtual]

Member Data Documentation

std::string NuShiftableSpectrum::fName [private]

Definition at line 25 of file NuShiftableSpectrum.h.

Referenced by Name().

Double_t NuShiftableSpectrum::fPoT [private]

Definition at line 26 of file NuShiftableSpectrum.h.

Referenced by PoT().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1