Last change
on this file since 9029 was 5110, checked in by moralejo, 20 years ago |
Commited to CVS all changes to adapt headers to current C++ syntaxis
|
File size:
529 bytes
|
Line | |
---|
1 | ////////////////////////////////////////////////////////////////////
|
---|
2 | // Declaration of the class photon which will be inherited from the
|
---|
3 | // class star.
|
---|
4 | /////////////////////////////////////////////////////////////////////////
|
---|
5 |
|
---|
6 |
|
---|
7 | #ifndef _PHOTON_H_
|
---|
8 | #define _PHOTON_H_
|
---|
9 |
|
---|
10 | #include <math.h>
|
---|
11 | #include <iostream>
|
---|
12 | #include <stdlib.h>
|
---|
13 |
|
---|
14 |
|
---|
15 | class photon {
|
---|
16 |
|
---|
17 | public:
|
---|
18 |
|
---|
19 | float u;
|
---|
20 | float v;
|
---|
21 | int starnum;
|
---|
22 | float lambda_nm;
|
---|
23 | float arrtime_sec;
|
---|
24 | float x_m;
|
---|
25 | float y_m;
|
---|
26 |
|
---|
27 |
|
---|
28 | photon(); //Constructor function.
|
---|
29 |
|
---|
30 | };
|
---|
31 |
|
---|
32 |
|
---|
33 | #endif
|
---|
34 |
|
---|
35 |
|
---|
36 |
|
---|
37 |
|
---|
38 |
|
---|
39 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.