Changeset 9338 for trunk/MagicSoft/Mars/mmuon
- Timestamp:
- 02/15/09 15:09:12 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmuon/MHMuonPar.cc
r9303 r9338 138 138 Bool_t MHMuonPar::SetupFill(const MParList *plist) 139 139 { 140 MGeomCam *geom = (MGeomCam*)plist->FindObject("MGeomCam");141 if (! geom)140 fGeom = (MGeomCam*)plist->FindObject("MGeomCam"); 141 if (!fGeom) 142 142 { 143 143 *fLog << warn << "MGeomCam not found... abort." << endl; 144 144 return kFALSE; 145 145 } 146 fMm2Deg = geom->GetConvMm2Deg();147 146 148 147 fMuonSearchPar = (MMuonSearchPar*)plist->FindObject("MMuonSearchPar"); … … 174 173 Int_t MHMuonPar::Fill(const MParContainer *par, const Stat_t w) 175 174 { 175 const Double_t fMm2Deg = fGeom->GetConvMm2Deg(); 176 176 177 fHistRadius.Fill(fMm2Deg*fMuonSearchPar->GetRadius(), w); 177 178
Note:
See TracChangeset
for help on using the changeset viewer.