It is worth taking a few moments to look over tca_demo_titles.dat. It contains a single TCAC and all the TCAR banks. We will skip the TCAC bank and deal with elements of it as the need arises. Looking at the first TCAR bank, the meat of it consists of:-
nhit_1 equals nhit_1: 30. 30.; nhit_2 equals nhit_2: 20. 20.; id_1 equals entry_no_1; id_2 equals entry_no_2; del_time ntime_difference time_jdy_1,time_jdy_2;From what you have already learned it should be clear that a primary contains exactly 30 hits and a secondary 20 (I did say this was artificial!). The next two lines appear to be wrong; our n-tuple does not have an entry_no variable. This will be explained in section 7.3.5. The last line just captures the time difference between the primary and secondary into the output n-tuple
There is a second n-tuple in the file, TCAR 202, more on this later.