Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

TimeDepSpectrum.cxx

Go to the documentation of this file.
00001 #include "TimeDepSpectrum.h"
00002 // define a factory for anonomous instantiation
00003 #include "../../SpectrumFactory.h"
00004 
00005 static SpectrumFactory<TimeDepSpectrum> factory;
00006 const ISpectrumFactory& TimeDepSpectrumFactory = factory;
00007 
00009 /*double TimeDepSpectrum::flux() const{
00010        double time = (GPS::instance()->time());
00011        if(time<=2.) return 1;
00012        return 0;
00013    }
00014   */ 
00016    double TimeDepSpectrum::flux(double time)const{
00017        if(time<=0.04) {return 1;}
00018        return 0;
00019    }

Generated on Wed Oct 16 14:01:31 2002 by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001