Ignore:
Timestamp:
04/21/10 16:46:18 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msimcamera/MSimRandomPhotons.cc

    r9525 r9574  
    363363    // *fLog << 1.75e6/(600-300) * f2 * eff->GetSpline()->Integral() << " MHz" << endl;
    364364
    365     *fLog << "Conversion factor Fnu:      " << f  << endl;
    366     *fLog << "Total reflective area:      " << Form("%.2f", Ar) << " m" << UTF8::kSquare << endl;
    367     *fLog << "Acceptance area of cone 0:  " << Form("%.2f", A0*1e6) << " mm" << UTF8::kSquare << " = ";
     365    *fLog << "Conversion factor Fnu:         " << f  << endl;
     366    *fLog << "Total reflective area:         " << Form("%.2f", Ar) << " m" << UTF8::kSquare << endl;
     367    *fLog << "Acceptance area of cone 0:     " << Form("%.2f", A0*1e6) << " mm" << UTF8::kSquare << " = ";
    368368    *fLog << A0*conv*conv << " sr" << endl;
    369     *fLog << "Cones angular acceptance:   " << sr << " sr" << endl;
    370     *fLog << "ConeArea*MirrorAngle (f1):  " << f1 << " m^2 sr" << endl;
    371     *fLog << "MirrorArea*ConeAngle (f2):  " << f2 << " m^2 sr" << endl;
    372     *fLog << "Effective. transmission:    " << Form("%.1f", nm) << " nm" << endl;
     369    *fLog << "Cones angular acceptance:      " << sr << " sr" << endl;
     370    *fLog << "ConeArea*ConeSolidAngle (f1):  " << f1 << " m^2 sr" << endl;
     371    *fLog << "MirrorArea*ConeSkyAngle (f2):  " << f2 << " m^2 sr" << endl;
     372    *fLog << "Effective. transmission:       " << Form("%.1f", nm) << " nm" << endl;
    373373    *fLog << "NSB freq. in " << fNameGeomCam << "[0] (f1): " << Form("%.2f", rate * f1) << " MHz" << endl;
    374374    *fLog << "NSB freq. in " << fNameGeomCam << "[0] (f2): " << Form("%.2f", rate * f2) << " MHz" << endl;
    375     *fLog << "Using f1." << endl;
     375    *fLog << "Using f2." << endl;
    376376
    377377    // Scale the rate per mm^2 and to GHz
    378     fScale = rate * f1 / (*fGeom)[0].GetA() / 1000;
     378    fScale = rate * f2 / (*fGeom)[0].GetA() / 1000;
    379379
    380380    // FIXME: Scale with the number of pixels
    381     if (rate*f1>1000)
     381    if (rate*f2>1000)
    382382    {
    383383        *fLog << err << "ERROR - Frequency exceeds 1GHz, this might leed to too much memory consumption." << endl;
Note: See TracChangeset for help on using the changeset viewer.