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