Changeset 5156 for trunk/MagicSoft/Mars/mhist/MHCamEventRot.cc
- Timestamp:
- 10/01/04 16:41:51 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHCamEventRot.cc
r3786 r5156 71 71 // 72 72 MHCamEventRot::MHCamEventRot(const char *name, const char *title) 73 : fTime(0), fPointPos(0), fObservatory(0), fType(0), fNameTime("MTime") 73 : fTime(0), fPointPos(0), fObservatory(0), fType(0), fNameTime("MTime"), 74 fThreshold(0), fUseThreshold(kNoBound) 74 75 { 75 76 // … … 192 193 193 194 // Fill histogram 194 fHist.Fill(cx[ix], cy[iy], val); 195 if (fUseThreshold!=kNoBound) 196 { 197 if (val>fThreshold && fUseThreshold==kIsLowerBound || 198 val<fThreshold && fUseThreshold==kIsUpperBound) 199 fHist.Fill(cx[ix], cy[iy]); 200 } 201 else 202 fHist.Fill(cx[ix], cy[iy], val); 195 203 } 196 204 }
Note:
See TracChangeset
for help on using the changeset viewer.