Changeset 4976
- Timestamp:
- 09/13/04 13:31:45 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mhcalib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.cc
r4974 r4976 42 42 // 43 43 // The following flag can be set: 44 // - SetAverageging() for calculating the event-by-event averages. 45 // - SetDebug() for debug output. 46 // - SetLoGain() for the case that low-gain slices are available, but 47 // MRawRunHeader::GetNumLoGainSlices() gives still 0. 48 // 49 // The flag fLoGain steers if low-gain signal is treated at all or not. 44 // - SetAverageing() for calculating the event-by-event averages. 45 // - SetDebug() for debug output. 46 // - SetLoGain() for the case that low-gain slices are available, but 47 // MRawRunHeader::GetNumLoGainSlices() gives still 0. 48 // - SetCheckSize() for testing the sizes of the f*Arrays in ReInit() if they 49 // are coinciding with the equiv. sizes in MGeomCam 50 // 51 // The flag kLoGain steers if the low-gain signal is treated at all or not. 52 // The flag kAverageing steers if the event-by-event averages are treated at all. 50 53 // 51 54 ///////////////////////////////////////////////////////////////////////////// … … 351 354 cam->fPulserFrequency = fPulserFrequency; 352 355 cam->fFlags = fFlags; 356 cam->fNbins = fNbins; 357 cam->fFirst = fFirst; 358 cam->fLast = fLast; 353 359 354 360 if (!IsAverageing()) -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.cc
r4965 r4976 1303 1303 1304 1304 const Int_t navhi = fAverageHiGainAreas->GetEntries(); 1305 const Int_t navlo = fAverageLoGainAreas->GetEntries();1306 1305 // const Int_t nsehi = fAverageHiGainSectors->GetEntries(); 1307 1306 // const Int_t nselo = fAverageLoGainSectors->GetEntries(); … … 1312 1311 MHCalibrationChargeCam *cam = new MHCalibrationChargeCam(); 1313 1312 1313 cam->fColor = fColor; 1314 cam->fPulserFrequency = fPulserFrequency; 1315 cam->fFlags = fFlags; 1316 cam->fRunNumbers = fRunNumbers; 1317 cam->fNbins = fNbins; 1318 cam->fFirst = fFirst; 1319 cam->fLast = fLast; 1320 1321 if (!IsAverageing()) 1322 return cam; 1323 1314 1324 cam->fAverageHiGainAreas->Expand(navhi); 1315 // cam->fAverageHiGainSectors->Expand(nsehi);1316 1325 1317 1326 for (int i=0; i<navhi; i++) 1318 1327 (*cam->fAverageHiGainAreas) [i] = (*fAverageHiGainAreas) [i]->Clone(); 1328 // cam->fAverageHiGainSectors->Expand(nsehi); 1319 1329 // for (int i=0; i<nsehi; i++) 1320 1330 // (*cam->fAverageHiGainSectors)[i] = (*fAverageHiGainSectors)[i]->Clone(); … … 1322 1332 if (IsLoGain()) 1323 1333 { 1334 const Int_t navlo = fAverageLoGainAreas->GetEntries(); 1324 1335 cam->fAverageLoGainAreas->Expand(navlo); 1325 // cam->fAverageLoGainSectors->Expand(nselo);1326 1336 1327 1337 for (int i=0; i<navlo; i++) 1328 1338 (*cam->fAverageLoGainAreas) [i] = (*fAverageLoGainAreas) [i]->Clone(); 1339 // cam->fAverageLoGainSectors->Expand(nselo); 1329 1340 // for (int i=0; i<nselo; i++) 1330 1341 // (*cam->fAverageLoGainSectors)[i] = (*fAverageLoGainSectors)[i]->Clone(); … … 1338 1349 cam->fAverageAreaRelSigmaVar = fAverageAreaRelSigmaVar; 1339 1350 cam->fAverageSectorNum = fAverageSectorNum; 1340 cam->fRunNumbers = fRunNumbers;1341 1342 cam->fColor = fColor;1343 cam->fPulserFrequency = fPulserFrequency;1344 cam->fFlags = fFlags;1345 1351 1346 1352 return cam;
Note:
See TracChangeset
for help on using the changeset viewer.