Hi all,
this problem is very simple, I just can’t see the solution right now. I would like to extract data from a file and make plots form it. I keep getting error messages
Error: Missing one of ‘,)’ expected at or after line 26.
Error: Unexpected end of file (G__fgetstream_template():2) /home/cpv/nina/PedestalAttempt.C:91:
Error: Missing one of ‘,;{(’ expected at or after line 91.
Error: Unexpected end of file (G__fgetstream_template():2) /home/cpv/nina/PedestalAttempt.C:91:
Error: Missing one of ‘{’ expected at or after line 91.
Error: Unexpected end of file (G__fignorestream():3) /home/cpv/nina/PedestalAttempt.C:91:
even though all the brackets should be matching well.
What is at line 26 is this:
for(int i=0; i<nCrate; i++) {
tr[i]->SetBranchAddress(“nFADC”, &NFADC[i]);
tr[i]->SetBranchAddress(“Data”,Data[i]);
tr[i]->SetBranchAddress(“TimeStamp”,TimeStamp[i]);
tr[i]->SetBranchAddress(“SpillNo”,Spill[i]);
}
Line 91:
c1-> print(“c1.pdf”);
do you know what could the problem be/
Thank you very much!