Changeset 1191 in Sophya for trunk/SigPredictor/sigcalctools.cc
- Timestamp:
- Sep 19, 2000, 2:28:59 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SigPredictor/sigcalctools.cc
r1148 r1191 193 193 VPerp=VPoin.VperpPhi(); 194 194 195 double dAngShift=AngResComp(0.) *1.1;195 double dAngShift=AngResComp(0.); 196 196 // AngleSteps are not necessarily constant. 197 // factor 1.1 to raise ambiguities in nearby pixel integration198 197 double lastAngShiftMax; 199 198 // Needed to compute accurately solid angle values … … 317 316 VPerp=VPoin.VperpPhi(); 318 317 319 double dAngShift=AngResComp(0.) *1.1;318 double dAngShift=AngResComp(0.); 320 319 // AngleSteps are not necessarily constant. 321 // factor 1.1 to raise ambiguities in nearby pixel integration.322 320 double lastAngShiftMax; 323 321 // Needed to compute accurately solid angle values … … 460 458 } 461 459 462 double SigCalcTool::diffSolidAng(double ang1,double ang2) const463 { double returnVal; // Steradians464 if(!pLSrc->IsPtSourceS()) returnVal= fabs(2*M_PI*(cos(ang1)-cos(ang2)));465 // Cas d'une source tendue.466 else returnVal= 1.;467 // Cas d'une source ponctuelle. Sont flux est exprime en W/m2/Hz468 // Pas d'angle solide.469 return returnVal;470 }471 472 460 template void addInInBandPowerMap(PixelMap<float>& Map, SigCalcTool& tool); 473 461 template void addInInBandPowerMap(PixelMap<double>& Map, SigCalcTool& tool);
Note:
See TracChangeset
for help on using the changeset viewer.