added new option to musrt0: the key 'T' will set the t0 cursor to the maximum of the histogram

This commit is contained in:
nemu
2009-11-12 13:29:42 +00:00
parent 4071ab40bd
commit 7ccd021cfc
2 changed files with 49 additions and 0 deletions

View File

@ -79,6 +79,7 @@ class PMusrT0 : public TObject, public TQObject
Int_t fDetectorTag;
Int_t fAddRunNo;
Int_t fAddRunOffset;
Int_t fT0Estimated;
// canvas related variables
TCanvas *fMainCanvas;
@ -101,6 +102,7 @@ class PMusrT0 : public TObject, public TQObject
void InitDataAndBkg();
void SetT0Channel();
void SetEstimatedT0Channel();
void SetDataFirstChannel();
void SetDataLastChannel();
void SetBkgFirstChannel();