Changeset 1717 for trunk/MagicSoft/include-Classes/MMcFormat
- Timestamp:
- 01/20/03 16:38:50 (22 years ago)
- Location:
- trunk/MagicSoft/include-Classes/MMcFormat
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/include-Classes/MMcFormat/MMcCorsikaRunHeader.cc
r1631 r1717 77 77 for (int i=0;i<4; i++) fNFL[i] = 0; 78 78 79 fWobbleMode=0; 80 fAtmosphericModel=0; 79 81 } 80 82 … … 104 106 const Float_t batm[5], 105 107 const Float_t catm[5], 106 const Float_t nfl[4]) 108 const Float_t nfl[4], 109 const Float_t wobble, 110 const Float_t atmospher 111 ) 107 112 { 108 113 fRunNumber = runnumber; … … 135 140 } 136 141 for (int i=0; i<4; i++) fNFL[i] = nfl[i]; 142 143 fWobbleMode=wobble; 144 fAtmosphericModel=atmospher; 145 137 146 } 147 148 149 150 151 152 153 154 155 156 157 -
trunk/MagicSoft/include-Classes/MMcFormat/MMcCorsikaRunHeader.h
r1632 r1717 43 43 Float_t fNFL[4]; 44 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 45 52 public: 46 53 MMcCorsikaRunHeader(const char *name=NULL, const char *title=NULL); … … 67 74 const Float_t batm[5], 68 75 const Float_t catm[5], 69 const Float_t nfl[4] 76 const Float_t nfl[4], 77 const Float_t wobble, 78 const Float_t atmospher 70 79 ); 71 80 72 ClassDef(MMcCorsikaRunHeader, 1) // storage container for corsika setup information81 ClassDef(MMcCorsikaRunHeader, 2) // storage container for corsika setup information 73 82 }; 74 83 #endif 75 84 76 85 86 -
trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.cxx
r1595 r1717 56 56 UInt_t uiPco, 57 57 UInt_t uiPelS, 58 UInt_t uiPelC ) { 58 UInt_t uiPelC, 59 Float_t elec, 60 Float_t muon, 61 Float_t other) { 59 62 60 63 fName = "MMcEvt"; … … 101 104 fPhotElfromShower = uiPelS ; 102 105 fPhotElinCamera = uiPelC ; 106 107 fElecCphFraction=elec; 108 fMuonCphFraction=muon; 109 fOtherCphFraction=other; 103 110 } 104 111 … … 136 143 fPhotElfromShower = 0; 137 144 fPhotElinCamera = 0; 145 146 fElecCphFraction=0; 147 fMuonCphFraction=0; 148 fOtherCphFraction=0; 138 149 } 139 150 … … 166 177 UInt_t uiPco, 167 178 UInt_t uiPelS, 168 UInt_t uiPelC ) { 179 UInt_t uiPelC, 180 Float_t elec, 181 Float_t muon, 182 Float_t other ) { 169 183 // 170 184 // All datamembers are filled with the correspondin parameters. … … 205 219 fPhotElfromShower = uiPelS ; 206 220 fPhotElinCamera = uiPelC ; 221 222 fElecCphFraction=elec; 223 fMuonCphFraction=muon; 224 fOtherCphFraction=other; 225 207 226 } 208 227 -
trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.hxx
r1663 r1717 54 54 // from NSB 55 55 56 // Now follow the fraction of photons reaching the camera produced by 57 // electrons, muons and other particles respectively: 58 59 Float_t fElecCphFraction; 60 Float_t fMuonCphFraction; 61 Float_t fOtherCphFraction; 62 63 64 56 65 public: 57 66 MMcEvt() ; … … 61 70 Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, 62 71 Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, 63 UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t ) ; 72 UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, 73 Float_t, Float_t, Float_t) ; 64 74 65 75 ~MMcEvt(); … … 71 81 Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, 72 82 Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, 73 UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t ) ; 83 UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, 84 Float_t, Float_t, Float_t) ; 74 85 75 86 //virtual void AsciiWrite(ofstream &fout) const; … … 132 143 133 144 134 ClassDef(MMcEvt, 2) //Stores Montecarlo Information of one event (eg. the energy)145 ClassDef(MMcEvt, 3) //Stores Montecarlo Information of one event (eg. the energy) 135 146 136 147 }; 137 148 138 149 #endif 150 151 152 153 154
Note:
See TracChangeset
for help on using the changeset viewer.