OscFit::GridPoint Class Reference

#include <GridPoint.h>

List of all members.

Public Member Functions

 GridPoint ()
virtual ~GridPoint ()
 GridPoint (Double_t setDMSq12, Double_t setDMSq23, Double_t setTheta12, Double_t setTheta23, Double_t setTheta13, Double_t setDeltaCP)
void SetParams (Double_t setDMSq12, Double_t setDMSq23, Double_t setTheta12, Double_t setTheta23, Double_t setTheta13, Double_t setDeltaCP)
void SetParams (Double_t setDMSq, Double_t setTheta23, Double_t setTheta13, Double_t setDeltaCP)
void PrintParams ()
void SetDMSq12 (Double_t d)
void SetDMSq23 (Double_t d)
void SetTheta12 (Double_t d)
void SetTheta23 (Double_t d)
void SetTheta13 (Double_t d)
void SetDeltaCP (Double_t d)
Double_t GetDMSq12 ()
Double_t GetDMSq23 ()
Double_t GetTheta12 ()
Double_t GetTheta23 ()
Double_t GetTheta13 ()
Double_t GetDeltaCP ()
Double_t GetHierarchy ()
Bool_t Oscillations ()

Private Attributes

Double_t fDMSq12
Double_t fDMSq23
Double_t fTheta12
Double_t fTheta23
Double_t fTheta13
Double_t fDeltaCP

Detailed Description

Definition at line 8 of file GridPoint.h.


Constructor & Destructor Documentation

GridPoint::GridPoint (  ) 

Definition at line 12 of file GridPoint.cxx.

References OscFit::DeltaCP(), OscFit::DMSq12(), OscFit::DMSq23(), OscFit::Theta12(), OscFit::Theta13(), and OscFit::Theta23().

00013 {
00014   this->SetParams( OscFit::DMSq12(),
00015                    OscFit::DMSq23(),
00016                    OscFit::Theta12(),
00017                    OscFit::Theta23(),
00018                    OscFit::Theta13(),
00019                    OscFit::DeltaCP() );
00020 }

GridPoint::~GridPoint (  )  [virtual]

Definition at line 22 of file GridPoint.cxx.

00023 {
00024 
00025 }

GridPoint::GridPoint ( Double_t  setDMSq12,
Double_t  setDMSq23,
Double_t  setTheta12,
Double_t  setTheta23,
Double_t  setTheta13,
Double_t  setDeltaCP 
)

Definition at line 27 of file GridPoint.cxx.

References SetParams().

00028 {
00029   this->SetParams( setDMSq12, 
00030                    setDMSq23, 
00031                    setTheta12, 
00032                    setTheta23, 
00033                    setTheta13, 
00034                    setDeltaCP );
00035 }


Member Function Documentation

Double_t OscFit::GridPoint::GetDeltaCP (  )  [inline]

Definition at line 47 of file GridPoint.h.

References fDeltaCP.

Referenced by OscFit::Oscillation::SetParams().

00047 { return fDeltaCP; }

Double_t OscFit::GridPoint::GetDMSq12 (  )  [inline]

Definition at line 42 of file GridPoint.h.

References fDMSq12.

Referenced by OscFit::Oscillation::SetParams().

00042 { return fDMSq12;  }

Double_t OscFit::GridPoint::GetDMSq23 (  )  [inline]

Definition at line 43 of file GridPoint.h.

References fDMSq23.

Referenced by OscFit::Oscillation::SetParams().

00043 { return fDMSq23;  }

Double_t OscFit::GridPoint::GetHierarchy (  )  [inline]

Definition at line 51 of file GridPoint.h.

References fDMSq23.

00051 { return (fDMSq23>=0.0)?+1.0:-1.0; }

Double_t OscFit::GridPoint::GetTheta12 (  )  [inline]

Definition at line 44 of file GridPoint.h.

References fTheta12.

Referenced by OscFit::Oscillation::SetParams().

00044 { return fTheta12; }

Double_t OscFit::GridPoint::GetTheta13 (  )  [inline]

Definition at line 46 of file GridPoint.h.

References fTheta13.

Referenced by OscFit::Oscillation::SetParams().

00046 { return fTheta13; }

Double_t OscFit::GridPoint::GetTheta23 (  )  [inline]

Definition at line 45 of file GridPoint.h.

References fTheta23.

Referenced by OscFit::Oscillation::SetParams().

00045 { return fTheta23; }

Bool_t GridPoint::Oscillations (  ) 

Definition at line 77 of file GridPoint.cxx.

References fDeltaCP, fDMSq12, fDMSq23, fTheta12, fTheta13, and fTheta23.

Referenced by OscFit::TemplatesForBeamData::GetOscProb3Flav(), and OscFit::EventCalculator::GetOscProb3Flav().

00078 {
00079   if( fDMSq12==0  && fDMSq23==0 
00080    && fTheta12==0 && fTheta23==0 
00081    && fTheta13==0 && fDeltaCP==0 ) return false;
00082   else                             return true;
00083 }

void GridPoint::PrintParams (  ) 

Definition at line 68 of file GridPoint.cxx.

References fDeltaCP, fDMSq12, fDMSq23, fTheta12, fTheta13, and fTheta23.

Referenced by OscFit::TemplatesForBeamData::BuildFakeData(), OscFit::TemplateMaker::BuildFakeData(), OscFit::TemplateGrid::PrintGridPoints(), and OscFit::TemplateGrid::PrintTemplates().

00069 {
00070   std::cout << " " 
00071             << "|dmsq12=" << fDMSq12 << "|dmsq23=" << fDMSq23 
00072             << "|th12=" << fTheta12 << "|th23=" << fTheta23 << "|th13=" << fTheta13 
00073             << "|dcp=" << fDeltaCP << "|" << std::endl;
00074   return;
00075 }

void OscFit::GridPoint::SetDeltaCP ( Double_t  d  )  [inline]

Definition at line 40 of file GridPoint.h.

References fDeltaCP.

00040 { fDeltaCP = d; }

void OscFit::GridPoint::SetDMSq12 ( Double_t  d  )  [inline]

Definition at line 35 of file GridPoint.h.

References fDMSq12.

00035 { fDMSq12  = d; }

void OscFit::GridPoint::SetDMSq23 ( Double_t  d  )  [inline]

Definition at line 36 of file GridPoint.h.

References fDMSq23.

00036 { fDMSq23  = d; }

void GridPoint::SetParams ( Double_t  setDMSq,
Double_t  setTheta23,
Double_t  setTheta13,
Double_t  setDeltaCP 
)

Definition at line 47 of file GridPoint.cxx.

References OscFit::DMSq12(), fDeltaCP, fDMSq12, fDMSq23, fTheta12, fTheta13, fTheta23, and OscFit::Theta12().

00048 {
00049   if( setDMSq==0 ){ // no oscillations
00050     fDMSq12   = 0.0;
00051     fDMSq23   = 0.0;
00052     fTheta12  = 0.0;
00053     fTheta23  = 0.0;
00054     fTheta13  = 0.0;
00055     fDeltaCP  = 0.0;
00056   }
00057 
00058   else { // oscillations
00059     fDMSq12   = OscFit::DMSq12();
00060     fDMSq23   = setDMSq - 0.5*OscFit::DMSq12();
00061     fTheta12  = OscFit::Theta12();
00062     fTheta23  = setTheta23;
00063     fTheta13  = setTheta13;
00064     fDeltaCP  = setDeltaCP;
00065   }
00066 }

void GridPoint::SetParams ( Double_t  setDMSq12,
Double_t  setDMSq23,
Double_t  setTheta12,
Double_t  setTheta23,
Double_t  setTheta13,
Double_t  setDeltaCP 
)

Definition at line 37 of file GridPoint.cxx.

References fDeltaCP, fDMSq12, fDMSq23, fTheta12, fTheta13, and fTheta23.

Referenced by OscFit::TemplatesForBeamData::BuildFakeData(), OscFit::TemplateMaker::BuildFakeData(), OscFit::TemplateGrid::GetGridPointThreeFlavours(), OscFit::TemplateGrid::GetGridPointTwoFlavours(), and GridPoint().

00038 {
00039   fDMSq12   = setDMSq12;
00040   fDMSq23   = setDMSq23;
00041   fTheta12  = setTheta12;
00042   fTheta23  = setTheta23;
00043   fTheta13  = setTheta13;
00044   fDeltaCP  = setDeltaCP;
00045 }

void OscFit::GridPoint::SetTheta12 ( Double_t  d  )  [inline]

Definition at line 37 of file GridPoint.h.

References fTheta12.

00037 { fTheta12 = d; }

void OscFit::GridPoint::SetTheta13 ( Double_t  d  )  [inline]

Definition at line 39 of file GridPoint.h.

References fTheta13.

00039 { fTheta13 = d; }

void OscFit::GridPoint::SetTheta23 ( Double_t  d  )  [inline]

Definition at line 38 of file GridPoint.h.

References fTheta23.

00038 { fTheta23 = d; }


Member Data Documentation

Double_t OscFit::GridPoint::fDeltaCP [private]

Definition at line 62 of file GridPoint.h.

Referenced by GetDeltaCP(), Oscillations(), PrintParams(), SetDeltaCP(), and SetParams().

Double_t OscFit::GridPoint::fDMSq12 [private]

Definition at line 57 of file GridPoint.h.

Referenced by GetDMSq12(), Oscillations(), PrintParams(), SetDMSq12(), and SetParams().

Double_t OscFit::GridPoint::fDMSq23 [private]

Definition at line 58 of file GridPoint.h.

Referenced by GetDMSq23(), GetHierarchy(), Oscillations(), PrintParams(), SetDMSq23(), and SetParams().

Double_t OscFit::GridPoint::fTheta12 [private]

Definition at line 59 of file GridPoint.h.

Referenced by GetTheta12(), Oscillations(), PrintParams(), SetParams(), and SetTheta12().

Double_t OscFit::GridPoint::fTheta13 [private]

Definition at line 61 of file GridPoint.h.

Referenced by GetTheta13(), Oscillations(), PrintParams(), SetParams(), and SetTheta13().

Double_t OscFit::GridPoint::fTheta23 [private]

Definition at line 60 of file GridPoint.h.

Referenced by GetTheta23(), Oscillations(), PrintParams(), SetParams(), and SetTheta23().


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

Generated on 16 Apr 2018 for loon by  doxygen 1.6.1