1 | #ifndef MARS_MMcCorsikaRunHeader
|
---|
2 | #define MARS_MMcCorsikaRunHeader
|
---|
3 | ///////////////////////////////////////////////////////////////////////
|
---|
4 | // //
|
---|
5 | // MMcCorsikaRunHeader //
|
---|
6 | // //
|
---|
7 | ///////////////////////////////////////////////////////////////////////
|
---|
8 | #ifndef MARS_MParContainer
|
---|
9 | #include "MParContainer.h"
|
---|
10 | #endif
|
---|
11 |
|
---|
12 |
|
---|
13 | class MMcCorsikaRunHeader : public MParContainer
|
---|
14 | {
|
---|
15 | private:
|
---|
16 | // Header copied directly from CORSIKA header, skiping dummy values.
|
---|
17 | // The propouse of this container is being able to cmopare with
|
---|
18 | // Corsika run Header
|
---|
19 | // See CORSIKA manual for explanations
|
---|
20 | Float_t fRunNumber;
|
---|
21 | Float_t fDate;
|
---|
22 | Float_t fCorsikaVersion;
|
---|
23 | Float_t fNumObsLev;
|
---|
24 | Float_t fHeightLev[10];
|
---|
25 | Float_t fSlopeSpec; // Slope of primaries' energy spectrum
|
---|
26 | Float_t fELowLim;
|
---|
27 | Float_t fEUppLim; // Limits of energy range for generation
|
---|
28 | Float_t fEGS4flag;
|
---|
29 | Float_t fNKGflag;
|
---|
30 | Float_t fEcutoffh;
|
---|
31 | Float_t fEcutoffm;
|
---|
32 | Float_t fEcutoffe;
|
---|
33 | Float_t fEcutoffg;
|
---|
34 |
|
---|
35 | // Physical constants and interaction flags (see CORSIKA manual):
|
---|
36 | Float_t fC[50];
|
---|
37 | Float_t fCKA[40];
|
---|
38 | Float_t fCETA[5];
|
---|
39 | Float_t fCSTRBA[11];
|
---|
40 | Float_t fAATM[5];
|
---|
41 | Float_t fBATM[5];
|
---|
42 | Float_t fCATM[5];
|
---|
43 | Float_t fNFL[4];
|
---|
44 |
|
---|
45 | Float_t fWobbleMode; // Indicates wobble mode with which
|
---|
46 | // reflector has been run
|
---|
47 | Float_t fAtmosphericModel; // Indicates atmospheric model used in
|
---|
48 | // absorption simulation. 0 = no atmosphere,
|
---|
49 | // 1 = atm_90percent, 2 = atm_isothermal,
|
---|
50 | // 3 = atm_corsika.
|
---|
51 |
|
---|
52 | public:
|
---|
53 | MMcCorsikaRunHeader(const char *name=NULL, const char *title=NULL);
|
---|
54 |
|
---|
55 | void Fill(const Float_t runnumber,
|
---|
56 | const Float_t date,
|
---|
57 | const Float_t vers,
|
---|
58 | const Float_t fNumObsLev,
|
---|
59 | const Float_t height[10],
|
---|
60 | const Float_t slope,
|
---|
61 | const Float_t elow,
|
---|
62 | const Float_t eupp,
|
---|
63 | const Float_t egs4,
|
---|
64 | const Float_t nkg,
|
---|
65 | const Float_t eh,
|
---|
66 | const Float_t em,
|
---|
67 | const Float_t ee,
|
---|
68 | const Float_t eg,
|
---|
69 | const Float_t c[50],
|
---|
70 | const Float_t cka[40],
|
---|
71 | const Float_t ceta[5],
|
---|
72 | const Float_t cstrba[11],
|
---|
73 | const Float_t aatm[5],
|
---|
74 | const Float_t batm[5],
|
---|
75 | const Float_t catm[5],
|
---|
76 | const Float_t nfl[4],
|
---|
77 | const Float_t wobble,
|
---|
78 | const Float_t atmospher
|
---|
79 | );
|
---|
80 |
|
---|
81 | Float_t GetELowLim() const { return fELowLim; }
|
---|
82 | Float_t GetEUppLim() const { return fEUppLim; }
|
---|
83 | Float_t GetSlopeSpec() const { return fSlopeSpec; }
|
---|
84 |
|
---|
85 | ClassDef(MMcCorsikaRunHeader, 2) // storage container for corsika setup information
|
---|
86 | };
|
---|
87 | #endif
|
---|
88 |
|
---|
89 |
|
---|
90 |
|
---|