ClassData::ClearData reset the outFileIndex = 0
This commit is contained in:
parent
a9b98c36f3
commit
e9e5ae3023
|
@ -84,7 +84,7 @@ int main(int argc, char **argv) {
|
||||||
totalHitCount += readerA->GetHitCount();
|
totalHitCount += readerA->GetHitCount();
|
||||||
|
|
||||||
for( int i = 1; i < nFile; i++){
|
for( int i = 1; i < nFile; i++){
|
||||||
FSUReader * readerB = new FSUReader(inFileName[i].Data(), 1, 0);
|
FSUReader * readerB = new FSUReader(inFileName[i].Data(), 1, 1);
|
||||||
readerB->ScanNumBlock(0,0);
|
readerB->ScanNumBlock(0,0);
|
||||||
totalHitCount += readerB->GetHitCount();
|
totalHitCount += readerB->GetHitCount();
|
||||||
fileInfo = {inFileName[i].Data(), readerB->GetSN() * 1000 + readerB->GetFileOrder(), readerB->GetHitCount()};
|
fileInfo = {inFileName[i].Data(), readerB->GetSN() * 1000 + readerB->GetFileOrder(), readerB->GetHitCount()};
|
||||||
|
|
|
@ -330,6 +330,8 @@ inline void Data::ClearData(){
|
||||||
tempDigiWaveform3.clear();
|
tempDigiWaveform3.clear();
|
||||||
tempDigiWaveform4.clear();
|
tempDigiWaveform4.clear();
|
||||||
|
|
||||||
|
outFileIndex = 0;
|
||||||
|
|
||||||
ClearNumEventsDecoded();
|
ClearNumEventsDecoded();
|
||||||
ClearTriggerRate();
|
ClearTriggerRate();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user