Main Page   Compound List   File List   Compound Members   File Members  

ReactorDetector Class Reference

ReactorDetector handles the detector implementation in the ReactorFsim simulation. More...

#include <ReactorDetector.hh>

List of all members.

Public Methods

 ReactorDetector ()
 ReactorDetector constructor. More...

 ~ReactorDetector ()
 ReactorDetector destructor.

 ReactorDetector (const ReactorDetector &Detector)
 ReactorDetector copy constructor.

ReactorDetector & operator= (const ReactorDetector &rhs)
 ReactorDetector overloaded = operator.

void LightsOut (ReactorEvent &Event)
double GetPHpositron () const
double GetPHneutron () const
double GetPHposReco () const
double GetPHneuReco () const
double GetMeanNpePos () const
double GetMeanAttenPos () const
double GetMeanSfactorPos () const
double GetMeanNpeNeu () const
double GetMeanAttenNeu () const
double GetMeanSfactorNeu () const
double GetHitFracPos ()
double GetHitFracNeu ()
double GetAbsorber (int &n) const
double GetNeutronSteps (int &n) const
int GetNcosbins () const
int GetNphibins () const
int GetNgamma () const
double *const GetEgamma ()
double *const GetTgamma ()
int GetNgamma (char parent)
void GetGamma (char parent, double *xyz)
void GetGamma (char parent, double *e, double *t, double *r, double *c, double *f)
double *const GetPositronDipole ()
double *const GetNeutronDipole ()
int GetNpmt () const
void ReactorDetector::GetPMTdata (int npmt, double *XYZpmt, int &npos, double *PHpos, double *Tpos, int &nneu, double *PHneu, double *Tneu)
void SetParam_R0 (double x)
void SetParam_R1 (double x)
void SetParam_R2 (double x)
void SetParam_GdConcentration (double x)
void SetParam_refracGd (double x)
void SetParam_refracSc (double x)
void SetParam_mfpGd (double x)
void SetParam_mfpSc (double x)
void SetParam_MeanNeuDispl (double x)
void SetParam_FastNeutronOption (bool x)
void SetParam_Temperature (double x)
void SetParam_tGd (double x)
void SetParam_tSc (double x)
void SetParam_GdCaptureFraction (double x)
void SetParam_GammasPerGd (double x)
void SetParam_attenlGd (double x)
void SetParam_attenlSc (double x)
void SetParam_PhotonsPerMeV (double x)
void SetParam_PMTcoverage (double x)
void SetParam_PMTdiameter (double x)
void SetParam_PMTqe (double x)
void SetParam_ScintDecayTime (double x)


Detailed Description

ReactorDetector handles the detector implementation in the ReactorFsim simulation.

The constructor creates a spherical three-zone detector. The member function LightsOut simulates the events in the detector.

Definition at line 21 of file ReactorDetector.hh.


Constructor & Destructor Documentation

ReactorDetector::ReactorDetector  
 

ReactorDetector constructor.

Called by ReactorFsim to simulate a spherical, three-zone detector. All of the PMT and gamma arrays are initialized and the nominal detector parameters are set (by SetNominalParameters) and the PMTs are arrayed (by SetPMT).

Definition at line 23 of file ReactorDetector.cpp.

00023                                 {
00024   //
00025   // initialize PMT arrays
00026   //
00027   Xpmt = new double[0];
00028   Ypmt = new double[0];
00029   Zpmt = new double[0];
00030   PMTdata = new PMT[0];
00031   PMTpositron = new PMT[0];
00032   PMTneutron = new PMT[0];
00033   //
00034   // Set parameters
00035   //
00036   SetNominalParameters();
00037   SetPMT();
00038   //
00039   // initialize gamma arrays
00040   //
00041   Ngamma = 0;
00042   Rgamma = new double[Ngamma];
00043   Egamma = new double[Ngamma];
00044   Tgamma = new double[Ngamma];
00045   Ogamma = new char[Ngamma];
00046 
00047   Nneutron = 0;
00048   Absorber = new double[Nneutron];
00049   NeutronSteps = new double[Nneutron];
00050 
00051   pmtRadCount = 0;
00052 }


The documentation for this class was generated from the following files:
Generated on Thu Jul 29 14:27:04 2004 for ReactorFsim by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002