NuFCDelegateOutput Class Reference

#include <NuFCDelegate.h>

Inheritance diagram for NuFCDelegateOutput:
NuFCDelegate

List of all members.

Public Member Functions

void StartRunning (Int_t experiments)
void GotBestFit (const NuMMParameters &bestFit, Double_t chi2)
 Called once we have generated a best fit.
void StartExperiment (Int_t experiment)
 Called when we start a new experiment.
void GotDeltaChi2 (const NuMMParameters &bestFit, Double_t deltaChi2)
 Called when we have the final answer.

Detailed Description

Definition at line 167 of file NuFCDelegate.h.


Member Function Documentation

void NuFCDelegateOutput::GotBestFit ( const NuMMParameters bestFit,
Double_t  chi2 
) [virtual]

Called once we have generated a best fit.

Reimplemented from NuFCDelegate.

Definition at line 440 of file NuFCDelegate.cxx.

References NuMMParameters::Dm2(), NuMMParameters::Dm2Bar(), Msg::kInfo, MSG, NuMMParameters::Sn2(), and NuMMParameters::Sn2Bar().

00441 {
00442   MSG("NuFCDelegateOutput",Msg::kInfo)
00443     << "Got best fit with Chi2: " << chi2 << ":" << endl;
00444   MSG("NuFCDelegateOutput",Msg::kInfo)
00445     << "  Dm2:" << bestFit.Dm2() << ", Sn2: " << bestFit.Sn2()
00446     << ", Dm2Bar: " << bestFit.Dm2Bar() << ", Sn2Bar: " << bestFit.Sn2Bar()
00447     << endl;
00448   
00449   // bestFit.PrintStatus();
00450 }

void NuFCDelegateOutput::GotDeltaChi2 ( const NuMMParameters bestFit,
Double_t  deltaChi2 
) [virtual]

Called when we have the final answer.

Reimplemented from NuFCDelegate.

Definition at line 454 of file NuFCDelegate.cxx.

References Msg::kInfo, and MSG.

00455 {
00456   MSG("NuFCDelegateOutput",Msg::kInfo) << "Chi2 from truth to Best Fit: " << deltaChi2 << endl;
00457 }

void NuFCDelegateOutput::StartExperiment ( Int_t  experiment  )  [virtual]

Called when we start a new experiment.

Reimplemented from NuFCDelegate.

Definition at line 429 of file NuFCDelegate.cxx.

References Msg::kInfo, and MSG.

00430 {
00431   MSG("NuFCDelegateOutput",Msg::kInfo)
00432     << "////////////////////////////////////////////////////////////////////////\n"
00433     << "Running Experiment " << experiment << endl;
00434   MSG("NuFCDelegateOutput",Msg::kInfo)
00435     << "Random Calls: " << gRandom->Binomial(0,0) << endl;
00436 }

void NuFCDelegateOutput::StartRunning ( Int_t  experiments  )  [virtual]

Called when we start running experiments.

Parameters:
experiments How many experiments we have been asked to run

Reimplemented from NuFCDelegate.

Definition at line 422 of file NuFCDelegate.cxx.

References Msg::kInfo, and MSG.

00423 {
00424   MSG("NuFCDelegateOutput",Msg::kInfo) << "Starting " << experiments << " experiments" << endl;
00425 }


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

Generated on 3 Oct 2018 for loon by  doxygen 1.6.1