source: trunk/MagicSoft/include-Classes/MMcFormat/MMcCorsikaRunHeader.h@ 1705

Last change on this file since 1705 was 1632, checked in by tbretz, 22 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 2.4 KB
Line 
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
13class MMcCorsikaRunHeader : public MParContainer
14{
15private:
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
45public:
46 MMcCorsikaRunHeader(const char *name=NULL, const char *title=NULL);
47
48 void Fill(const Float_t runnumber,
49 const Float_t date,
50 const Float_t vers,
51 const Float_t fNumObsLev,
52 const Float_t height[10],
53 const Float_t slope,
54 const Float_t elow,
55 const Float_t eupp,
56 const Float_t egs4,
57 const Float_t nkg,
58 const Float_t eh,
59 const Float_t em,
60 const Float_t ee,
61 const Float_t eg,
62 const Float_t c[50],
63 const Float_t cka[40],
64 const Float_t ceta[5],
65 const Float_t cstrba[11],
66 const Float_t aatm[5],
67 const Float_t batm[5],
68 const Float_t catm[5],
69 const Float_t nfl[4]
70 );
71
72 ClassDef(MMcCorsikaRunHeader, 1) // storage container for corsika setup information
73};
74#endif
75
76
Note: See TracBrowser for help on using the repository browser.