Open PaperOpt
DetectorElrepho Class Reference

#include <DetectorElrepho.h>

Inheritance diagram for DetectorElrepho:
Collaboration diagram for DetectorElrepho:

List of all members.

Public Member Functions

 DetectorElrepho ()
virtual ~DetectorElrepho ()
 DetectorElrepho (std::string filename, Detector *el, std::vector< float > lambda)
virtual int Process (WavePacket &wp, int up_down, int internal) const
virtual int WriteResults (int power_inc) const
virtual int WriteResults2 (std::vector< double > power_inc, IO::Output &rOutput) const

Protected Attributes

double mAccAngle
double mCosAccAngle
double mScalFactor

Constructor & Destructor Documentation

DetectorElrepho::DetectorElrepho ( )

New Constructor.

DetectorElrepho::~DetectorElrepho ( ) [virtual]

Destructor.

DetectorElrepho::DetectorElrepho ( std::string  filename,
Detector el,
std::vector< float >  lambda 
)

Member Function Documentation

int DetectorElrepho::Process ( WavePacket wp,
int  up_down,
int  internal 
) const [virtual]

Return reflectance factor.

Parameters:
wpInstance of wavepacket.
up_down.

Reimplemented from Detector.

Here is the call graph for this function:

int DetectorElrepho::WriteResults ( int  power_inc) const [virtual]

Reimplemented from Detector.

int DetectorElrepho::WriteResults2 ( std::vector< double >  power_inc,
IO::Output rOutput 
) const [virtual]

New method for writing results, this will use the output class. Writes results as XML to the results file in rOutput.

Parameters:
rOutputreference to an Output object.
power_incnumber of wavepackets that don't have error state.

Reimplemented from Detector.

Here is the call graph for this function:


Member Data Documentation

double DetectorElrepho::mAccAngle [protected]
Parameters:
mAccAnglemember vairabie to measure Angle.
mCosAccAnglemember variable to measure cosine of angle.
mScalFactormember variable to measure scales.
double DetectorElrepho::mCosAccAngle [protected]
double DetectorElrepho::mScalFactor [protected]

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