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 GetPHelectron () const
double GetPHpositron () const
double GetPHneutron () const
double GetPHthallium () const
double GetPHbismuth () const
double GetPHcalifornium () const
double GetPHmuon () const
double GetPHeleReco () const
double GetPHposReco () const
double GetPHneuReco () const
double GetPHthaReco () const
double GetPHbisReco () const
double GetPHcalReco () const
double GetPHmuoReco () const
double GetMeanNpePos () const
double GetMeanQPos () const
double GetMeanAttenPos () const
double GetMeanSfactorPos () const
double GetMeanNpeNeu () const
double GetMeanQNeu () const
double GetMeanAttenNeu () const
double GetMeanSfactorNeu () const
double GetMeanNpeTl () const
double GetMeanQTl () const
double GetMeanAttenTl () const
double GetMeanSfactorTl () const
double GetMeanNpeBi () const
double GetMeanQBi () const
double GetMeanAttenBi () const
double GetMeanSfactorBi () const
double GetMeanNpeCf () const
double GetMeanQCf () const
double GetMeanAttenCf () const
double GetMeanSfactorCf () const
double GetMeanNpeMuon () const
double GetMeanQMuon () const
double GetMeanAttenMuon () const
double GetMeanSfactorMuon () const
double GetMeanNpeEle () const
double GetMeanQEle () const
double GetMeanAttenEle () const
double GetMeanSfactorEle () const
double GetHitFracEle ()
double GetHitFracPos ()
double GetHitFracNeu ()
double GetHitFracTl ()
double GetHitFracBi ()
double GetHitFracCf ()
double GetHitFracMuon ()
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 (std::string parent)
void GetGamma (std::string parent, double *xyz)
void GetGamma (std::string 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 &nele, double *PHele, double *Tele, int &npos, double *PHpos, double *Tpos, int &nneu, double *PHneu, double *Tneu, int &ntha, double *PHtha, double *Ttha, int &nbis, double *PHbis, double *Tbis, int &ncal, double *PHcal, double *Tcal, int &nmuo, double *PHmuo, double *Tmuo, int *npepos, int *npeneu, int *npetha, int *npebis, int *npecal, int *npemuo, int *npeele)
int ReactorDetector::GetHitPMTsPos ()
int ReactorDetector::GetHitPMTsNeu ()
int ReactorDetector::GetHitPMTsTha ()
int ReactorDetector::GetHitPMTsBis ()
int ReactorDetector::GetHitPMTsCal ()
int ReactorDetector::GetHitPMTsMuo ()
int ReactorDetector::GetHitPMTsEle ()
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 24 of file ReactorDetector.cpp.

00024                                 {
00025   //
00026   // initialize PMT arrays
00027   //
00028   Xpmt = new double[0];
00029   Ypmt = new double[0];
00030   Zpmt = new double[0];
00031   PMTdata = new PMT[0];
00032   PMTelectron = new PMT[0];
00033   PMTpositron = new PMT[0];
00034   PMTneutron = new PMT[0];
00035   PMTthallium = new PMT[0];
00036   PMTbismuth = new PMT[0];
00037   PMTcalifornium = new PMT[0];
00038   PMTmuon = new PMT[0];
00039   //
00040   // Set parameters
00041   //
00042   SetNominalParameters();
00043   SetPMT();
00044   SetNeutronPropStuff();
00045   //
00046   // initialize gamma arrays
00047   //
00048   Ngamma = 0;
00049   Rgamma = new double[Ngamma];
00050   Egamma = new double[Ngamma];
00051   Tgamma = new double[Ngamma];
00052   Ogamma = new std::string[Ngamma];
00053   //
00054   // initialize PMT charge spectrum
00055   //
00056   float Qlo = 0.001;
00057   float Qhi = 10.0;
00058   funlxp_(QSpectrum,Qspace,Qlo,Qhi);
00059 
00060   Nneutron = 0;
00061   Absorber = new double[Nneutron];
00062   NeutronSteps = new double[Nneutron];
00063 
00064   pmtRadCount = 0;
00065 }


The documentation for this class was generated from the following files:
Generated on Mon Dec 27 11:10:15 2004 for ReactorFsim by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002