Changeset 42294
- Timestamp:
- Oct 11, 2022, 3:17:57 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroLoadCrosstalk.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroLoadCrosstalk.c
r41657 r42294 370 370 //----------------------------------------------------------------- 371 371 //new style crostalk masking, with crosstalk rules from the recipes 372 if (!crossCheck) {372 if (!crossCheck) { 373 373 // load ghost model metadata structure 374 374 psMetadata *crossModel = NULL; … … 386 386 387 387 pmDetEff *de = psMetadataLookupPtr(NULL, readout->analysis, PM_DETEFF_ANALYSIS); // Detection efficiency 388 if (!de) continue; // chip has a problem if DETEFF is missing, just skip it 388 389 if (isnan(de->magRef)) { continue; } 389 390 390 // find the CROSSTALK.RU KE this chip lands in (if any)391 // find the CROSSTALK.RULE this chip lands in (if any) 391 392 psListIterator *crossIter = psListIteratorAlloc(crossRules->data.list, PS_LIST_HEAD, false); 392 393 psMetadataItem *crossItem = NULL; … … 528 529 //check again if the crosstalk is above the target chip background level 529 530 pmDetEff *tarde = psMetadataLookupPtr(NULL, targetReadout->analysis, PM_DETEFF_ANALYSIS); // Detection efficiency 531 if (!tarde) continue; 530 532 if (isnan(tarde->magRef)) { continue; } 531 533 … … 706 708 //check if the crosstalk is above the target chip background level 707 709 pmDetEff *tarde = psMetadataLookupPtr(NULL, targetReadout->analysis, PM_DETEFF_ANALYSIS); // Detection efficiency 710 if (!tarde) continue; 708 711 if (isnan(tarde->magRef)) { continue; } 709 712
Note:
See TracChangeset
for help on using the changeset viewer.
