source: trunk/MagicSoft/Simulation/Detector/Camera/MDiagdict.cxx@ 10083

Last change on this file since 10083 was 308, checked in by harald, 25 years ago
This the starting point for CVS controlled further developments of the camera program. The program was originally written by Jose Carlos. But here you can find a "rootified" version to the program. This means that there is no hbook stuff in it now. Also the output of the program changed to the MagicRawDataFormat. The "rootification" was done by Dirk Petry and Harald Kornmayer. In the following you can see the README file of that version: ================================================== Fri Oct 22 1999 D.P. The MAGIC Monte Carlo System Camera Simulation Programme --------------------------- 1) Description This version is the result of the fusion of H.K.'s root_camera which is described below (section 2) and another version by D.P. which had a few additional useful features. The version compiles under Linux with ROOT 2.22 installed (variable ROOTSYS has to be set). Compile as before simply using "make" in the root_camera directory. All features of H.K.'s root_camera were retained. Additional features of this version are: a) HBOOK is no longer used and all references are removed. b) Instead of HBOOK, the user is given now the possibility of having Diagnostic data in ROOT format as a complement to the ROOT Raw data. This data is written to the file which is determined by the new input parameter "diag_file" in the camera parameter file. All source code file belonging to this part have filenames starting with "MDiag". The user can read the output file using the following commands in an interactive ROOT session: root [0] .L MDiag.so root [1] new TFile("diag.root"); root [2] new TTreeViewer("T"); This brings up a viewer from which all variables of the TTree can be accessed and histogrammed. This example assumes that you have named the file "diag.root", that you are using ROOT version 2.22 or later and that you have the shared object library "MDiag.so" which is produced by the Makefile along with the executable "camera". ! The contents of the so-called diag file is not yet fixed. ! At the moment it is what J.C.G. used to put into the HBOOK ! ntuple. In future versions the moments calculation can be ! removed and the parameter list be modified correspondingly. c) Now concatenated reflector files can be read. This is useful if you have run the reflector with different parameters but you want to continue the analysis with all reflector data going into ONE ROOT outputfile. The previous camera version contained a bug which made reading of two or more concatenated reflector files impossible. d) The reflector output format was changed. It is now version 0.4 . The change solely consists in a shortening of the flag definition in the file include-MC/MCCphoton.hxx ! IF YOU WANT TO READ REFLECTOR FORMAT 0.3, you can easily ! do so by recompiling camera with the previous version of ! include-MC/MCCphoton.hxx. The change was necessary for saving space and better debugging. From now on, this format can be frozen. ! For producing reflector output in the new format, you ! of course have to recompile your reflector with the ! new include-MC/MCCphoton.hxx . e) A first version of the pixelization with the larger outer pixels is implemented. THIS IS NOT YET FULLY TESTED, but first rough tests show that it works at least to a good approximation. The present version implements the camera outline with 18 "gap-pixels" and 595 pixels in total as shown in http://sarastro.ifae.es/internal/home/hardware/camera/numbering.ps This change involved (i) The file pixels.dat is no longer needed. Instead the coordinates are generated by the program itself (takes maybe 1 second). In the file pixel-coords.txt in the same directory as this README, you find a list of the coordinates generated by this new routine. It has the format number i j x y size-factor where i and j are J.C.G.'s so called biaxis hexagonal coordinates (for internal use) and x and y are the coordinates of the pixel centers in the standard camera coordinate system in units of centimeters. The value of "size-factor" determines the linear size of the pixel relative to the central pixels. (ii) The magic.def file has two additional parameters which give the number of central pixels and the number of gap pixels (iii) In camera.h and camera.cxx several changes were necessary, among them the introduction of several new functions The newly suggested outline with asymmetric Winston cones will be implemented in a later version. f) phe files can no longer be read since this contradicts our philosophy that the analysis should be done with other programs like e.g. EVITA and not with "camera" itself. This possibility was removed. g) ROOT is no longer invoked with an interactive interface. In this way, camera can better be run as a batch program and it uses less memory. h) small changes concerning the variable "t_chan" were necessary in order to avoid segmentation faults: The variable is used as an index and it went sometimes outside the limits when camera was reading proton data. This is because the reflector files don't contain the photons in a chronological order and also the timespread can be considerably longer that the foreseen digitisation timespan. Please see the source code of camera.cxx round about line 1090. j) several unused variables were removed, a few warning messages occur when you compile camera.cxx but these can be ignored at the moment. In general the program is of course not finished. It still needs debugging, proper trigger simulation, simulation of the asymmetric version of the outer pixels, proper NSB simulation, adaption of the diag "ntuple" contents to our need and others small improvements. In the directory rfl-files there is now a file in reflector format 0.4 containing a single event produced by the starfiled adder. It has a duration of 30 ns and represents the region around the Crab Nebula. Using the enclosed input parameter file, camera should process this file without problems. 2) The README for the previous version of root_camera README for a preliminary version of the root_camera program. root_camera is based on the program "camera"of Jose Carlos Gonzalez. It was changed in the way that only the pixelisation and the distibution of the phe to the FADCs works in a first version. Using the #undef command most possibilities of the orignal program are switched of. The new parts are signed by - ROOT or __ROOT__ nearly all important codelines for ROOT output are enclosed in structures like #ifdef __ROOT__ code #endif __ROOT__ In same case the new lines are signed by a comment with the word ROOT in it. For timing of the pulse some variable names are changed. (t0, t1, t --> t_ini, t_fin, t_1st, t_chan,...) Look also for this changes. For the new root-file is also a change in readparm-files - __DETAIL_TRIGGER__ This is for the implementation of the current work on trigger studies. Because the class MTrigger is not well documented it isn´t a part of this tar file. Only a dummy File exists. With all files in the archive, the root_camera program should run. A reflector file is in the directory rfl-files ================================================== From now on, use CVS for development!!!!
File size: 24.9 KB
Line 
1/********************************************************
2* MDiagdict.cxx
3********************************************************/
4#include "MDiagdict.h"
5
6#ifdef G__MEMTEST
7#undef malloc
8#endif
9
10extern "C" void G__cpp_reset_tagtableMDiagdict();
11
12extern "C" void G__set_cpp_environmentMDiagdict() {
13 G__add_macro("__MAKECINT__");
14 G__add_compiledheader("TROOT.h");
15 G__add_compiledheader("TMemberInspector.h");
16 G__add_compiledheader("MDiag.h");
17 G__cpp_reset_tagtableMDiagdict();
18}
19extern "C" int G__cpp_dllrevMDiagdict() { return(51111); }
20
21/*********************************************************
22* Member function Interface Method
23*********************************************************/
24
25/* MDiagEventobject */
26static int G__MDiagEventobject_MDiagEventobject_0_0(G__value *result7,char *funcname,struct G__param *libp,int hash) {
27 MDiagEventobject *p=NULL;
28 if(G__getaryconstruct()) p=new MDiagEventobject[G__getaryconstruct()];
29 else p=new MDiagEventobject;
30 result7->obj.i = (long)p;
31 result7->ref = (long)p;
32 result7->type = 'u';
33 result7->tagnum = G__get_linked_tagnum(&G__MDiagdictLN_MDiagEventobject);
34 return(1 || funcname || hash || result7 || libp) ;
35}
36
37static int G__MDiagEventobject_DeclFileName_2_0(G__value *result7,char *funcname,struct G__param *libp,int hash) {
38 G__letint(result7,67,(long)((MDiagEventobject*)(G__getstructoffset()))->DeclFileName());
39 return(1 || funcname || hash || result7 || libp) ;
40}
41
42static int G__MDiagEventobject_DeclFileLine_3_0(G__value *result7,char *funcname,struct G__param *libp,int hash) {
43 G__letint(result7,105,(long)((MDiagEventobject*)(G__getstructoffset()))->DeclFileLine());
44 return(1 || funcname || hash || result7 || libp) ;
45}
46
47static int G__MDiagEventobject_ImplFileName_4_0(G__value *result7,char *funcname,struct G__param *libp,int hash) {
48 G__letint(result7,67,(long)((MDiagEventobject*)(G__getstructoffset()))->ImplFileName());
49 return(1 || funcname || hash || result7 || libp) ;
50}
51
52static int G__MDiagEventobject_ImplFileLine_5_0(G__value *result7,char *funcname,struct G__param *libp,int hash) {
53 G__letint(result7,105,(long)((MDiagEventobject*)(G__getstructoffset()))->ImplFileLine());
54 return(1 || funcname || hash || result7 || libp) ;
55}
56
57static int G__MDiagEventobject_Class_Version_6_0(G__value *result7,char *funcname,struct G__param *libp,int hash) {
58 G__letint(result7,115,(long)((MDiagEventobject*)(G__getstructoffset()))->Class_Version());
59 return(1 || funcname || hash || result7 || libp) ;
60}
61
62static int G__MDiagEventobject_Class_7_0(G__value *result7,char *funcname,struct G__param *libp,int hash) {
63 G__letint(result7,85,(long)((MDiagEventobject*)(G__getstructoffset()))->Class());
64 return(1 || funcname || hash || result7 || libp) ;
65}
66
67static int G__MDiagEventobject_Dictionary_8_0(G__value *result7,char *funcname,struct G__param *libp,int hash) {
68 G__setnull(result7);
69 ((MDiagEventobject*)(G__getstructoffset()))->Dictionary();
70 return(1 || funcname || hash || result7 || libp) ;
71}
72
73static int G__MDiagEventobject_IsA_9_0(G__value *result7,char *funcname,struct G__param *libp,int hash) {
74 G__letint(result7,85,(long)((MDiagEventobject*)(G__getstructoffset()))->IsA());
75 return(1 || funcname || hash || result7 || libp) ;
76}
77
78static int G__MDiagEventobject_ShowMembers_0_1(G__value *result7,char *funcname,struct G__param *libp,int hash) {
79 G__setnull(result7);
80 ((MDiagEventobject*)(G__getstructoffset()))->ShowMembers(*(TMemberInspector*)libp->para[0].ref,(char*)G__int(libp->para[1]));
81 return(1 || funcname || hash || result7 || libp) ;
82}
83
84static int G__MDiagEventobject_Streamer_1_1(G__value *result7,char *funcname,struct G__param *libp,int hash) {
85 G__setnull(result7);
86 ((MDiagEventobject*)(G__getstructoffset()))->Streamer(*(TBuffer*)libp->para[0].ref);
87 return(1 || funcname || hash || result7 || libp) ;
88}
89
90// automatic copy constructor
91static int G__MDiagEventobject_MDiagEventobject_2_1(G__value *result7,char *funcname,struct G__param *libp,int hash)
92{
93 MDiagEventobject *p;
94 if(1!=libp->paran) ;
95 p=new MDiagEventobject(*(MDiagEventobject*)G__int(libp->para[0]));
96 result7->obj.i = (long)p;
97 result7->ref = (long)p;
98 result7->type = 'u';
99 result7->tagnum = G__get_linked_tagnum(&G__MDiagdictLN_MDiagEventobject);
100 return(1 || funcname || hash || result7 || libp) ;
101}
102
103// automatic destructor
104static int G__MDiagEventobject_wAMDiagEventobject_3_1(G__value *result7,char *funcname,struct G__param *libp,int hash) {
105 if(G__getaryconstruct())
106 if(G__PVOID==G__getgvp())
107 delete[] (MDiagEventobject *)(G__getstructoffset());
108 else
109 for(int i=G__getaryconstruct()-1;i>=0;i--)
110 delete (MDiagEventobject *)((G__getstructoffset())+sizeof(MDiagEventobject)*i);
111 else delete (MDiagEventobject *)(G__getstructoffset());
112 G__setnull(result7);
113 return(1 || funcname || hash || result7 || libp) ;
114}
115
116
117/* Setting up global function */
118
119/*********************************************************
120* Member function Stub
121*********************************************************/
122
123/* MDiagEventobject */
124
125/*********************************************************
126* Global function Stub
127*********************************************************/
128
129/*********************************************************
130* Get size of pointer to member function
131*********************************************************/
132class G__Sizep2memfuncMDiagdict {
133 public:
134 G__Sizep2memfuncMDiagdict() {p=&G__Sizep2memfuncMDiagdict::sizep2memfunc;}
135 size_t sizep2memfunc() { return(sizeof(p)); }
136 private:
137 size_t (G__Sizep2memfuncMDiagdict::*p)();
138};
139
140size_t G__get_sizep2memfuncMDiagdict()
141{
142 G__Sizep2memfuncMDiagdict a;
143 G__setsizep2memfunc((int)a.sizep2memfunc());
144 return((size_t)a.sizep2memfunc());
145}
146
147
148/*********************************************************
149* virtual base class offset calculation interface
150*********************************************************/
151
152 /* Setting up class inheritance */
153
154/*********************************************************
155* Inheritance information setup/
156*********************************************************/
157extern "C" void G__cpp_setup_inheritanceMDiagdict() {
158
159 /* Setting up class inheritance */
160 if(0==G__getnumbaseclass(G__get_linked_tagnum(&G__MDiagdictLN_MDiagEventobject))) {
161 MDiagEventobject *G__Lderived;
162 G__Lderived=(MDiagEventobject*)0x1000;
163 {
164 TObject *G__Lpbase=(TObject*)G__Lderived;
165 G__inheritance_setup(G__get_linked_tagnum(&G__MDiagdictLN_MDiagEventobject),G__get_linked_tagnum(&G__MDiagdictLN_TObject),(long)G__Lpbase-(long)G__Lderived,1,1);
166 }
167 }
168}
169
170/*********************************************************
171* typedef information setup/
172*********************************************************/
173extern "C" void G__cpp_setup_typetableMDiagdict() {
174
175 /* Setting up typedef entry */
176 G__search_typename2("Char_t",99,-1,0,
177-1);
178 G__setnewtype(-1,"Signed Character 1 byte",0);
179 G__search_typename2("UChar_t",98,-1,0,
180-1);
181 G__setnewtype(-1,"Unsigned Character 1 byte",0);
182 G__search_typename2("Short_t",115,-1,0,
183-1);
184 G__setnewtype(-1,"Signed Short integer 2 bytes",0);
185 G__search_typename2("UShort_t",114,-1,0,
186-1);
187 G__setnewtype(-1,"Unsigned Short integer 2 bytes",0);
188 G__search_typename2("Int_t",105,-1,0,
189-1);
190 G__setnewtype(-1,"Signed integer 4 bytes",0);
191 G__search_typename2("UInt_t",104,-1,0,
192-1);
193 G__setnewtype(-1,"Unsigned integer 4 bytes",0);
194 G__search_typename2("Seek_t",105,-1,0,
195-1);
196 G__setnewtype(-1,"File pointer",0);
197 G__search_typename2("Long_t",108,-1,0,
198-1);
199 G__setnewtype(-1,"Signed long integer 8 bytes",0);
200 G__search_typename2("ULong_t",107,-1,0,
201-1);
202 G__setnewtype(-1,"Unsigned long integer 8 bytes",0);
203 G__search_typename2("Float_t",102,-1,0,
204-1);
205 G__setnewtype(-1,"Float 4 bytes",0);
206 G__search_typename2("Double_t",100,-1,0,
207-1);
208 G__setnewtype(-1,"Float 8 bytes",0);
209 G__search_typename2("Text_t",99,-1,0,
210-1);
211 G__setnewtype(-1,"General string",0);
212 G__search_typename2("Bool_t",98,-1,0,
213-1);
214 G__setnewtype(-1,"Boolean (0=false, 1=true)",0);
215 G__search_typename2("Byte_t",98,-1,0,
216-1);
217 G__setnewtype(-1,"Byte (8 bits)",0);
218 G__search_typename2("Version_t",115,-1,0,
219-1);
220 G__setnewtype(-1,"Class version identifier",0);
221 G__search_typename2("Option_t",99,-1,0,
222-1);
223 G__setnewtype(-1,"Option string",0);
224 G__search_typename2("Ssiz_t",105,-1,0,
225-1);
226 G__setnewtype(-1,"String size",0);
227 G__search_typename2("Real_t",102,-1,0,
228-1);
229 G__setnewtype(-1,"TVector and TMatrix element type",0);
230 G__search_typename2("VoidFuncPtr_t",89,-1,0,
231-1);
232 G__setnewtype(-1,"pointer to void function",0);
233 G__search_typename2("FreeHookFun_t",89,-1,0,
234-1);
235 G__setnewtype(-1,NULL,0);
236 G__search_typename2("ReAllocFun_t",81,-1,0,
237-1);
238 G__setnewtype(-1,NULL,0);
239 G__search_typename2("ReAllocCFun_t",81,-1,0,
240-1);
241 G__setnewtype(-1,NULL,0);
242 G__search_typename2("Axis_t",102,-1,0,
243-1);
244 G__setnewtype(-1,"Axis values type",0);
245 G__search_typename2("Stat_t",100,-1,0,
246-1);
247 G__setnewtype(-1,"Statistics type",0);
248 G__search_typename2("Font_t",115,-1,0,
249-1);
250 G__setnewtype(-1,"Font number",0);
251 G__search_typename2("Style_t",115,-1,0,
252-1);
253 G__setnewtype(-1,"Style number",0);
254 G__search_typename2("Marker_t",115,-1,0,
255-1);
256 G__setnewtype(-1,"Marker number",0);
257 G__search_typename2("Width_t",115,-1,0,
258-1);
259 G__setnewtype(-1,"Line width",0);
260 G__search_typename2("Color_t",115,-1,0,
261-1);
262 G__setnewtype(-1,"Color number",0);
263 G__search_typename2("SCoord_t",115,-1,0,
264-1);
265 G__setnewtype(-1,"Screen coordinates",0);
266 G__search_typename2("Coord_t",102,-1,0,
267-1);
268 G__setnewtype(-1,"Pad world coordinates",0);
269 G__search_typename2("Angle_t",102,-1,0,
270-1);
271 G__setnewtype(-1,"Graphics angle",0);
272 G__search_typename2("Size_t",102,-1,0,
273-1);
274 G__setnewtype(-1,"Attribute size",0);
275}
276
277/*********************************************************
278* Data Member information setup/
279*********************************************************/
280
281 /* Setting up class,struct,union tag member variable */
282
283 /* MDiagEventobject */
284static void G__setup_memvarMDiagEventobject(void) {
285 G__tag_memvar_setup(G__get_linked_tagnum(&G__MDiagdictLN_MDiagEventobject));
286 { MDiagEventobject *p; p=(MDiagEventobject*)0x1000; if (p) { }
287 G__memvar_setup((void*)((long)(&p->n)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"n=",0,(char*)NULL);
288 G__memvar_setup((void*)((long)(&p->primary)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"primary=",0,(char*)NULL);
289 G__memvar_setup((void*)((long)(&p->energy)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"energy=",0,(char*)NULL);
290 G__memvar_setup((void*)((long)(&p->cored)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"cored=",0,(char*)NULL);
291 G__memvar_setup((void*)((long)(&p->impact)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"impact=",0,(char*)NULL);
292 G__memvar_setup((void*)((long)(&p->xcore)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"xcore=",0,(char*)NULL);
293 G__memvar_setup((void*)((long)(&p->ycore)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"ycore=",0,(char*)NULL);
294 G__memvar_setup((void*)((long)(&p->theta)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"theta=",0,(char*)NULL);
295 G__memvar_setup((void*)((long)(&p->phi)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"phi=",0,(char*)NULL);
296 G__memvar_setup((void*)((long)(&p->deviations)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"deviations=",0,(char*)NULL);
297 G__memvar_setup((void*)((long)(&p->dtheta)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"dtheta=",0,(char*)NULL);
298 G__memvar_setup((void*)((long)(&p->dphi)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"dphi=",0,(char*)NULL);
299 G__memvar_setup((void*)((long)(&p->trigger)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"trigger=",0,(char*)NULL);
300 G__memvar_setup((void*)((long)(&p->ncphs)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"ncphs=",0,(char*)NULL);
301 G__memvar_setup((void*)((long)(&p->maxpassthr_phe)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"maxpassthr_phe=",0,(char*)NULL);
302 G__memvar_setup((void*)((long)(&p->nphes)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"nphes=",0,(char*)NULL);
303 G__memvar_setup((void*)((long)(&p->nphes2)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"nphes2=",0,(char*)NULL);
304 G__memvar_setup((void*)((long)(&p->length)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"length=",0,(char*)NULL);
305 G__memvar_setup((void*)((long)(&p->width)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"width=",0,(char*)NULL);
306 G__memvar_setup((void*)((long)(&p->dist)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"dist=",0,(char*)NULL);
307 G__memvar_setup((void*)((long)(&p->xdist)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"xdist=",0,(char*)NULL);
308 G__memvar_setup((void*)((long)(&p->azw)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"azw=",0,(char*)NULL);
309 G__memvar_setup((void*)((long)(&p->miss)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"miss=",0,(char*)NULL);
310 G__memvar_setup((void*)((long)(&p->alpha)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"alpha=",0,(char*)NULL);
311 G__memvar_setup((void*)((long)(&p->conc2)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"conc2=",0,(char*)NULL);
312 G__memvar_setup((void*)((long)(&p->conc3)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"conc3=",0,(char*)NULL);
313 G__memvar_setup((void*)((long)(&p->conc4)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"conc4=",0,(char*)NULL);
314 G__memvar_setup((void*)((long)(&p->conc5)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"conc5=",0,(char*)NULL);
315 G__memvar_setup((void*)((long)(&p->conc6)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"conc6=",0,(char*)NULL);
316 G__memvar_setup((void*)((long)(&p->conc7)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"conc7=",0,(char*)NULL);
317 G__memvar_setup((void*)((long)(&p->conc8)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"conc8=",0,(char*)NULL);
318 G__memvar_setup((void*)((long)(&p->conc9)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"conc9=",0,(char*)NULL);
319 G__memvar_setup((void*)((long)(&p->conc10)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"conc10=",0,(char*)NULL);
320 G__memvar_setup((void*)((long)(&p->asymx)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"asymx=",0,(char*)NULL);
321 G__memvar_setup((void*)((long)(&p->asymy)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"asymy=",0,(char*)NULL);
322 G__memvar_setup((void*)((long)(&p->phiasym)-(long)(p)),102,0,0,-1,G__defined_typename("Float_t"),-1,1,"phiasym=",0,(char*)NULL);
323 G__memvar_setup((void*)NULL,85,0,0,G__get_linked_tagnum(&G__MDiagdictLN_TClass),-1,-2,4,"fgIsA=",0,(char*)NULL);
324 }
325 G__tag_memvar_reset();
326}
327
328extern "C" void G__cpp_setup_memvarMDiagdict() {
329}
330/***********************************************************
331************************************************************
332************************************************************
333************************************************************
334************************************************************
335************************************************************
336************************************************************
337***********************************************************/
338
339/*********************************************************
340* Member function information setup for each class
341*********************************************************/
342static void G__setup_memfuncMDiagEventobject(void) {
343 /* MDiagEventobject */
344 G__tag_memfunc_setup(G__get_linked_tagnum(&G__MDiagdictLN_MDiagEventobject));
345 G__memfunc_setup("MDiagEventobject",1595,G__MDiagEventobject_MDiagEventobject_0_0,105,G__get_linked_tagnum(&G__MDiagdictLN_MDiagEventobject),-1,0,0,1,1,0,"",(char*)NULL,(void*)NULL,0);
346 G__memfunc_setup("DeclFileName",1145,G__MDiagEventobject_DeclFileName_2_0,67,-1,-1,0,0,1,1,1,"",(char*)NULL,(void*)NULL,0);
347 G__memfunc_setup("DeclFileLine",1152,G__MDiagEventobject_DeclFileLine_3_0,105,-1,-1,0,0,1,1,0,"",(char*)NULL,(void*)NULL,0);
348 G__memfunc_setup("ImplFileName",1171,G__MDiagEventobject_ImplFileName_4_0,67,-1,-1,0,0,1,1,1,"",(char*)NULL,(void*)NULL,0);
349 G__memfunc_setup("ImplFileLine",1178,G__MDiagEventobject_ImplFileLine_5_0,105,-1,-1,0,0,1,1,0,"",(char*)NULL,(void*)NULL,0);
350 G__memfunc_setup("Class_Version",1339,G__MDiagEventobject_Class_Version_6_0,115,-1,G__defined_typename("Version_t"),0,0,1,1,0,"",(char*)NULL,(void*)NULL,0);
351 G__memfunc_setup("Class",502,G__MDiagEventobject_Class_7_0,85,G__get_linked_tagnum(&G__MDiagdictLN_TClass),-1,0,0,1,1,0,"",(char*)NULL,(void*)NULL,0);
352 G__memfunc_setup("Dictionary",1046,G__MDiagEventobject_Dictionary_8_0,121,-1,-1,0,0,1,1,0,"",(char*)NULL,(void*)NULL,0);
353 G__memfunc_setup("IsA",253,G__MDiagEventobject_IsA_9_0,85,G__get_linked_tagnum(&G__MDiagdictLN_TClass),-1,0,0,1,1,8,"",(char*)NULL,(void*)NULL,1);
354 G__memfunc_setup("ShowMembers",1132,G__MDiagEventobject_ShowMembers_0_1,121,-1,-1,0,2,1,1,0,
355"u 'TMemberInspector' - 1 - insp C - - 0 - parent",(char*)NULL,(void*)NULL,1);
356 G__memfunc_setup("Streamer",835,G__MDiagEventobject_Streamer_1_1,121,-1,-1,0,1,1,1,0,"u 'TBuffer' - 1 - b",(char*)NULL,(void*)NULL,1);
357 // automatic copy constructor
358 G__memfunc_setup("MDiagEventobject",1595,G__MDiagEventobject_MDiagEventobject_2_1,(int)('i'),G__get_linked_tagnum(&G__MDiagdictLN_MDiagEventobject),-1,0,1,1,1,0,"u 'MDiagEventobject' - 1 - -",(char*)NULL,(void*)NULL,0);
359 // automatic destructor
360 G__memfunc_setup("~MDiagEventobject",1721,G__MDiagEventobject_wAMDiagEventobject_3_1,(int)('y'),-1,-1,0,0,1,1,0,"",(char*)NULL,(void*)NULL,1);
361 G__tag_memfunc_reset();
362}
363
364
365/*********************************************************
366* Member function information setup
367*********************************************************/
368extern "C" void G__cpp_setup_memfuncMDiagdict() {
369}
370
371/*********************************************************
372* Global variable information setup for each class
373*********************************************************/
374extern "C" void G__cpp_setup_globalMDiagdict() {
375
376 /* Setting up global variables */
377 G__resetplocal();
378
379
380 G__resetglobalenv();
381}
382
383/*********************************************************
384* Global function information setup for each class
385*********************************************************/
386extern "C" void G__cpp_setup_funcMDiagdict() {
387 G__lastifuncposition();
388
389
390 G__resetifuncposition();
391}
392
393/*********************************************************
394* Class,struct,union,enum tag information setup
395*********************************************************/
396/* Setup class/struct taginfo */
397G__linked_taginfo G__MDiagdictLN_TClass = { "TClass" , 99 , -1 };
398G__linked_taginfo G__MDiagdictLN_TObject = { "TObject" , 99 , -1 };
399G__linked_taginfo G__MDiagdictLN_MDiagEventobject = { "MDiagEventobject" , 99 , -1 };
400
401/* Reset class/struct taginfo */
402extern "C" void G__cpp_reset_tagtableMDiagdict() {
403 G__MDiagdictLN_TClass.tagnum = -1 ;
404 G__MDiagdictLN_TObject.tagnum = -1 ;
405 G__MDiagdictLN_MDiagEventobject.tagnum = -1 ;
406}
407
408extern "C" void G__cpp_setup_tagtableMDiagdict() {
409
410 /* Setting up class,struct,union tag entry */
411 G__tagtable_setup(G__get_linked_tagnum(&G__MDiagdictLN_MDiagEventobject),sizeof(MDiagEventobject),-1,0,(char*)NULL,G__setup_memvarMDiagEventobject,G__setup_memfuncMDiagEventobject);
412}
413extern "C" void G__cpp_setupMDiagdict() {
414 G__check_setup_version(51111,"G__cpp_setupMDiagdict()");
415 G__set_cpp_environmentMDiagdict();
416 G__cpp_setup_tagtableMDiagdict();
417
418 G__cpp_setup_inheritanceMDiagdict();
419
420 G__cpp_setup_typetableMDiagdict();
421
422 G__cpp_setup_memvarMDiagdict();
423
424 G__cpp_setup_memfuncMDiagdict();
425 G__cpp_setup_globalMDiagdict();
426 G__cpp_setup_funcMDiagdict();
427
428 if(0==G__getsizep2memfunc()) G__get_sizep2memfuncMDiagdict();
429 return;
430}
431class G__cpp_setup_initMDiagdict {
432 public:
433 G__cpp_setup_initMDiagdict() { G__add_setup_func("MDiagdict",&G__cpp_setupMDiagdict); }
434 ~G__cpp_setup_initMDiagdict() { G__remove_setup_func("MDiagdict"); }
435};
436G__cpp_setup_initMDiagdict G__cpp_setup_initializerMDiagdict;
437
438//
439// File generated by /cern/root/bin/rootcint at Fri Oct 29 11:52:06 1999.
440// Do NOT change. Changes will be lost next time file is generated
441//
442
443#include "TBuffer.h"
444#include "TMemberInspector.h"
445#include "TError.h"
446
447//______________________________________________________________________________
448TBuffer &operator>>(TBuffer &buf, MDiagEventobject *&obj)
449{
450 // Read a pointer to an object of class MDiagEventobject.
451
452 obj = (MDiagEventobject *) buf.ReadObject(MDiagEventobject::Class());
453 return buf;
454}
455
456//______________________________________________________________________________
457void MDiagEventobject::Streamer(TBuffer &R__b)
458{
459 // Stream an object of class MDiagEventobject.
460
461 if (R__b.IsReading()) {
462 Version_t R__v = R__b.ReadVersion(); if (R__v) { }
463 TObject::Streamer(R__b);
464 R__b >> n;
465 R__b >> primary;
466 R__b >> energy;
467 R__b >> cored;
468 R__b >> impact;
469 R__b >> xcore;
470 R__b >> ycore;
471 R__b >> theta;
472 R__b >> phi;
473 R__b >> deviations;
474 R__b >> dtheta;
475 R__b >> dphi;
476 R__b >> trigger;
477 R__b >> ncphs;
478 R__b >> maxpassthr_phe;
479 R__b >> nphes;
480 R__b >> nphes2;
481 R__b >> length;
482 R__b >> width;
483 R__b >> dist;
484 R__b >> xdist;
485 R__b >> azw;
486 R__b >> miss;
487 R__b >> alpha;
488 R__b >> conc2;
489 R__b >> conc3;
490 R__b >> conc4;
491 R__b >> conc5;
492 R__b >> conc6;
493 R__b >> conc7;
494 R__b >> conc8;
495 R__b >> conc9;
496 R__b >> conc10;
497 R__b >> asymx;
498 R__b >> asymy;
499 R__b >> phiasym;
500 } else {
501 R__b.WriteVersion(MDiagEventobject::IsA());
502 TObject::Streamer(R__b);
503 R__b << n;
504 R__b << primary;
505 R__b << energy;
506 R__b << cored;
507 R__b << impact;
508 R__b << xcore;
509 R__b << ycore;
510 R__b << theta;
511 R__b << phi;
512 R__b << deviations;
513 R__b << dtheta;
514 R__b << dphi;
515 R__b << trigger;
516 R__b << ncphs;
517 R__b << maxpassthr_phe;
518 R__b << nphes;
519 R__b << nphes2;
520 R__b << length;
521 R__b << width;
522 R__b << dist;
523 R__b << xdist;
524 R__b << azw;
525 R__b << miss;
526 R__b << alpha;
527 R__b << conc2;
528 R__b << conc3;
529 R__b << conc4;
530 R__b << conc5;
531 R__b << conc6;
532 R__b << conc7;
533 R__b << conc8;
534 R__b << conc9;
535 R__b << conc10;
536 R__b << asymx;
537 R__b << asymy;
538 R__b << phiasym;
539 }
540}
541
542//______________________________________________________________________________
543void MDiagEventobject::ShowMembers(TMemberInspector &R__insp, char *R__parent)
544{
545 // Inspect the data members of an object of class MDiagEventobject.
546
547 TClass *R__cl = MDiagEventobject::IsA();
548 Int_t R__ncp = strlen(R__parent);
549 if (R__ncp || R__cl || R__insp.IsA()) { }
550 R__insp.Inspect(R__cl, R__parent, "n", &n);
551 R__insp.Inspect(R__cl, R__parent, "primary", &primary);
552 R__insp.Inspect(R__cl, R__parent, "energy", &energy);
553 R__insp.Inspect(R__cl, R__parent, "cored", &cored);
554 R__insp.Inspect(R__cl, R__parent, "impact", &impact);
555 R__insp.Inspect(R__cl, R__parent, "xcore", &xcore);
556 R__insp.Inspect(R__cl, R__parent, "ycore", &ycore);
557 R__insp.Inspect(R__cl, R__parent, "theta", &theta);
558 R__insp.Inspect(R__cl, R__parent, "phi", &phi);
559 R__insp.Inspect(R__cl, R__parent, "deviations", &deviations);
560 R__insp.Inspect(R__cl, R__parent, "dtheta", &dtheta);
561 R__insp.Inspect(R__cl, R__parent, "dphi", &dphi);
562 R__insp.Inspect(R__cl, R__parent, "trigger", &trigger);
563 R__insp.Inspect(R__cl, R__parent, "ncphs", &ncphs);
564 R__insp.Inspect(R__cl, R__parent, "maxpassthr_phe", &maxpassthr_phe);
565 R__insp.Inspect(R__cl, R__parent, "nphes", &nphes);
566 R__insp.Inspect(R__cl, R__parent, "nphes2", &nphes2);
567 R__insp.Inspect(R__cl, R__parent, "length", &length);
568 R__insp.Inspect(R__cl, R__parent, "width", &width);
569 R__insp.Inspect(R__cl, R__parent, "dist", &dist);
570 R__insp.Inspect(R__cl, R__parent, "xdist", &xdist);
571 R__insp.Inspect(R__cl, R__parent, "azw", &azw);
572 R__insp.Inspect(R__cl, R__parent, "miss", &miss);
573 R__insp.Inspect(R__cl, R__parent, "alpha", &alpha);
574 R__insp.Inspect(R__cl, R__parent, "conc2", &conc2);
575 R__insp.Inspect(R__cl, R__parent, "conc3", &conc3);
576 R__insp.Inspect(R__cl, R__parent, "conc4", &conc4);
577 R__insp.Inspect(R__cl, R__parent, "conc5", &conc5);
578 R__insp.Inspect(R__cl, R__parent, "conc6", &conc6);
579 R__insp.Inspect(R__cl, R__parent, "conc7", &conc7);
580 R__insp.Inspect(R__cl, R__parent, "conc8", &conc8);
581 R__insp.Inspect(R__cl, R__parent, "conc9", &conc9);
582 R__insp.Inspect(R__cl, R__parent, "conc10", &conc10);
583 R__insp.Inspect(R__cl, R__parent, "asymx", &asymx);
584 R__insp.Inspect(R__cl, R__parent, "asymy", &asymy);
585 R__insp.Inspect(R__cl, R__parent, "phiasym", &phiasym);
586 TObject::ShowMembers(R__insp, R__parent);
587}
588
Note: See TracBrowser for help on using the repository browser.