8 |
|
#ifndef _CHUNK_H__ |
9 |
|
#define _CHUNK_H__ |
10 |
|
|
11 |
< |
#define _CRT_SECURE_NO_DEPRECATE |
11 |
> |
#define _CRT_SECURE_NO_DEPRECATE 1 |
12 |
|
|
13 |
|
#include <stdio.h> |
14 |
|
#include <vector> |
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_TRACKHITS 12111 // Contains RecHits |
44 |
> |
#define C_RECO_TRACKHIT 12111 // Contains RecHits |
45 |
> |
#define C_RECO_TRACKINFO 12112 // Contains Pt, Collection, Chi2 |
46 |
> |
|
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 |
49 |
> |
|
50 |
> |
#define C_RECO_MUONSEG 12410 // Contains Chunks related to Muon Segment |
51 |
> |
#define C_RECO_MUONHIT 12420 // Contains Chunks related to Muon Hits |
52 |
|
|
53 |
|
#define C_GEOMETRY 20000 // Contains Chunks related to the Geometry |
54 |
|
// [20000,29999] is reserved for geometry |
55 |
|
|
56 |
+ |
|
57 |
|
#define C_TRACKER 21000 // Contains Chunks related to the Tracker Geometry |
58 |
|
// [21000,21999] is reserved for the Tracker Geometry |
59 |
+ |
#define C_TRACKER_MOD 21100 // Contains data of a Module |
60 |
|
|
52 |
– |
#define C_TRACKER_PIB 21100 // Contains data of a PIB Module |
53 |
– |
#define C_TRACKER_PIE 21200 // Contains data of a PIE Module |
54 |
– |
#define C_TRACKER_TIB 21300 // Contains data of a TIB Module |
55 |
– |
#define C_TRACKER_TID 21400 // Contains data of a TID Module |
56 |
– |
#define C_TRACKER_TOB 21500 // Contains data of a TOB Module |
57 |
– |
#define C_TRACKER_TEC 21600 // Contains data of a TEC Module |
61 |
|
|
62 |
|
#define C_ECAL 22000 // Contains Chunks related to the ECAL Geometry |
63 |
|
// [22000,22999] is reserved for the ECAL Geometry |
64 |
+ |
#define C_ECAL_MOD 22100 // Contains data of a Module |
65 |
|
|
62 |
– |
#define C_ECAL_EB 22100 // Contains data of a EB Module |
63 |
– |
#define C_ECAL_EE 22200 // Contains data of a EE Module |
64 |
– |
#define C_ECAL_PS 22300 // Contains data of a PS Module |
66 |
|
|
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 |
70 |
+ |
|
71 |
|
|
72 |
< |
#define C_HCAL_HB 23100 // Contains data of a HB Module |
73 |
< |
#define C_HCAL_HE 23200 // Contains data of a HE Module |
74 |
< |
#define C_HCAL_HO 23300 // Contains data of a HO Module |
72 |
< |
#define C_HCAL_HF 23400 // Contains data of a HF Module |
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 |
75 |
|
|
76 |
+ |
#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 |
79 |
|
|
80 |
|
|
81 |
|
void ReadChunk (FILE* pFile, stChunk* pChunk); |