first ready version of musrt0

This commit is contained in:
nemu
2009-03-31 11:22:20 +00:00
parent 41264e9eee
commit 4b561aa598
5 changed files with 14 additions and 12 deletions

View File

@ -86,7 +86,7 @@ PMusrT0::PMusrT0()
*/
PMusrT0::PMusrT0(PRawRunData *rawRunData, int runNo, int histoNo, int detectorTag, int addRunNo)
{
cout << endl << "run Name = " << rawRunData->fRunName.Data() << ", histoNo = " << histoNo << endl;
// cout << endl << "run Name = " << rawRunData->fRunName.Data() << ", histoNo = " << histoNo << endl;
fStatus = 0; // default is quit locally
@ -289,7 +289,6 @@ void PMusrT0::InitDataAndBkg()
fData->Draw("p0 9 hist same");
// feed background histo
int fBkgRange[2];
switch (fDetectorTag) {
case DETECTOR_TAG_FORWARD:
fBkgRange[0] = fMsrHandler->GetMsrRunList()->at(fRunNo).fBkgRange[0 + fAddRunNo * fAddRunOffset];
@ -653,8 +652,6 @@ void PMusrT0::SetBkgLastChannel()
*/
void PMusrT0::UnZoom()
{
cout << endl << ">> in UnZoom ..." << endl;
fHisto->GetXaxis()->UnZoom();
fMainCanvas->Modified(); // needed that Update is actually working