Changeset 1240 for trunk/MagicSoft
- Timestamp:
- 03/13/02 18:16:36 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/include-Classes/MMcFormat/MMcRunHeader.cxx
r1180 r1240 50 50 fTitle = title ? title : "Raw Run Header Information"; 51 51 52 fMcRunNumber =0; 53 fProductionSite = 0; 54 fDateRunMMCs = 0; 55 fDateRunCamera = 0; 52 56 fNumTrigCond = 0; 53 57 fAllEvtsTriggered = 0 ; … … 55 59 fMcTrig = 0; 56 60 fMcFadc = 0; 61 fRawEvt = 0; 62 fElecNoise = 0; 63 fStarFieldRotate = 0; 57 64 fNumAnalisedPixels = 0; 58 65 fNumSimulatedShowers = 0; … … 76 83 fShowerPhiMin = 0.0; 77 84 85 fCWaveLower = 0.0; 86 fCWaveUpper = 0.0; 87 88 fNumObsLev = 0; 89 for (int i=0; i<10; i++){ 90 fHeightLev[i]=0.0; 91 } 92 fSlopeSpec = 0.0; 93 78 94 fCorsikaVersion = 0; 79 95 fReflVersion = 0; … … 95 111 // Fill. Put data in the container 96 112 // 97 void MMcRunHeader::Fill(const UInt_t numtrigcond, 98 const Byte_t fallevts, 99 const Byte_t fmcevt, 100 const Byte_t fmctrig, 101 const Byte_t fmcfadc, 102 const Int_t fnumanalpixels, 103 const UInt_t fnumsim, 104 const UInt_t fnumsto, 105 const Int_t fsfRaH, 106 const Int_t fsfRaM, 107 const Int_t fsfRaS, 108 const Int_t fsfDeD, 109 const Int_t fsfDeM, 110 const Int_t fsfDeS, 111 const Float_t fnumdnsb, 112 const Float_t ftelestheta, 113 const Float_t ftelesphi, 114 const Float_t fsofftheta, 115 const Float_t fsoffphi, 116 const Float_t fshthetamax, 117 const Float_t fshthetamin, 118 const Float_t fshphimax, 119 const Float_t fshphimin, 120 const UInt_t fcorsika, 121 const UInt_t frefl, 122 const UInt_t fcam 123 ){ 113 void MMcRunHeader::Fill(const Float_t runnumber, 114 const UInt_t productionsite, 115 const Float_t daterunMMCs, 116 const Float_t daterunCamera, 117 const UInt_t numtrigcond, 118 const Byte_t allevts, 119 const Byte_t mcevt, 120 const Byte_t mctrig, 121 const Byte_t mcfadc, 122 const Byte_t rawevt, 123 const Byte_t elecnoise, 124 const Int_t numanalpixels, 125 const UInt_t numsim, 126 const UInt_t numsto, 127 const Byte_t starfieldrotate, 128 const Int_t sfRaH, 129 const Int_t sfRaM, 130 const Int_t sfRaS, 131 const Int_t sfDeD, 132 const Int_t sfDeM, 133 const Int_t sfDeS, 134 const Float_t numdnsb, 135 const Float_t telestheta, 136 const Float_t telesphi, 137 const Float_t sofftheta, 138 const Float_t soffphi, 139 const Float_t shthetamax, 140 const Float_t shthetamin, 141 const Float_t shphimax, 142 const Float_t shphimin, 143 const Float_t cwavelower, 144 const Float_t cwaveupper, 145 const Float_t slopespec, 146 const UInt_t numObslev, 147 const Float_t heightlev[10], 148 const UInt_t corsika, 149 const UInt_t refl, 150 const UInt_t cam) 151 { 152 fMcRunNumber =runnumber; 153 fProductionSite = productionsite; 154 fDateRunMMCs = daterunMMCs; 155 fDateRunCamera = daterunCamera; 124 156 fNumTrigCond = numtrigcond; 125 fAllEvtsTriggered = fallevts; 126 fMcEvt = fmcevt; 127 fMcTrig = fmctrig; 128 fMcFadc = fmcfadc; 129 fNumAnalisedPixels = fnumanalpixels; 130 fNumSimulatedShowers = fnumsim; 131 fNumStoredShowers = fnumsto; 132 133 fStarFieldRaH = fsfRaH; 134 fStarFieldRaM = fsfRaM; 135 fStarFieldRaS = fsfRaS; 136 fStarFieldDeD = fsfDeD; 137 fStarFieldDeM = fsfDeM; 138 fStarFieldDeS = fsfDeS; 139 140 fNumPheFromDNSB = fnumdnsb; 141 fTelesTheta = ftelestheta; 142 fTelesPhi = ftelesphi; 143 fSourceOffsetTheta = fsofftheta; 144 fSourceOffsetPhi = fsoffphi; 145 fShowerThetaMax = fshthetamax; 146 fShowerThetaMin = fshthetamin; 147 fShowerPhiMax = fshphimax; 148 fShowerPhiMin = fshphimin; 149 150 fCorsikaVersion = fcorsika; 151 fReflVersion = frefl; 152 fCamVersion = fcam; 157 fAllEvtsTriggered = allevts; 158 fMcEvt = mcevt; 159 fMcTrig = mctrig; 160 fMcFadc = mcfadc; 161 fRawEvt = rawevt; 162 fElecNoise = elecnoise; 163 fStarFieldRotate = starfieldrotate; 164 fNumAnalisedPixels = numanalpixels; 165 fNumSimulatedShowers = numsim; 166 fNumStoredShowers = numsto; 167 168 fStarFieldRaH = sfRaH; 169 fStarFieldRaM = sfRaM; 170 fStarFieldRaS = sfRaS; 171 fStarFieldDeD = sfDeD; 172 fStarFieldDeM = sfDeM; 173 fStarFieldDeS = sfDeS; 174 175 fNumPheFromDNSB = numdnsb; 176 fTelesTheta = telestheta; 177 fTelesPhi = telesphi; 178 fSourceOffsetTheta = sofftheta; 179 fSourceOffsetPhi = soffphi; 180 fShowerThetaMax = shthetamax; 181 fShowerThetaMin = shthetamin; 182 fShowerPhiMax = shphimax; 183 fShowerPhiMin = shphimin; 184 185 fCWaveLower = cwavelower; 186 fCWaveUpper = cwaveupper; 187 188 fNumObsLev = numObslev; 189 for (UInt_t i=0; i<numObslev; i++){ 190 fHeightLev[i]=heightlev[i]; 191 } 192 fSlopeSpec = slopespec; 193 194 fCorsikaVersion = corsika; 195 fReflVersion = refl; 196 fCamVersion = cam; 197 153 198 } 154 199
Note:
See TracChangeset
for help on using the changeset viewer.