fixed some 'uninitialized' stuff. Add canvas graphic dump feature, and fixed crash described in MUSR-53

This commit is contained in:
nemu
2009-04-29 07:20:42 +00:00
parent addc2f5b91
commit ea0800b4fe
5 changed files with 96 additions and 37 deletions

View File

@ -324,7 +324,7 @@ void PMusrT0::InitDataAndBkg()
// add lines
// t0 line
int t0Bin;
Int_t t0Bin = 0;
switch (fDetectorTag) {
case DETECTOR_TAG_FORWARD:
t0Bin = fMsrHandler->GetMsrRunList()->at(fRunNo).fT0[0 + fAddRunNo * fAddRunOffset/2];