| Line | |
|---|
| 1 | #ifndef MARS_MGenIRPhoton
|
|---|
| 2 | #define MARS_MGenIRPhoton
|
|---|
| 3 |
|
|---|
| 4 | #ifndef ROOT_TRandom
|
|---|
| 5 | #include <TRandom.h>
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class TF1;
|
|---|
| 9 | class MParticle;
|
|---|
| 10 |
|
|---|
| 11 | class MGenIRPhoton
|
|---|
| 12 | {
|
|---|
| 13 | private:
|
|---|
| 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 |
|
|---|
| 22 | public:
|
|---|
| 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.