source: trunk/WuerzburgSoft/Thomas/mphys/MGenIRPhoton.h@ 9029

Last change on this file since 9029 was 1349, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 451 bytes
Line 
1#ifndef MARS_MGenIRPhoton
2#define MARS_MGenIRPhoton
3
4#ifndef ROOT_TRandom
5#include <TRandom.h>
6#endif
7
8class TF1;
9class MParticle;
10
11class MGenIRPhoton
12{
13private:
14 TF1 *fSrc;
15
16 TRandom fRand;
17
18 Double_t fZ;
19
20 static Double_t Planck(Double_t *x, Double_t *k=NULL);
21
22public:
23 MGenIRPhoton();
24 virtual ~MGenIRPhoton();
25
26 void SetZ(Double_t z) { fZ = z; }
27
28 MParticle *GetRandom();
29
30 ClassDef(MGenIRPhoton, 0) //
31};
32
33#endif
34
Note: See TracBrowser for help on using the repository browser.