Changeset 1623
- Timestamp:
- 11/15/02 15:54:31 (22 years ago)
- Location:
- trunk/MagicSoft
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1620 r1623 1 1 -*-*- END -*-*- 2 2 3 2002/11/15: Thomas Bretz 4 5 * mmc/MMcCorsikaRunHeader.[h,cc]: 6 - small changes 7 8 * mmc/McLinkDef.h: 9 - added missing MMcCorsikaRunHeader 10 11 12 3 13 2002/11/15: Oscar Blanch 4 14 5 15 * mmc/MMcCorsikaRunHeader.[h,cc]: 6 16 - added 17 18 7 19 8 20 2002/11/14: Thomas Bretz -
trunk/MagicSoft/include-Classes/MMcFormat/MMcCorsikaRunHeader.cc
r1619 r1623 33 33 // 34 34 //////////////////////////////////////////////////////////////////////////// 35 #include "MMcCorsikaRunHeader.h" 35 36 36 #ifndef MARS_MMcCorsikaRunHeader37 #include "MMcCorsikaRunHeader.h"38 #endif39 40 #include <fstream.h>41 #include <iomanip.h>42 43 #include "MLog.h"44 #include "MLogManip.h"45 37 ClassImp(MMcCorsikaRunHeader); 46 38 … … 60 52 fNumObsLev = 0.0; 61 53 for(int i=0;i<10;i++) 62 54 fHeightLev[i]=0.0; 63 55 fSlopeSpec = 0.0; 64 56 fELowLim = 0.0; … … 76 68 for(int i=0;i<11;i++) fCSTRBA[i] = 0.0; 77 69 for(int i=0;i<5;i++){ 78 79 80 70 fAATM[i] = 0.0; 71 fBATM[i] = 0.0; 72 fCATM[i] = 0.0; 81 73 } 82 74 for(int i=0;i<4;i++) fNFL[i] = 0.0; … … 86 78 // ------------------------------------------------------------------------- 87 79 // 88 // Fill Corsika Run Header 80 // Fill Corsika Run Header 89 81 // 90 82 void MMcCorsikaRunHeader::Fill(const Float_t runnumber, 91 83 const Float_t date, 92 84 const Float_t vers, 93 85 const Float_t numobslev, … … 138 130 for(int i=0;i<4;i++) fNFL[i] = nfl[i]; 139 131 } 140 141 -
trunk/MagicSoft/include-Classes/MMcFormat/MMcCorsikaRunHeader.h
r1619 r1623 3 3 /////////////////////////////////////////////////////////////////////// 4 4 // // 5 // MMcCorsikaRunHeader 5 // MMcCorsikaRunHeader // 6 6 // // 7 7 /////////////////////////////////////////////////////////////////////// 8 9 8 #ifndef MARS_MParContainer 10 9 #include "MParContainer.h" … … 15 14 { 16 15 private: 17 // Header copied directly from CORSIKA header, skiping dummy values.18 // The propouse of this container is being able to cmopare with19 // Corsika run Header20 // See CORSIKA manual for explanations16 // 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 21 20 Float_t fRunNumber; 22 21 Float_t fDate; … … 24 23 Float_t fNumObsLev; 25 24 Float_t fHeightLev[10]; 26 Float_t fSlopeSpec; // Slope of primaries' energy spectrum 27 Float_t fELowLim; 28 Float_t fEUppLim; // Limits of energy range for generation 25 Float_t fSlopeSpec; // Slope of primaries' energy spectrum 26 Float_t fELowLim; 27 Float_t fEUppLim; // Limits of energy range for generation 29 28 Float_t fEGS4_flag; 30 29 Float_t fNKG_flag; 31 Float_t fEcutoffh; 32 Float_t fEcutoffm; 33 Float_t fEcutoffe; 34 Float_t fEcutoffg; 35 // Physical constants and interaction flags (see CORSIKA manual): 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 36 Float_t fC[50]; 37 37 Float_t fCKA[40]; … … 44 44 45 45 public: 46 MMcCorsikaRunHeader(const char *name=NULL, const char *title=NULL);47 ~MMcCorsikaRunHeader();46 MMcCorsikaRunHeader(const char *name=NULL, const char *title=NULL); 47 ~MMcCorsikaRunHeader(); 48 48 49 void Fill(const Float_t runnumber,50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 ClassDef(MMcCorsikaRunHeader, 1) // storage container for general info49 void Fill(const Float_t runnumber, 50 const Float_t date, 51 const Float_t vers, 52 const Float_t fNumObsLev, 53 const Float_t height[10], 54 const Float_t slope, 55 const Float_t elow, 56 const Float_t eupp, 57 const Float_t egs4, 58 const Float_t nkg, 59 const Float_t eh, 60 const Float_t em, 61 const Float_t ee, 62 const Float_t eg, 63 const Float_t c[50], 64 const Float_t cka[40], 65 const Float_t ceta[5], 66 const Float_t cstrba[11], 67 const Float_t aatm[5], 68 const Float_t batm[5], 69 const Float_t catm[5], 70 const Float_t nfl[4] 71 ); 72 73 ClassDef(MMcCorsikaRunHeader, 1) // storage container for general info 74 74 }; 75 75 #endif -
trunk/MagicSoft/include-Classes/MMcFormat/McLinkDef.h
r1600 r1623 11 11 #pragma link C++ class MMcFadcHeader+; 12 12 #pragma link C++ class MMcConfigRunHeader+; 13 #pragma link C++ class MMcCorsikaRunHeader+; 13 14 14 15 #endif
Note:
See TracChangeset
for help on using the changeset viewer.