Ignore:
Timestamp:
02/23/09 18:45:38 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mmuon
Files:
2 edited

Legend:

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

    r9364 r9365  
    153153Int_t MMuonCalibParCalc::Process()
    154154{
    155     const Double_t mm2deg = fGeomCam->GetConvMm2Deg();
    156 
    157155    // Calculation of ArcPhi, ArcWidth and MuonSize.
    158156    const Float_t thresphi   = fMuonSetup->GetThresholdArcPhi();
     
    165163        return kTRUE;
    166164
    167     if (!fHist->CalcWidth(threswidth/mm2deg, width, chi))
     165    if (!fHist->CalcWidth(threswidth, width, chi))
    168166        return kTRUE;
    169167
     
    187185    fMuonCalibPar->SetArcWidth(width);
    188186
    189     const Double_t rad = fMuonSearchPar->GetRadius()   *mm2deg;
    190     const Double_t dev = fMuonSearchPar->GetDeviation()*mm2deg;
     187    const Double_t rad = fMuonSearchPar->GetRadius()*fGeomCam->GetConvMm2Deg();
     188    const Double_t dev = fMuonSearchPar->GetDeviation()*fGeomCam->GetConvMm2Deg();
    191189
    192190    // Check if this is a 'Write-Out' candidate
  • trunk/MagicSoft/Mars/mmuon/MMuonSetup.cc

    r9364 r9365  
    4949//
    5050MMuonSetup::MMuonSetup(const char *name, const char *title)
    51     : fMargin(0.2), fThresholdArcPhi(5), fThresholdArcWidth(0.00674)
     51    : fMargin(0.2), fThresholdArcPhi(5), fThresholdArcWidth(2)
    5252{
    5353    fName  = name  ? name  : "MMuonSetup";
Note: See TracChangeset for help on using the changeset viewer.