Changeset 1580 for trunk/MagicSoft
- Timestamp:
- 11/06/02 14:49:11 (22 years ago)
- Location:
- trunk/MagicSoft/include-Classes/MMcFormat
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.cxx
r1542 r1580 28 28 } 29 29 30 MMcEvt::MMcEvt( UShort_t usPId, 31 Float_t fEner, 30 MMcEvt::MMcEvt( Float_t fEvtNum, 31 UShort_t usPId, 32 Float_t fEner, 33 Float_t fThi0, 34 Float_t fFirTar, 35 Float_t fzFirInt, 32 36 Float_t fThet, 33 37 Float_t fPhii, … … 35 39 Float_t fCorX, 36 40 Float_t fCorY, 37 Float_t fImpa, 41 Float_t fImpa, 42 Float_t fTPhii, 43 Float_t fTThet, 44 Float_t fTFirst, 45 Float_t fTLast, 46 Float_t fL_Nmax, 47 Float_t fL_t0, 48 Float_t fL_tmax, 49 Float_t fL_a, 50 Float_t fL_b, 51 Float_t fL_c, 52 Float_t fL_chi2, 38 53 UInt_t uiPin, 39 54 UInt_t uiPat, … … 53 68 // 54 69 70 fEvtNumber = fEvtNum; 55 71 fPartId = usPId ; 56 72 fEnergy = fEner ; 73 fThick0 = fThi0; 74 fFirstTarget = fFirTar; 75 fzFirstInt = fzFirInt; 57 76 58 77 fTheta = fThet ; … … 63 82 fCoreY = fCorY ; 64 83 fImpact = fImpa ; 84 85 ftelescopePhi = fTPhii; 86 ftelescopeTheta = fTThet; 87 fTimeFirst = fTFirst; 88 fTimeLast = fTLast; 89 flongi_Nmax = fL_Nmax; 90 flongi_t0 = fL_t0; 91 flongi_a = fL_a; 92 flongi_b = fL_b; 93 flongi_c = fL_c; 94 flongi_chi2 = fL_chi2; 95 65 96 66 97 fPhotIni = uiPin ; … … 107 138 } 108 139 109 void MMcEvt::Fill( UShort_t usPId, 140 void MMcEvt::Fill( Float_t fEvtNum, 141 UShort_t usPId, 110 142 Float_t fEner, 143 Float_t fThi0, 144 Float_t fFirTar, 145 Float_t fzFirInt, 111 146 Float_t fThet, 112 147 Float_t fPhii, … … 115 150 Float_t fCorY, 116 151 Float_t fImpa, 152 Float_t fTPhii, 153 Float_t fTThet, 154 Float_t fTFirst, 155 Float_t fTLast, 156 Float_t fL_Nmax, 157 Float_t fL_t0, 158 Float_t fL_tmax, 159 Float_t fL_a, 160 Float_t fL_b, 161 Float_t fL_c, 162 Float_t fL_chi2, 117 163 UInt_t uiPin, 118 164 UInt_t uiPat, … … 127 173 // 128 174 175 fEvtNumber = fEvtNum; 129 176 fPartId = usPId ; 130 177 fEnergy = fEner ; 178 fThick0 = fThi0; 179 fFirstTarget = fFirTar; 180 fzFirstInt = fzFirInt; 131 181 132 182 fTheta = fThet ; … … 137 187 fCoreY = fCorY ; 138 188 fImpact = fImpa ; 189 190 ftelescopePhi = fTPhii; 191 ftelescopeTheta = fTThet; 192 fTimeFirst = fTFirst; 193 fTimeLast = fTLast; 194 flongi_Nmax = fL_Nmax; 195 flongi_t0 = fL_t0; 196 flongi_a = fL_a; 197 flongi_b = fL_b; 198 flongi_c = fL_c; 199 flongi_chi2 = fL_chi2; 139 200 140 201 fPhotIni = uiPin ; -
trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.hxx
r1288 r1580 9 9 { 10 10 private: 11 Float_t fEvtNumber; 11 12 UShort_t fPartId; // Type of particle 12 13 Float_t fEnergy; // [GeV] Energy 14 Float_t fThick0; 15 Float_t fFirstTarget; 16 Float_t fzFirstInt; 13 17 14 18 Float_t fTheta; // [rad] Theta angle of event … … 19 23 Float_t fCoreY; // Core y pos 20 24 Float_t fImpact; // [mm] impact parameter 25 26 /* ^^^ Up to here, the info from the CORSIKA event header. */ 27 28 /* Telescope orientation: */ 29 Float_t ftelescopePhi; /* rad */ 30 Float_t ftelescopeTheta; /* rad */ 31 32 /* Time of first and last photon: */ 33 Float_t fTimeFirst; 34 Float_t fTimeLast; 35 36 /* 6 parameters and chi2 of the NKG fit to the longitudinal 37 * particle distribution (see CORSIKA manual for explanation): 38 */ 39 Float_t flongi_Nmax; 40 Float_t flongi_t0; 41 Float_t flongi_tmax; 42 Float_t flongi_a; 43 Float_t flongi_b; 44 Float_t flongi_c; 45 Float_t flongi_chi2; 21 46 22 47 UInt_t fPhotIni; // Initial number of photons … … 31 56 MMcEvt() ; 32 57 33 MMcEvt( UShort_t, 34 Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, 58 MMcEvt( Float_t, UShort_t, Float_t, Float_t, Float_t, 59 Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, 60 Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, 61 Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, 35 62 UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t ) ; 36 63 … … 39 66 void Clear(Option_t *opt=NULL); 40 67 41 void Fill( UShort_t, 42 Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, 68 void Fill( Float_t, UShort_t, Float_t, Float_t, Float_t, 69 Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, 70 Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, 71 Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, 43 72 UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t ) ; 44 73 … … 100 129 101 130 102 ClassDef(MMcEvt, 1) //Stores Montecarlo Information of one event (eg. the energy)131 ClassDef(MMcEvt, 2) //Stores Montecarlo Information of one event (eg. the energy) 103 132 104 133 };
Note:
See TracChangeset
for help on using the changeset viewer.