adopted to comment MUSR-99

This commit is contained in:
nemu
2009-11-09 07:20:16 +00:00
parent a63868369a
commit 4bb5b7e979
2 changed files with 6 additions and 8 deletions

View File

@ -773,8 +773,7 @@ void PMsrRunBlock::SetBkgFix(Double_t dval, UInt_t idx)
Int_t PMsrRunBlock::GetBkgRange(UInt_t i)
{
if (i > fBkgRange.size()) {
cerr << endl << ">> PMsrRunBlock::GetBkgRange: **ERROR** index i=" << i << " out of range, fatal." << endl;
assert(0);
return -1;
}
return fBkgRange[i];
@ -807,8 +806,7 @@ void PMsrRunBlock::SetBkgRange(Int_t ival, UInt_t idx)
Int_t PMsrRunBlock::GetDataRange(UInt_t i)
{
if (i > fDataRange.size()) {
cerr << endl << ">> PMsrRunBlock::GetDataRange: **ERROR** index i=" << i << " out of range, fatal." << endl;
assert(0);
return -1;
}
return fDataRange[i];