Open PaperOpt
DetectorWp Class Reference

#include <DetectorWp.h>

Inheritance diagram for DetectorWp:
Collaboration diagram for DetectorWp:

List of all members.

Public Member Functions

 DetectorWp (Detector *el)
virtual ~DetectorWp ()
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

Constructor & Destructor Documentation

DetectorWp::DetectorWp ( Detector el)

New Constructor.

Parameters:
elpointer to the previous detector.
DetectorWp::~DetectorWp ( ) [virtual]

Destructor.


Member Function Documentation

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

Process the wave packet.

Parameters:
wpInstance of wavepacket.
up_down.

Reimplemented from Detector.

Here is the call graph for this function:

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

Reimplemented from Detector.

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

New output method. 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.


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