ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/FastOpenGlDisplayer/interface/Chunk.h
(Generate patch)

Comparing UserCode/FastOpenGlDisplayer/interface/Chunk.h (file contents):
Revision 1.8 by querten, Sat Apr 19 14:34:58 2008 UTC vs.
Revision 1.12 by querten, Sun Jun 8 06:42:32 2008 UTC

# Line 24 | Line 24 | struct stChunkToSave{  unsigned short typ
24                                                  std::vector<stChunkToSave*>     daughters; };
25  
26  
27 < #define C_PRIMARY                       55555   // Primary ChunkId
28 <                                                                        // Other Chunks are daughters of
29 <                                                                        // this PrimaryChunk
30 <
31 < #define C_EVENT                         10000   // Contains Chunks related to the Event
32 <                                                                        // [10000,19999] is reserved for Event data
33 <
34 < #define C_SIM                           11000   // Contains Chunks related to Simulation
35 <                                                                        // [11000,11999] is reserved for Simulation data
36 < #define C_SIM_TRACKHIT          11010           // Contains PSimHits
37 < #define C_SIM_CALOHIT           11020           // Contains PCaloHits
38 < #define C_SIM_VERTEX            11030           // Contains SimVertex
39 < #define C_SIM_TRACK                     11040           // Contains SimTracks
40 <
41 < #define C_RECO                          12000   // Contains Chunks related to Reconstruction
42 <                                                                        // [12000,12999] is reserved for Reconstruction data
43 < #define C_RECO_TRACK            12110           // Contains Chunks related to RecoTracks
44 < #define C_RECO_TRACKHIT         12111           // Contains RecHits
45 <
46 < #define C_RECO_ECALHIT          12210           // Contains Chunks related to Ecal Clusters/Hits
47 < #define C_RECO_HCALHIT          12310           // Contains Chunks related to Hcal Clusters/Hits
48 <
49 < #define C_RECO_MUONSEG          12410           // Contains Chunks related to Muon Segment
50 < #define C_RECO_MUONHIT          12420           // Contains Chunks related to Muon Hits
51 <
52 < #define C_GEOMETRY                      20000   // Contains Chunks related to the Geometry
53 <                                                                        // [20000,29999] is reserved for geometry
54 <
55 < #define C_TRACKER                       21000   // Contains Chunks related to the Tracker Geometry
56 <                                                                        // [21000,21999] is reserved for the Tracker Geometry
57 <
58 < #define C_TRACKER_PIB           21100   // Contains data of a PIB Module
59 < #define C_TRACKER_PIE           21200   // Contains data of a PIE Module
60 < #define C_TRACKER_TIB           21300   // Contains data of a TIB Module
61 < #define C_TRACKER_TID           21400   // Contains data of a TID Module
62 < #define C_TRACKER_TOB           21500   // Contains data of a TOB Module
63 < #define C_TRACKER_TEC           21600   // Contains data of a TEC Module
64 <
65 < #define C_ECAL                          22000   // Contains Chunks related to the ECAL Geometry
66 <                                                                        // [22000,22999] is reserved for the ECAL Geometry
67 <
68 < #define C_ECAL_EB                       22100   // Contains data of a EB Module
69 < #define C_ECAL_EE                       22200   // Contains data of a EE Module
70 < #define C_ECAL_PS                       22300   // Contains data of a PS Module
71 <
72 < #define C_HCAL                          23000   // Contains Chunks related to the HCAL Geometry
73 <                                                                        // [23000,23999] is reserved for the HCAL Geometry
74 <
75 < #define C_HCAL_HB                       23100   // Contains data of a HB Module
76 < #define C_HCAL_HE                       23200   // Contains data of a HE Module
77 < #define C_HCAL_HO                       23300   // Contains data of a HO Module
78 < #define C_HCAL_HF                       23400   // Contains data of a HF Module
79 <
80 < #define C_MUON                          24000   // Contains Chunks related to the Muon Geometry
81 <                                                                        // [24000,24999] is reserved for the Muon Geometry
82 <
83 < #define C_MUON_DT                       24100   // Contains data of a DT Module
84 < #define C_MUON_CSC                      24200   // Contains data of a CSC Module
85 < #define C_MUON_RPC                      24300   // Contains data of a RPC Module
27 > #define C_PRIMARY                                       55555   // Primary ChunkId
28 >                                                                                        // Other Chunks are daughters of
29 >                                                                                        // this PrimaryChunk
30  
31  
32 + #define C_FEB_DETID                                      1000   // Contains a FROG_ELEMENT_BASE_WITH_DETID
33 + #define C_FEB_DETID_COMPACT                      2000   // Contains a FROG_ELEMENT_BASE_WITH_DETID
34  
35  
36 +
37 +
38 + #define C_EVENT                                         10000   // Contains Chunks related to the Event
39 +                                                                                        // [10000,19999] is reserved for Event data
40 +
41 + #define C_SIM                                           11000   // Contains Chunks related to Simulation
42 +                                                                                        // [11000,11999] is reserved for Simulation data
43 + #define C_SIM_TRACKHIT                          11010           // Contains PSimHits
44 + #define C_SIM_CALOHIT                           11020           // Contains PCaloHits
45 + #define C_SIM_VERTEX                            11030           // Contains SimVertex
46 + #define C_SIM_TRACK                                     11040           // Contains SimTracks
47 +
48 + #define C_RECO                                          12000   // Contains Chunks related to Reconstruction
49 +                                                                                        // [12000,12999] is reserved for Reconstruction data
50 + #define C_RECO_TRACK                            12110           // Contains Chunks related to RecoTracks
51 + #define C_RECO_TRACKHIT                         12111           // Contains RecHits
52 + #define C_RECO_TRACKINFO                        12112           // Contains Pt, Collection, Chi2
53 +
54 + #define C_RECO_ECALHIT                          12210           // Contains Chunks related to Ecal Clusters/Hits
55 + #define C_RECO_HCALHIT                          12310           // Contains Chunks related to Hcal Clusters/Hits
56 +
57 + #define C_RECO_MUONSEG                          12410           // Contains Chunks related to Muon Segment
58 + #define C_RECO_MUONHIT                          12420           // Contains Chunks related to Muon Hits
59 +
60 + #define C_GEOMETRY                                      20000   // Contains Chunks related to the Geometry
61 +                                                                                        // [20000,29999] is reserved for geometry
62 +
63 +
64 + #define C_TRACKER                                       21000   // Contains Chunks related to the Tracker Geometry
65 +                                                                                        // [21000,21999] is reserved for the Tracker Geometry
66 + #define C_TRACKER_MOD                           21100   // Contains data of a Module
67 +
68 +
69 + #define C_CALO_MOD                                      11999   // Contains data of a CaloModule //CHUNCK ID TO FIX
70 +
71 + #define C_ECAL                                          22000   // Contains Chunks related to the ECAL Geometry
72 +                                                                                        // [22000,22999] is reserved for the ECAL Geometry
73 + #define C_ECAL_MOD                                      22100   // Contains data of a Module
74 +                                                
75 +
76 +
77 + #define C_HCAL                                          23000   // Contains Chunks related to the HCAL Geometry
78 +                                                                                        // [23000,23999] is reserved for the HCAL Geometry
79 + #define C_HCAL_MOD                                      23100   // Contains data of a Module
80 +
81 +
82 +
83 +
84 + #define C_MUON                                          24000   // Contains Chunks related to the Muon Geometry
85 +                                                                                        // [24000,24999] is reserved for the Muon Geometry
86 + #define C_MUON_MOD                                      24100   // Contains data of a Module
87 +
88 + #define C_FWD                                           25000   // Contains Chunks related to the FWD Geometry
89 +                                                                                        // [23000,23999] is reserved for the FWD Geometry
90 + #define C_FWD_MOD                                       25100   // Contains data of a Module
91 +
92 +
93 +
94 + #define C_PRIMITIVE                                     40000   // Contains Chunks related to Primtive (very basic shape)
95 +                                                                                        // [40000,49999] is reserved for primitive
96 +
97 + #define C_PRIMITIVE_SOLID                       41000   // Contains Chunks related to Solid Primtive (Cube, Sphere, ...)
98 +                                                                                        // [41000,41999] is reserved for primitive
99 +
100 + #define C_PRIMITIVE_CUSTOM_CUBE         41010   // Contains a custom solid defined by 8 corners
101 + #define C_PRIMITIVE_CUBE                        41020   // Contains a cube
102 + #define C_PRIMITIVE_SPHERE                      41030   // Contains a sphere
103 + #define C_PRIMITIVE_PARTIALSPHERE       41031   // Contains a sphere
104 + #define C_PRIMITIVE_CYLINDER            41040   // Contains a cylinder
105 +
106 + #define C_PRIMITIVE_SURFACE                     42000   // Contains Chunks related to Surface Primtive (Plane, Disc, ...)
107 +                                                                                        // [42000,42999] is reserved for primitive
108 +
109 + #define C_PRIMITIVE_CUSTOM_SURFACE      42010   // Contains a custom surface defined by 4 corners
110 + #define C_PRIMITIVE_RECTANGLE           42020   // Contains a rectangle
111 + #define C_PRIMITIVE_DISC                        42030   // Contains a disc
112 +
113 + #define C_PRIMITIVE_LINES                       43000   // Contains Chunks related to Lines Primtive (Line Segment, Circle, ...)
114 + #define C_PRIMITIVE_POINT                       43010   // Contains Chunks related to Lines Primtive (Line Segment, Circle, ...)
115 + #define C_PRIMITIVE_LINE                        43020   // Contains Chunks related to Lines Primtive (Line Segment, Circle, ...)
116 + #define C_PRIMITIVE_CIRCLE                      43030   // Contains Chunks related to Lines Primtive (Line Segment, Circle, ...)
117 +
118   void ReadChunk (FILE* pFile, stChunk* pChunk);
119   void WriteChunk(FILE* pFile, stChunkToSave* pChunk);
120  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines