Changeset 1191 in Sophya for trunk/SigPredictor/sigcalctools.cc


Ignore:
Timestamp:
Sep 19, 2000, 2:28:59 PM (25 years ago)
Author:
ansari
Message:

cleaned up for maching LevelS upgrade ongoing

D.Y.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SigPredictor/sigcalctools.cc

    r1148 r1191  
    193193  VPerp=VPoin.VperpPhi();
    194194
    195   double dAngShift=AngResComp(0.)*1.1;
     195  double dAngShift=AngResComp(0.);
    196196    // AngleSteps are not necessarily constant.
    197     // factor 1.1 to raise ambiguities in nearby pixel integration
    198197  double lastAngShiftMax;                           
    199198    // Needed to compute accurately solid angle values
     
    317316  VPerp=VPoin.VperpPhi();
    318317
    319   double dAngShift=AngResComp(0.)*1.1;
     318  double dAngShift=AngResComp(0.);
    320319    // AngleSteps are not necessarily constant.
    321     // factor 1.1 to raise ambiguities in nearby pixel integration.
    322320  double lastAngShiftMax;                           
    323321    // Needed to compute accurately solid angle values
     
    460458}
    461459
    462 double SigCalcTool::diffSolidAng(double ang1,double ang2) const
    463 {       double returnVal;               // Steradians
    464         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/Hz
    468                 // Pas d'angle solide.
    469         return returnVal;
    470 }
    471 
    472460template void addInInBandPowerMap(PixelMap<float>& Map, SigCalcTool& tool);
    473461template void addInInBandPowerMap(PixelMap<double>& Map, SigCalcTool& tool);
Note: See TracChangeset for help on using the changeset viewer.