Changeset 12922 for trunk/Mars/mhist
- Timestamp:
- 02/22/12 19:04:04 (13 years ago)
- Location:
- trunk/Mars/mhist
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mhist/MHCamEvent.cc
r11569 r12922 225 225 break; 226 226 227 case kMeanShift: 228 fSum->AddMeanShift(*evt, fType); 229 break; 230 231 case kMedianShift: 232 fSum->AddMedianShift(*evt, fType); 233 break; 234 227 235 default: 228 236 *fLog << err << "ERROR - MHCamEvent::Fill: Unknown type." << endl; -
trunk/Mars/mhist/MHCamEvent.h
r9312 r12922 42 42 43 43 public: 44 enum { kIsLowerBound=1, kIsUpperBound=-1, kNoBound=0, kCollectMin=-2, kCollectMax=2 };44 enum { kIsLowerBound=1, kIsUpperBound=-1, kNoBound=0, kCollectMin=-2, kCollectMax=2, kMedianShift=3, kMeanShift=4 }; 45 45 46 46 MHCamEvent(const char *name=NULL, const char *title=NULL); … … 66 66 void SetCollectMin() { fUseThreshold=kCollectMin; } 67 67 void SetCollectMax() { fUseThreshold=kCollectMax; } 68 void SetMedianShift() { fUseThreshold=kMedianShift; } 69 void SetMeanShift() { fUseThreshold=kMeanShift; } 68 70 void SetErrorSpread(Bool_t b=kTRUE) { fErrorSpread = b; } 69 71 void SetErrorRelative(Bool_t b=kTRUE) { fErrorRelative = b; }
Note:
See TracChangeset
for help on using the changeset viewer.