Ignore:
Timestamp:
02/23/09 18:45:07 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mmuon/MMuonCalibParCalc.cc

    r9363 r9364  
    153153Int_t MMuonCalibParCalc::Process()
    154154{
     155    const Double_t mm2deg = fGeomCam->GetConvMm2Deg();
     156
    155157    // Calculation of ArcPhi, ArcWidth and MuonSize.
    156158    const Float_t thresphi   = fMuonSetup->GetThresholdArcPhi();
     
    163165        return kTRUE;
    164166
    165     if (!fHist->CalcWidth(threswidth, width, chi))
     167    if (!fHist->CalcWidth(threswidth/mm2deg, width, chi))
    166168        return kTRUE;
    167169
     
    185187    fMuonCalibPar->SetArcWidth(width);
    186188
    187     const Double_t rad = fMuonSearchPar->GetRadius()*fGeomCam->GetConvMm2Deg();
    188     const Double_t dev = fMuonSearchPar->GetDeviation()*fGeomCam->GetConvMm2Deg();
     189    const Double_t rad = fMuonSearchPar->GetRadius()   *mm2deg;
     190    const Double_t dev = fMuonSearchPar->GetDeviation()*mm2deg;
    189191
    190192    // Check if this is a 'Write-Out' candidate
Note: See TracChangeset for help on using the changeset viewer.