Changeset 2098 for trunk/MagicSoft/Mars/mimage/MHHillas.cc
- Timestamp:
- 05/08/03 18:00:03 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mimage/MHHillas.cc
r2062 r2098 242 242 Bool_t MHHillas::Fill(const MParContainer *par, const Stat_t w) 243 243 { 244 if (!par) 245 { 246 *fLog << err << "MHHillas::Fill: Pointer (!=NULL) expected." << endl; 247 return kFALSE; 248 } 249 244 250 const MHillas &h = *(MHillas*)par; 245 251 … … 247 253 const Double_t scale = fUseMmScale ? 1 : fMm2Deg; 248 254 249 fLength 250 fWidth 251 fDistC 252 fCenter 253 fDelta 254 fSize 255 fLength->Fill(scale*h.GetLength(), w); 256 fWidth ->Fill(scale*h.GetWidth(), w); 257 fDistC ->Fill(scale*d, w); 258 fCenter->Fill(scale*h.GetMeanX(), scale*h.GetMeanY(), w); 259 fDelta ->Fill(kRad2Deg*h.GetDelta(), w); 260 fSize ->Fill(h.GetSize(), w); 255 261 256 262 return kTRUE;
Note:
See TracChangeset
for help on using the changeset viewer.