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.11 by querten, Sun May 4 06:46:29 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
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
31  
32 < #define C_SIM                           11000   // Contains Chunks related to Simulation
33 <                                                                        // [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
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  
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 #define C_RECO_TRACKINFO        12112           // Contains Pt, Collection, Chi2
35  
47 #define C_RECO_ECALHIT          12210           // Contains Chunks related to Ecal Clusters/Hits
48 #define C_RECO_HCALHIT          12310           // Contains Chunks related to Hcal Clusters/Hits
36  
50 #define C_RECO_MUONSEG          12410           // Contains Chunks related to Muon Segment
51 #define C_RECO_MUONHIT          12420           // Contains Chunks related to Muon Hits
37  
38 < #define C_GEOMETRY                      20000   // Contains Chunks related to the Geometry
39 <                                                                        // [20000,29999] is reserved for geometry
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_TRACKER                       21000   // Contains Chunks related to the Tracker Geometry
49 <                                                                        // [21000,21999] is reserved for the Tracker Geometry
50 < #define C_TRACKER_MOD           21100   // Contains data of a Module
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_ECAL                          22000   // Contains Chunks related to the ECAL Geometry
58 <                                                                        // [22000,22999] is reserved for the ECAL Geometry
64 < #define C_ECAL_MOD                      22100   // Contains data of a Module
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  
67 #define C_HCAL                          23000   // Contains Chunks related to the HCAL Geometry
68                                                                        // [23000,23999] is reserved for the HCAL Geometry
69 #define C_HCAL_MOD                      23100   // Contains data of a Module
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  
72 #define C_MUON                          24000   // Contains Chunks related to the Muon Geometry
73                                                                        // [24000,24999] is reserved for the Muon Geometry
74 #define C_MUON_MOD                      24100   // Contains data of a Module
68  
69 < #define C_FWD                           25000   // Contains Chunks related to the FWD Geometry
77 <                                                                        // [23000,23999] is reserved for the FWD Geometry
78 < #define C_FWD_MOD                       25100   // Contains data of a Module
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);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines