Changeset 2629 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 12/10/03 08:24:42 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mhist
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHCalibrationPixel.cc
r2627 r2629 264 264 } 265 265 266 267 Bool_t MHCalibrationPixel::UseLoGain() 268 { 269 270 if (fHChargeHiGain->GetEntries() > fHChargeLoGain->GetEntries()) 271 { 272 fUseLoGain = kFALSE; 273 return kFALSE; 274 } 275 else 276 { 277 fUseLoGain = kTRUE; 278 return kTRUE; 279 } 280 } 266 281 267 282 -
trunk/MagicSoft/Mars/mhist/MHCalibrationPixel.h
r2627 r2629 93 93 Bool_t FillChargevsNHiGain(Float_t q, Int_t n) { return fHChargevsNHiGain->Fill(n,q) > -1; } 94 94 95 void SetUseLoGain() { fUseLoGain = kTRUE; } 95 void SetUseLoGain() { fUseLoGain = kTRUE; } 96 Bool_t UseLoGain(); 96 97 97 98 const TH1F *GetHCharge() { return fHChargeHiGain; }
Note:
See TracChangeset
for help on using the changeset viewer.