- Timestamp:
- 02/23/09 18:45:38 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mmuon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmuon/MMuonCalibParCalc.cc
r9364 r9365 153 153 Int_t MMuonCalibParCalc::Process() 154 154 { 155 const Double_t mm2deg = fGeomCam->GetConvMm2Deg();156 157 155 // Calculation of ArcPhi, ArcWidth and MuonSize. 158 156 const Float_t thresphi = fMuonSetup->GetThresholdArcPhi(); … … 165 163 return kTRUE; 166 164 167 if (!fHist->CalcWidth(threswidth /mm2deg, width, chi))165 if (!fHist->CalcWidth(threswidth, width, chi)) 168 166 return kTRUE; 169 167 … … 187 185 fMuonCalibPar->SetArcWidth(width); 188 186 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(); 191 189 192 190 // Check if this is a 'Write-Out' candidate -
trunk/MagicSoft/Mars/mmuon/MMuonSetup.cc
r9364 r9365 49 49 // 50 50 MMuonSetup::MMuonSetup(const char *name, const char *title) 51 : fMargin(0.2), fThresholdArcPhi(5), fThresholdArcWidth( 0.00674)51 : fMargin(0.2), fThresholdArcPhi(5), fThresholdArcWidth(2) 52 52 { 53 53 fName = name ? name : "MMuonSetup";
Note:
See TracChangeset
for help on using the changeset viewer.