| Line | |
|---|
| 1 | #ifndef MARS_MPhoton
|
|---|
| 2 | #define MARS_MPhoton
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MParticle
|
|---|
| 5 | #include "MParticle.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class MPhoton : public MParticle
|
|---|
| 9 | {
|
|---|
| 10 | public:
|
|---|
| 11 |
|
|---|
| 12 | MPhoton(Double_t e=0, Double_t z=0)
|
|---|
| 13 | : MParticle(MParticle::kEGamma)
|
|---|
| 14 | {
|
|---|
| 15 | fEnergy = e;
|
|---|
| 16 | fZ = z;
|
|---|
| 17 | }
|
|---|
| 18 |
|
|---|
| 19 | void operator=(MParticle &p) { MParticle::operator=(p); }
|
|---|
| 20 |
|
|---|
| 21 | // ----------------------------------------------------------------
|
|---|
| 22 |
|
|---|
| 23 | static Double_t Planck(Double_t *x, Double_t *k=NULL);
|
|---|
| 24 | static Double_t Sigma_gg(Double_t *x, Double_t *k=NULL);
|
|---|
| 25 | static Double_t Int1(Double_t *x, Double_t *k=NULL);
|
|---|
| 26 | static Double_t Int2(Double_t *x, Double_t *k);
|
|---|
| 27 | static Double_t InteractionLength(Double_t *x, Double_t *k=NULL);
|
|---|
| 28 | static Double_t GetInteractionLength(Double_t energy, Double_t z=0);
|
|---|
| 29 |
|
|---|
| 30 | Double_t GetInteractionLength() const;
|
|---|
| 31 |
|
|---|
| 32 | // ----------------------------------------------------------------
|
|---|
| 33 |
|
|---|
| 34 | static void DrawInteractionLength(Double_t z);
|
|---|
| 35 | void DrawInteractionLength() const;
|
|---|
| 36 |
|
|---|
| 37 | ClassDef(MPhoton, 1)
|
|---|
| 38 | };
|
|---|
| 39 |
|
|---|
| 40 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.