This is a log of changes to CDF 4152.  The log was 
started on 3 October 2000.  It does not address changes 
before that date.  The date tells when the DOCUMENT 
changed which is not necessarily when the change went 
in to the DAQ and the data.  The policy is that the 
document should be changed before the data, but this is 
often not the case.

The date the change occurred, the title of the sections
that were changed and a few brief comments are given for 
each change.

Note that changes in one section may cause the page, section,
table, and figure numbers to change in many places.  These 
types of changes are not logged.

(Author of this page from 2000 to at least 2008: David Dagenhart)

-------------------------------------------------------

3 October 2000 - All Muon bank sections, CMUD, CMPD, CSPD, 
CMXD, CSXD, BMUD, BSUD, and TSUD. Added table for CMPD
that details relationship between the stack number in the
bank and the geometric position of chambers.  Added 
flexibility in banks that store the wedge number
in the "lowest wedge" and "wedge in TDC" fields.  
The rest of the changes simply improved the wording
of the document in many places where it was confusing 
or misleading.  Deleted material not relevant to the
format.

------------------------------------------------------

3 October 2000 - Forward detector section and all 
subsections.  The FDLD bank was completely redefined.
Technical issues led them to radically alter the
data to be stored in the bank.  The changes to
the other forward banks were only minor rewordings,
not format changes.

------------------------------------------------------

5 October 2000 - CMPD section.  Added nomenclature to be
used to distinguish the two stack numbers in the offline.
"physical stacks" and "logical stacks".

------------------------------------------------------

5 October 2000 - MPAC. MPAP, RPAC, RPAP sections.  These
are new sections.

------------------------------------------------------

10 October 2000 - PPRC, PPRP, PESC, PESP sections.  These
are new sections.

-------------------------------------------------------

23 October 2000 - CSPD revision.  Counter and region
indices defined clearly (were ambiguous).  Moved
the region number from the module ID to the 
channel ID.

-------------------------------------------------------

10 November 2000 - CMPD, BSUD, and TSUD sections revised. 
In CMPD, table giving map from physical channel IDs
to geometric indices was modified to reflect a different
number of channels in the bottom region and a different 
map to part number in the bottom region.  BSUD and TSUD were
only modified to use different nomenclature for one of the
bit fields (the actual data format was not changed).

-------------------------------------------------------

21 November 2000 - PPRD description added.  Minor change
to the calorimeter bank sections, units of data word are
"counts" (before said "????").  Affects CHAD, CEMD, WHAD,
PEMD, and PHAD.  PEMD and PHAD description of assignment
of channels to blocks and channel ordering modified.

-------------------------------------------------------

30 November 2000 - PESD description modified.  This change
made the document consistent with data written in the
commissioning run.  There were problems with the number
blocks and data word definition.  The old description
was also incomplete in a number of ways.  The channel
ID description was improved, comments on hit order added,
block definitions added.
-------------------------------------------------------

4 December 2000 - Fix mispelled word in PESD section.

-------------------------------------------------------

17 January 2001 - TOFD section.  Delete transition ID and ADMEM ID 
from header word and improvements to the text description.

-------------------------------------------------------

19 January 2001 - New banks CSHD, PSHD, CSSD, CSED, PSED. These
contain error info from the SMXR detectors (mostly shower max detectors).
CSSD contains coherent pedestal shifts for the central detectors that
use SMXR.

-------------------------------------------------------

22 January 2001 - PSED - Fix typo.  In data word, parity error is
bit 13 not 15.

-------------------------------------------------------

31 January 2001 - TOFD - Transition ID and ADMEM ID are back in the 
ADMEM header word.  The bit fields in the ADMEM header word have
been moved and resized.  Some minor edits to the text description.

-------------------------------------------------------

12 February 2001 - TOFC and TOFP - New bank classes.

-------------------------------------------------------

14 February 2001 - SL1D format changed.  This was a major revision of
the format.  Too many changes to summarize.

-------------------------------------------------------

15 February 2001 - TL1D.  Fix error in the documentation describing
the bit fields in the last data word in the Caltrg card.

-------------------------------------------------------

22 February 2001 - BFLD.  New bank description.

-------------------------------------------------------

23 February 2001 - SIXS.  Add a pointer section to SIXS at 
the start of the bank.  In addition, some minor rewording 
(not format changes) to the section decribing the HDI block 
format.
-------------------------------------------------------

9 March 2001 - SIXP, SIXC, SIXT. Major revisions to the
formats of these banks.  Also a minor revision to the 
section early in the note that describes the HDI block 
format, but this was only improved the text description,  
the SIXD format did not change.

-------------------------------------------------------

13 March 2001 - CMPD. Change to the map from physical 
stack to logical stack on the north side.

-------------------------------------------------------

14 March 2001 - TCMD. Complete rewrite of format.  The
description in the note was several months out of date.

-------------------------------------------------------

26 March 2001 - PEMD/PHAD section. Fix error in the figure
caption that describes the conversion between the two 
definitions of tower number.

-------------------------------------------------------

26 March 2001 - FDLD section. Major revision of the format
of this bank.  Before run 110026 the format of this bank
was not stable.

-------------------------------------------------------

27 March 2001 -  Section titled "SVX3 data format" (the one 
early in the note that gives the common characteristics of 
the silicon banks, not the sections that describe the specific 
banks).  Added detail on the interpretation of the data word 
in the silicon banks and the back end state word.  Not a 
format change so much as defining things that had not been 
specified earlier.

-------------------------------------------------------

4 April 2001 -  TL1D section.  Additional info added to better
describe contents of words 1 and 2 in the sumet card.  Not a 
change in format.  Only the large table was modified.

-------------------------------------------------------

5 April 2001 -  TC1D section.  Description modified to indicate
card order may vary or cards may be missing.  Slot numbers 
to be used to identify cards are defined.

-------------------------------------------------------

6 April 2001 -  XTRD section.  Definition of header word modified.
Slot numbers used to identify cards are defined.  Bit field 
assignments in track data words modified.  These changes were
made in the DAQ some time ago.  The document is updated to 
be consistent with the data.

-------------------------------------------------------

9 April 2001 -  SVTD section.  These changes were made in 
the DAQ some time ago.  The document is updated to be 
consistent with the data.  Includes adding cards pointers,
deleting the number of tracks word, and several other changes
to the bit field definitions.

-------------------------------------------------------

25 April 2001 -  SVTD section.  These changes were made in 
the DAQ some time ago.  The document is updated to be 
consistent with the data.  Card header word added.
Clarified description of the end of packet and end event
bits.  Some additional text added to describe some things
in more detail.

-------------------------------------------------------

7 May 2001 -  TMPD section.  Add new section describing
a DAQ diagnostic bank.

-------------------------------------------------------

7 May 2001 -  SVTD section. Not a format change.
Improve wording of text that describes bank.
Fix error, curvature in units 1/cm not 1/m.

-------------------------------------------------------

8 May 2001 -  SVTD section. Not a format change.
One more small change that fixes errors in the
description of the units and range of the
curvature and impact parameter bit fields.

-------------------------------------------------------

14 May 2001 -  CLLD section. Luminosity data words
are changed from 16 bit to 32 bit.  This is not a backwards
compatible change.  Old banks will no longer be 
readable.  Effective in data at run 114627.

-------------------------------------------------------

16 May 2001 -  LSPD section.  New bank.  Holds
pin diode data for laser system used for plug
calorimeter and plug shower max.

-------------------------------------------------------

24 May 2001 -  Section for the forward banks.  Major 
rewrite of RPAD and MPAD formats.  Channel ID bit fields 
are the same and they are still QIE type banks, but many
other things changed significantly.  Also a few minor wording 
changes in the descriptions for FDLD and FDAD.  There is no 
data and very little code that exists for these banks.

-------------------------------------------------------

24 May 2001 -  CSPD.  Fixed error in documentation.  Number 
of counters on the north side is 34 not 32.  Number
of counters on south side is 34 not 33.

-------------------------------------------------------

29 May 2001 -  SIXD, ISLD sections.  Added pad words to tables
that describe the structure of all silicon banks with HDI blocks.
This also affects silicon calibration banks.

-------------------------------------------------------

30 May 2001 -  TC2D sections.  Add slot ID definitions and
make it clear that card order may vary and that cards may be 
missing.  Reword the text to make it read better.

-------------------------------------------------------

5 June 2001 -  XFFD and XFLD sections.  Add tables that define
the slot IDs and make it clear that card order may vary and that 
cards may be missing.  Also fix a minor cut and paste error 
in TC2D section.  Delete the word "PREFRED" from the header word
definition.

-------------------------------------------------------

14 June 2001 -  BFLD sections. Add block pointer section.
Fix units.  Gauss not Tesla. Current in units of 0.1 Amps.

-------------------------------------------------------

18 July 2001 -   INHD section. New bank for trigger inhibit
data.

-------------------------------------------------------

18 July 2001 -  XTRD. Add header word to second block.
Change bit fields in Track Trigger data word.
This is a documentation correction, the actual data format 
is not changed.

-------------------------------------------------------

18 July 2001 - SVTD.  Change the description of the
SVX hit coordinates.  This is a documentation correction,
not a data format change.

-------------------------------------------------------

1 August 2001 - LSPD.  Major rewrite of text, especially the
part defining the correspondence of the channel ID to the
hardware channels.  Bank class is not affected.  There
is no code or data for this one yet, so the impact should be
minimal.

-------------------------------------------------------

21 August 2001 - SVDD.  New bank.  This is a bank with a 
flexible format for use in debugging SVT.

-------------------------------------------------------

19 October 2001 - PESD.  Description of the geometry and the
correspondence between the channel IDs and the strips was
fixed.  It was simply incorrect before.  This is not a change
to the format of the raw data.  It is correction that
makes the documentation consistent with the data that has
been coming from the detector.

-------------------------------------------------------

3 November 2001 - SL1D and TFRD. Major change is that many words
in SL1D that were previously not defined are now defined.  Some
minor wording improvements in the descriptions.  The locations
of words that had previously been defined have not changed.
Almost all of the changes are in the tables.

-------------------------------------------------------

6 November 2001 - Sections 3 to 7 early in the note were
all heavily edited.  These are the sections that apply to
all banks. Short sections related to versioning and
EDM2 were added.  The rest was reworded and improved.
Also, throughout the note many tables indicated the
third word in the bank was an "index to the next bank
with the same name".  These were all changed to Bank 
Version".

-------------------------------------------------------

9 November 2001 - New bank class.  CTMD for COT
pressure, voltage, current data.

-------------------------------------------------------

26 November 2001 - XCES card section in the TL2D section.
The format of this card was not documented before, and
the details have been filled in.

-------------------------------------------------------

17 December 2001 - TL2D section.  2nd card changes
from SL7 card to L1 scaler card.  It was never filled
with data before.  Several other corrections to correct 
the documentation to be consistent with the data we have
been getting from the detector for some time. These changes 
affected the following words.

   - 1st word of L1 Trigger Card
   - last word of XTRP card
   - all the XTRP track data words
   - the 2nd word for each track in the SVT Card
   - all the cluster card data words

-------------------------------------------------------

10 January 2002 - TL2D section. More changes to make
the description accurately reflect the data format
that has been coming from the detector for some
time and added details.  There is an extra paragraph
in the XTRP card section about "Track phi".  The table
that gives the bitfields in the SVT card is modified
and there is an extra descriptive paragraph underneath 
that table.
-------------------------------------------------------

15 January 2002 - XTID section deleted.  There was a 
plan for this bank several years ago, but it was never
and will never be created.

-------------------------------------------------------

30 January 2002 - CSHD and PSHD sections.  Correct the
documentation to be consistent with the data that
has been coming from the detector.  The SMXR
channel ID is not written into the channel ID
for these banks.  It can be determined from the
geographic address in the header words.  Also
a few minor wording improvements to those sections.

-------------------------------------------------------

11 April 2002 - CMPD section. Fix an error in the
caption describing the big table.  When we modified 
the table last year we did not notice that this also 
affected one sentence in the table caption.  This 
is not a change in the format, just fixing an 
inconsistency in the documentation.

-------------------------------------------------------

8 May 2002 - TSUD section. We have been taking
data with the layer bit set to 0 for the outer
layer for some time.  Someone recently noticed 
this mistake. To keep all the data consistent, we 
decided to change this convention in CDF 4152
for TSU.  Now inner layer is 1 and outer layer
is 0 and not vice versa.  Also added a comment
that the inner layer does not exist yet.

-------------------------------------------------------

9 May 2002 - CTMD section. Order of words in the
bank reordered to be consistent with the data
coming from the detector since the hardware
was installed on 5 April 2002.

-------------------------------------------------------

20 June 2002 - CTMD section. Error in the
description of the formula for the conversion
of data words to voltages was corrected.  
The format of the data was not changed
only the description corrected.

-------------------------------------------------------

15 October 2002 - CTAD section. New section
added describing this COT diagnostic bank.

-------------------------------------------------------

29 October 2002 - EMTD section. New section
describing the format for electromagnetic
calorimeter TDC data.

-------------------------------------------------------

1 November 2002 - EMTD section. Modify the way
wedge number is specified so that the lowest
wedge is no longer specified, only the sum
that gives the wedge.

-------------------------------------------------------

19 November 2002 - EMTD section. Move the side 
bit from the channel ID to the module ID to make
the module IDs unique.

-------------------------------------------------------

18 December 2002 - EMTD section. Swap the side
and rapidity bits in the module ID plus some
improved text to better explain things. 

-------------------------------------------------------

30 December 2002 - TFTD section. New bank.  
A diagnostic trigger bank for the TOF trigger. 

-------------------------------------------------------

29 January 2003 - EMTD section. Extend the bank format
so that it can handle the TDC configuration that will
be used during system testing and prototyping.

-------------------------------------------------------

3 September 2003 - TDC section. Format for all TDC banks
changed to allow but not require a pad word at the end of
each TDC data section.  This change required by the hardware
to support "Dual-Ported-FIFO" readout mode.  Changes to the
DSP code are under test to implement this.  The purpose is
to speedup the data readout.  Data with this new format
is expected to enter the data stream in the near future.

-------------------------------------------------------

13 October 2003 - TDC section. More changes to the TDC
format. This affects all TDC banks.  Word order within
TDC section revised, pad word added, and the first flag
bit is now always set to 0.  Changes are designed to 
make data readout faster.  Expect data in this format
sometime in November.  Note that the TDC format put into
the note on 3 September (above entry) never made it into
the data (and never will).

-------------------------------------------------------

24 November 2003 - SL1D section.  The SL1D data format 
did not change.  This change only made the documentation
more complete and explicit.

-------------------------------------------------------

4 December 2003 - TCED and TM2D sections.  Deleted them.
These banks were planned once upon a time, but they do
not exist and now it is pretty clear that they will never
exist.

-------------------------------------------------------

4 December 2003 - T2PD section added into note.  This
is a new bank class related to the Muon Pulsar Level 2
board..  TL2D section modified.  Only the format for the 
Muon Pulsar card part of TL2D was modified.

-------------------------------------------------------

5 December 2003 - Very minor correction in the title of
the TL2D section related to the Muon Pulsar card. 

-------------------------------------------------------

13 February 2004 - Add sections for new bank classes:
CP2D, CP2C, CP2P, and TP2D.  The CP2 (CPR upgrade) sections 
are very similar to the corresponding CPR sections.  
The CP2D channel ID is a little different, but the rest
of the bank formats are the same.  The TP2D section is 
mostly empty.  It is just a placeholder for the day in 
the future when that format gets defined.

-------------------------------------------------------

16 February 2004 - Fix a couple typos in the CP2C and CP2P
sections that were added the previous Friday.

-------------------------------------------------------

23 August 2004 - When the CDF web server got moved from cdfsga
to fcdfwww, I discovered that there were problems in the
latex formatting in the document.  I had not modified these
formatting commands since Frank Chlebana gave me the initial
draft several years ago. It always looked OK on cdfsga.

The problem: When printed or viewed on the new machine the 
top of the page got cut off.  So I changed the latex formatting 
commands, had to change the way postscript files were being 
included everywhere, and went from the old style latex 
"documentstyle" to "documentclass".  Some figures, tables, 
and text moved around a little everywhere, but the content 
remained unchanged.  A lot of things are on different pages 
now.

I can now view the document and print from fcdflnx2 and things
look reasonable.

------------------------------------------------------------

23 August 2004 - The TDC section and the COTD section went through
a major rewrite to incorporate the new version 2 TDC format.

------------------------------------------------------------

24 August 2004 - Minor update to the TDC section affected
table listing special values when there are not matching
leading and trailing edges.

------------------------------------------------------------

16 March 2005 - Added new sections for XFT upgrade banks.
XTCD, XSFD, XSLD, and XFTD.

------------------------------------------------------------

19 April 2005 - Added new section for another XFT upgrade bank.
XTCC.

------------------------------------------------------------

9 May 2005 - Modifications to recently added XFT upgrade bank formats.
XTCD and XTCC banks.  Changes to definitions of the header words.

------------------------------------------------------------

1 June 2005 - New bank class for SVT upgrade, STDD.  Most of the 
format details are not defined yet.

------------------------------------------------------------

13 September 2005 - New bank class related to XFT upgrade, T2FD.

------------------------------------------------------------

21 October 2005 - TL2D, card 9 format changed to accommodate
up to 192 L2 triggers instead of 128.

------------------------------------------------------------

11 November 2005 - T2FD, Update format, As this new bank was 
being implemented in the hardware and DAQ it was realized 
there are 2 crates and there must be 2 blocks not 3.  Plus some 
other minor changes.

------------------------------------------------------------

26 January 2006 - TMSD, Miscellaneous Timing bank from Rick
Tesarek.  New bank.

------------------------------------------------------------

16 June 2006 - Revised format description for T2FD bank.
This is a L2 diagnostic bank for trigger development.
Changes from Aron Soha.

------------------------------------------------------------

7 August 2006 - TP2D, added a description of this bank.  (Level 2
Pulsar bank).  Before we simply had a placeholder here.  Added
a detailed description.

------------------------------------------------------------

9 September 2006 - Add new section for TFAD (TOF Flash ADC bank),
but the format is not really defined yet so this is just a
placeholder.  Add new text that describes the details of the
XSLD format (what was there before was just a placeholder).

----------------------------------------------------------------

6 February 2007 - Add new subsection for RXPD (Return Crosspoint bank)

---------------------------------------------------------------

12 May 2007 - Minor update to trigger section to properly account
for the L1 stereo confirmation bit in the L2 banks..

---------------------------------------------------------------

7 Feb 2008 - Reflects changes made in the 2007 shutdown to
the formats for T2FD, TP2D, and TL2D banks.  In TL2D
the XTRP section changed, the L2CAL section was added
and the custer and isolation cards were dropped.

---------------------------------------------------------------

21 March 2008 - Reflects changes made in the 2007 shutdown to
the format for TL2D and a correction in that format.

---------------------------------------------------------------

9 October 2008 - This is an update from Bill Badgett
which adds a new block in the TL1D bank for the Level 1
Pulsar Missing ET upgrade.