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, int eventnum)
void CleanPMTOutputArray ()
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 GetRefracSc () 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)
void ReactorDetector::GetPMTdata (std::string parent, int pmtindex, double *XYZpmt, int *hits, double *PH, double *Q, double *Time, int *npe)
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_PMTDebugOption (bool x)
void SetParam_PMTMergeTime (double 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)
double * TranslateRadialDistance (double, double, double, double)

Friends

class PMToutput


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 23 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 26 of file ReactorDetector.cpp.

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


The documentation for this class was generated from the following files:
Generated on Mon Feb 21 16:11:20 2005 for ReactorFsim by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002