Changeset 9364 for trunk/MagicSoft


Ignore:
Timestamp:
02/23/09 18:45:07 (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

    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
  • trunk/MagicSoft/Mars/mmuon/MMuonSetup.cc

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