Open PaperOpt
OpenPaperOpt/DetectorArs.h
Go to the documentation of this file.
00001 // DetectorArs .h: interface for the DetectorArs class.
00002 //
00004 
00005 #if ! defined(AFX_DetectorArs_H__B870ABE7_44CE_11D7_B8FD_00C04F72C362__INCLUDED_)
00006 #define AFX_DetectorArs_H__B870ABE7_44CE_11D7_B8FD_00C04F72C362__INCLUDED_
00007 
00008 #if _MSC_VER >= 1000
00009 #pragma once
00010 #endif // _MSC_VER >= 1000
00011 
00012 #include "Detector.h"
00013 #include "Output.h"
00014 
00015 
00023 class DetectorArs : public Detector  
00024 {
00025 public:
00026 
00030         DetectorArs ();
00031 
00035         virtual ~DetectorArs ();
00036 
00054         DetectorArs (int reftra,int apt_type,float apt_diameter,float distance,
00055                 float theta_max,float theta_min,float theta_step,
00056                 int theta_nbr,float phi_max,float phi_min,
00057                 float phi_step,int phi_nbr, int nbr_lambda,Detector * el);
00064         virtual int Process(WavePacket &wp, int up_down, int internal) const;
00065 
00072         virtual int WriteResults2(std::vector<double> power_inc, IO::Output& rOutput) const;
00073 
00074 private:
00075         float mThetaMax, mThetaMin, mThetaStep, mPhiMax, mPhiMin, mPhiStep;
00076         int mThetaNbr, mPhiNbr;
00077         double mAptFov;
00078         double  *mArsDetector;
00079         double  *mArsDetectorSurf;
00080         double  *mArsDetectorS;
00081         double  *mArsDetectorP;
00082         double  *mArsDetectorSurfS;
00083         double  *mArsDetectorSurfP;
00084 };
00085 
00086 #endif