StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StTrsDigitalSector.hh
1 /***************************************************************************
2  *
3  * $Id: StTrsDigitalSector.hh,v 1.13 2008/06/20 15:01:03 fisyak Exp $
4  *
5  * Author: bl prelim
6  ***************************************************************************
7  *
8  * Description: Store the digital information in a space
9  * efficient manner:
10  * Data:
11  * TimeBin 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15...
12  * ADC Vaue 0 0 0 5 9 4 0 0 0 0 7 9 3 0 0 1...
13  *
14  * will be stored as an array of short in a compressed manner
15  * where the ADC values remain and the number of zeros are compressed
16  * and stored as a negative number. The data above will be stored
17  * as:
18  *
19  * -3 5 9 4 -4 7 9 3 -2 1....
20  *
21  * This will be the format coming from the DigitalSignalGenerator
22  * NOTE: Encapsulation is broken in this class to allow easy
23  * access to the data via the TPC data reader interface!
24  ***************************************************************************
25  *
26  * $Log: StTrsDigitalSector.hh,v $
27  * Revision 1.13 2008/06/20 15:01:03 fisyak
28  * move from StTrsData to StTpcRawData
29  *
30  * Revision 1.12 2007/07/12 20:25:05 fisyak
31  * Use StarLogger, use time of flight, fix cluster shape
32  *
33  * Revision 1.11 2005/09/09 22:12:48 perev
34  * Bug fix + IdTruth added
35  *
36  * Revision 1.9 2005/07/19 22:22:02 perev
37  * Bug fix
38  *
39  * Revision 1.8 2003/12/24 13:44:51 fisyak
40  * Add (GEANT) track Id information in Trs; propagate it via St_tpcdaq_Maker; account interface change in StTrsZeroSuppressedReaded in StMixerMaker
41  *
42  * Revision 1.7 2000/06/23 00:12:24 snelling
43  * Removed dependence on local files now pointed to StDbUtilities
44  *
45  * Revision 1.6 2000/01/10 23:11:31 lasiuk
46  * Include MACROS for compatibility with SUN CC5.0
47  *
48  * Revision 1.5 1999/11/05 22:17:04 calderon
49  * Made private copy constructor and operator= in StTrsDigitalSector.
50  * Renamed DigitalSignalGenerators: Fast -> Old, Parameterized -> Fast
51  * and use new "Fast" as default.
52  * Added StTrsZeroSuppressedReader and StTrsZeroSuppressedReader for DAQ type
53  * data access.
54  *
55  * Revision 1.4 1999/10/19 21:17:57 calderon
56  * New format of data for the Digital Sector without mZeros.
57  * Member functions modified accordingly. Not tested yet, but
58  * committed because cons still can't handle changes in the
59  * TRS header files.
60  *
61  * Revision 1.3 1999/10/11 23:55:10 calderon
62  * Version with Database Access and persistent file.
63  * Not fully tested due to problems with cons, it
64  * doesn't find the local files at compile time.
65  * Yuri suggests forcing commit to work directly with
66  * files in repository.
67  *
68  * Revision 1.2 1999/01/22 08:06:03 lasiuk
69  * use unsigned char for compatibilty with interface.
70  * requires use of two arrays...ugly but fine for now.
71  * use of pair<>; values returned by pointer
72  *
73  * Revision 1.1 1999/01/18 10:23:42 lasiuk
74  * initial Revision
75  *
76  *
77  **************************************************************************/
78 #ifndef ST_TRS_DIGITAL_SECTOR_HH
79 #define ST_TRS_DIGITAL_SECTOR_HH
80 #include "StTpcRawData.h"
82 #endif