add the missing firmware

This commit is contained in:
Ryan Tang 2022-11-04 16:42:06 -04:00
parent 51ca791129
commit 0e614db437
10 changed files with 17 additions and 3 deletions

3
.gitignore vendored
View File

@ -1,6 +1,5 @@
*.o *.o
*.log *.log
*.bin
*.csv *.csv
*.gch *.gch
@ -13,5 +12,3 @@ read-set
*.cxx *.cxx
*.pcm *.pcm
pixieDAQ pixieDAQ
script*

17
script.C Normal file
View File

@ -0,0 +1,17 @@
{
evtReader * evt = new evtReader("haha.evt");
evt->ScanNumberOfBlock();
int nData = evt->GetNumberOfBlock();
for( int i = 0; i < nData; i++){
evt->ReadBlock();
int energy = evt->data->energy;
ULong64_t time = evt->data->time;
printf("%4d | %d | %lld\n", i, energy, time);
}
}