#include <NuMatrix.h>
Inheritance diagram for NuMatrix:

Public Member Functions | |
| NuMatrix () | |
| NuMatrix (Double_t POT) | |
| virtual | ~NuMatrix () |
| virtual NuMatrix * | Copy (void) const =0 |
| Makes a 'deep copy' - every subclass should implement this. | |
| virtual Double_t | StatsLikelihood (const NuMatrix *with) const =0 |
| Compares two NuMatrix objects and returns the LL difference. | |
| virtual void | ScaleToPOT (Double_t new_POT)=0 |
| Changes the POT, by scaling the data. | |
| virtual void | Scale (Double_t value)=0 |
| Scales the Matrix, without changing the POT. | |
| virtual void | Divide (const NuMatrix &correction)=0 |
| Make a correction by Dividing. | |
| virtual void | Divide (const TH1 &correction, const Option_t *option="")=0 |
| virtual void | Divide (const TGraph &correction)=0 |
| virtual void | Multiply (const NuMatrix &correction)=0 |
| Make a correction by Multiplying. | |
| virtual void | Multiply (const TH1 &correction, const Option_t *option="")=0 |
| virtual void | Multiply (const TGraph &correction)=0 |
| virtual void | RecoToTrue (const TH2D &correction)=0 |
| virtual void | TrueToReco (const TH2D &correction)=0 |
| virtual void | ExtrapolateNDToFD (const TH2D &beammatrix)=0 |
| virtual void | SetValue (Double_t val)=0 |
| virtual Int_t | Write (const TString &name)=0 |
| Writes to the current file. | |
| virtual TH1 * | Spectrum (void) const =0 |
| Returns a TH1 object representing the data the spectrum holds. Or zero. | |
| virtual void | Draw (Option_t *option="")=0 |
| virtual Bool_t | Complete () const =0 |
| Tells the user if the class is completely configured. | |
| virtual void | Oscillate (const Double_t dm2, const Double_t sn2)=0 |
| virtual void | ResetPOT (Double_t new_POT) |
| Sets the POT count directly, without scaling. | |
| virtual Double_t | GetPOT (void) const |
| Retrieves the POT count. | |
| virtual void | Multiply (const Double_t factor) |
| virtual void | Divide (const Double_t by) |
Protected Member Functions | |
| ClassDef (NuMatrix, 0) | |
Protected Attributes | |
| Double_t | fPot |
| The POT for this Matrix. May be zero. | |
Definition at line 18 of file NuMatrix.h.
|
|
Definition at line 12 of file NuMatrix.cxx. 00012 : fPot(0.0) 00013 { 00014 00015 }
|
|
|
Definition at line 17 of file NuMatrix.cxx. 00017 : fPot(POT) 00018 { 00019 00020 }
|
|
|
Definition at line 22 of file NuMatrix.cxx. 00023 {
00024
00025 }
|
|
||||||||||||
|
Reimplemented in NuMatrix1D, and NuMatrix2D. |
|
|
Tells the user if the class is completely configured.
Implemented in NuMatrix1D, NuMatrix2D, and NuMatrixCPT. |
|
|
Makes a 'deep copy' - every subclass should implement this.
Implemented in NuMatrix1D, NuMatrix2D, and NuMatrixCPT. Referenced by NuMatrixCPT::NuMatrixCPT(), and NuMatrixCPT::operator=(). |
|
|
Definition at line 84 of file NuMatrix.h. 00084 { Scale(1./by); }
|
|
|
Implemented in NuMatrix1D, NuMatrix2D, and NuMatrixCPT. |
|
||||||||||||
|
Implemented in NuMatrix1D, NuMatrix2D, and NuMatrixCPT. |
|
|
Make a correction by Dividing.
Implemented in NuMatrix1D, NuMatrix2D, and NuMatrixCPT. Referenced by NuMatrixCPT::Divide(). |
|
|
Implemented in NuMatrix1D, NuMatrix2D, and NuMatrixCPT. |
|
|
Implemented in NuMatrix1D, NuMatrix2D, and NuMatrixCPT. Referenced by NuMatrixCPT::ExtrapolateNDToFD(). |
|
|
Retrieves the POT count.
Definition at line 80 of file NuMatrix.h. Referenced by NuMatrix1D::GetNuMatrixSpectrum(), NuMatrixCPT::NuMatrixCPT(), NuMatrix2D::ScaleToPOT(), and NuMatrix1D::ScaleToPOT(). 00080 { return fPot; }
|
|
|
Definition at line 83 of file NuMatrix.h. 00083 { Scale(factor); }
|
|
|
Implemented in NuMatrix1D, NuMatrix2D, and NuMatrixCPT. |
|
||||||||||||
|
Implemented in NuMatrix1D, NuMatrix2D, and NuMatrixCPT. |
|
|
Make a correction by Multiplying.
Implemented in NuMatrix1D, NuMatrix2D, and NuMatrixCPT. Referenced by NuMatrixCPT::Multiply(). |
|
||||||||||||
|
Implemented in NuMatrix1D, NuMatrix2D, and NuMatrixCPT. Referenced by NuMatrixCPT::Oscillate(). |
|
|
Implemented in NuMatrix1D, NuMatrix2D, and NuMatrixCPT. Referenced by NuMatrixCPT::RecoToTrue(). |
|
|
Sets the POT count directly, without scaling.
Reimplemented in NuMatrixCPT. Definition at line 77 of file NuMatrix.h. Referenced by NuMatrix1D::NuMatrix1D(), NuMatrix1D::operator=(), NuMatrixCPT::ResetPOT(), NuMatrix2D::ScaleToPOT(), and NuMatrix1D::ScaleToPOT(). 00077 { fPot = new_POT; }
|
|
|
Scales the Matrix, without changing the POT.
Implemented in NuMatrix1D, NuMatrix2D, and NuMatrixCPT. Referenced by NuMatrixCPT::Scale(). |
|
|
Changes the POT, by scaling the data.
Implemented in NuMatrix1D, NuMatrix2D, and NuMatrixCPT. Referenced by NuMatrixCPT::ScaleToPOT(). |
|
|
Implemented in NuMatrix1D, NuMatrix2D, and NuMatrixCPT. Referenced by NuMatrixCPT::SetValue(). |
|
|
Returns a TH1 object representing the data the spectrum holds. Or zero.
Implemented in NuMatrix1D, NuMatrix2D, and NuMatrixCPT. |
|
|
Compares two NuMatrix objects and returns the LL difference.
Implemented in NuMatrix1D, NuMatrix2D, and NuMatrixCPT. Referenced by NuMatrixCPT::StatsLikelihood(). |
|
|
Implemented in NuMatrix1D, NuMatrix2D, and NuMatrixCPT. Referenced by NuMatrixCPT::TrueToReco(). |
|
|
Writes to the current file.
Implemented in NuMatrix1D, NuMatrix2D, and NuMatrixCPT. Referenced by NuMatrixCPT::Write(). |
|
|
The POT for this Matrix. May be zero.
Definition at line 87 of file NuMatrix.h. |
1.3.9.1