1 #include "THBTprocessor.h"
2 //_____________________________________________________________________________
3 ///////////////////////////////////////////////////////////////////////////////
5 // class THBTprocessor //
7 // Wrapper class to HBT processor fortran code. //
8 // For more information see AliGenHBTprocessor class //
9 // HBT processor is written by Lanny Ray //
11 // Comunication is done via COMMON BLOCKS declared in HBTprocCOMMON.h //
12 // using cfortran.h routines //
13 // User should use class AliGenHBTprocessor and all their interface //
14 // see there for more description //
16 // Wrapper class written by //
17 // Piotr Krzysztof Skowronski (Piotr.Skowronski@cern.ch) //
19 ///////////////////////////////////////////////////////////////////////////////
22 #include <TParticle.h>
24 #include "HBTprocCOMMON.h"
26 #include <Riostream.h>
28 # define hbtprocessor hbtprocessor_
32 # define hbtprocessor HBTPROCESSOR
34 # define type_of_call _stdcall
38 ClassImp(THBTprocessor)
40 extern "C" void type_of_call hbtprocessor();
41 extern "C" void type_of_call ctest();
44 /*************************************************/
45 THBTprocessor::THBTprocessor()// it is better not to intialize it:TGenerator("THBTprocessor","THBTprocessor")
46 //because it allocates memmory for TObjArray::fParticles which is not used in our case
47 //and we are using TClonesArray in import paerticles
50 PARAMETERS.ALICE = 1; //flag that we are working in AliRoot (0==STAR stand alone mode)
51 PARAMETERS.pi = TMath::Pi();//3.141592654;
52 PARAMETERS.rad = 180.0/TMath::Pi();
53 PARAMETERS.hbc = 0.19732891;
56 Initialize(); //Enforce initialization (cleaning all commons)
58 /*****************************************************************************************/
60 void THBTprocessor::GenerateEvent() const
64 Info("GenerateEvent","Entering Fortran");
67 Info("GenerateEvent","Exited Fortran");
68 if(PARAMETERS.errorcode)
70 TString message("HBT Processor (fortran part) finished with errors\n");
71 message+="Error code is ";
72 message+=PARAMETERS.errorcode;
74 message+="See hbt_simulation.out file for more detailed information.";
75 Fatal("GenerateEvent","%s",message.Data());
78 Info("GenerateEvent","GOOD ! HBT Processor finished without errors");
80 /*****************************************************************************************/
82 void THBTprocessor::Initialize() const
84 //IT RESETS ALL THE PREVIOUS SETTINGS
85 //Call this method to set default values in PARAMETERS & MESH
86 //and zero other common block
89 Info("Initialize","Setting Default valuses in all COMMON BLOCKS");
91 PARAMETERS.ref_control = 2;
92 PARAMETERS.switch_1d = 3;
93 PARAMETERS.switch_3d = 1;
94 PARAMETERS.switch_type = 3;
95 PARAMETERS.switch_coherence = 0;
96 PARAMETERS.switch_coulomb = 3;
97 PARAMETERS.switch_fermi_bose= 1;
98 PARAMETERS.trk_accep = 1.0;
99 PARAMETERS.print_full = 1;
100 PARAMETERS.print_sector_data= 1;
102 PARAMETERS.n_pid_types = 2;
103 PARAMETERS.pid[0] = 8;
104 PARAMETERS.pid[1] = 9;
105 PARAMETERS.deltap = 0.1;
106 PARAMETERS.maxit = 50;
107 PARAMETERS.delchi = 1.0;
108 PARAMETERS.irand = 76564;
109 PARAMETERS.lambda = 0.6;
110 PARAMETERS.R_1d = 7.0;
111 PARAMETERS.Rside = 6.0;
113 PARAMETERS.Rout = 7.0;
114 PARAMETERS.Rlong = 4.0;
115 PARAMETERS.Rperp = 6.0;
116 PARAMETERS.Rparallel = 4.0;
120 PARAMETERS.n_part_1_trk = 0;
121 PARAMETERS.n_part_2_trk = 0;
122 PARAMETERS.n_part_tot_trk = 0;
123 PARAMETERS.n_part_used_1_trk = 0;
125 PARAMETERS.n_part_used_2_trk = 0;
126 PARAMETERS.n_part_1_trk2 = 0;
127 PARAMETERS.n_part_2_trk2 = 0;
128 PARAMETERS.n_part_tot_trk2 = 0;
129 PARAMETERS.n_part_used_1_trk2 = 0;
130 PARAMETERS.n_part_used_2_trk2 = 0;
131 PARAMETERS.n_part_used_1_ref = 0;
132 PARAMETERS.n_part_used_2_ref = 0;
133 PARAMETERS.n_part_used_1_inc = 0;
134 PARAMETERS.n_part_used_2_inc = 0;
136 PARAMETERS.num_pairs_like = 0;
137 PARAMETERS.num_pairs_unlike = 0;
138 PARAMETERS.num_pairs_like_ref = 0;
139 PARAMETERS.num_pairs_like_inc = 0;
140 PARAMETERS.num_pairs_unlike_inc = 0;
141 PARAMETERS.event_line_counter = 0;
142 PARAMETERS.file10_line_counter = 0;
144 PARAMETERS.chisq_wt_like_1d = 1.0;
145 PARAMETERS.chisq_wt_unlike_1d = 1.0;
146 PARAMETERS.chisq_wt_like_3d_fine = 1.0;
148 PARAMETERS.chisq_wt_unlike_3d_fine = 1.0;
149 PARAMETERS.chisq_wt_like_3d_coarse = 1.0;
150 PARAMETERS.chisq_wt_unlike_3d_coarse= 1.0;
151 PARAMETERS.chisq_wt_hist1_1 = 1.0;
152 PARAMETERS.chisq_wt_hist1_2 = 1.0; // /////internal comment 25 fields
154 /*********************************************/
157 MESH.n_pt_bins = 50; //OK
158 MESH.pt_min = 0.1; //Pt in GeV/c //OK
159 MESH.pt_max = 0.98; //Pt in GeV/c
160 MESH.n_phi_bins = 50; //OK
161 MESH.phi_min = 0.0; //OK
162 MESH.phi_max = 360.0; //OK
163 MESH.n_eta_bins = 50; //OK
164 MESH.eta_min =-1.5; //OK
165 MESH.eta_max = 1.5; //OK
166 MESH.n_1d_fine = 10; //OK
167 MESH.binsize_1d_fine = 0.01; //ok
168 MESH.n_1d_coarse = 2; //O
169 MESH.binsize_1d_coarse= 0.05; //ok
170 MESH.n_3d_fine = 8; //OK
171 MESH.binsize_3d_fine = 0.01; //ok
172 MESH.n_3d_coarse = 2; //OK
173 MESH.binsize_3d_coarse= 0.08; //ok
174 MESH.n_3d_fine_project= 3; //OK
175 MESH.n_px_bins = 20; //OK
176 MESH.px_min =-1.0; //OK
177 MESH.px_max = 1.0; //OK
178 MESH.n_py_bins = 20; //OK
179 MESH.py_min =-1.0; //OK
180 MESH.py_max = 1.0; //OK
181 MESH.n_pz_bins = 70; //OK
182 MESH.pz_min =-3.6; //OK
183 MESH.pz_max = 3.6; //OK
185 /*********************************************/
187 Int_t i; //loop variable
189 for (i =0; i<TRK_MAXLEN;i++)
191 TRACK1.trk_id[i] = 0;
192 TRACK1.trk_px_sec[i] = 0;
193 TRACK1.trk_py_sec[i] = 0;
194 TRACK1.trk_pz_sec[i] = 0;
195 TRACK1.trk_sector[i] = 0;
196 TRACK1.trk_flag[i] = 0;
197 TRACK1.trk_out_flag[i] = 0;
198 TRACK1.trk_merge_flag[i] = 0;
199 TRACK1.trk_ge_pid[i] = 0;
200 TRACK1.trk_start_vertex[i] = 0;
201 TRACK1.trk_stop_vertex[i] = 0;
202 TRACK1.trk_event_line[i] = 0;
203 TRACK1.trk_px[i] = 0;
204 TRACK1.trk_py[i] = 0;
205 TRACK1.trk_pz[i] = 0;
207 TRACK1.trk_pt[i] = 0;
208 TRACK1.trk_phi[i] = 0;
209 TRACK1.trk_eta[i] = 0;
212 /*********************************************/
214 for (i =0; i<TRK2_MAXLEN;i++)
216 TRACK2.trk2_id[i] = 0;
217 TRACK2.trk2_px_sec[i] = 0;
218 TRACK2.trk2_py_sec[i] = 0;
219 TRACK2.trk2_pz_sec[i] = 0;
220 TRACK2.trk2_sector[i] = 0;
221 TRACK2.trk2_flag[i] = 0;
222 TRACK2.trk2_out_flag[i] = 0;
223 TRACK2.trk2_merge_flag[i] = 0;
224 TRACK2.trk2_ge_pid[i] = 0;
225 TRACK2.trk2_start_vertex[i] = 0;
226 TRACK2.trk2_stop_vertex[i] = 0;
227 TRACK2.trk2_event_line[i] = 0;
228 TRACK2.trk2_px[i] = 0;
229 TRACK2.trk2_py[i] = 0;
230 TRACK2.trk2_pz[i] = 0;
231 TRACK2.trk2_E[i] = 0;
232 TRACK2.trk2_pt[i] = 0;
233 TRACK2.trk2_phi[i] = 0;
234 TRACK2.trk2_eta[i] = 0;
237 /*********************************************/
239 for (i =0; i<SEC_MAXLEN;i++)
241 SEC_TRK_MAP.stm_sec_id [i] = 0;
242 SEC_TRK_MAP.stm_n_trk_sec[i] = 0;
243 SEC_TRK_MAP.stm_flag[i] = 0;
245 for (Int_t j=0; j<MAX_TRK_SEC;j++)
246 SEC_TRK_MAP.stm_track_id[i][j] = 0;
249 /*********************************************/
251 for (i =0; i<SEC_MAXLEN2;i++)
253 SEC_TRK_MAP2.stm_sec_id2[i] = 0;
254 SEC_TRK_MAP2.stm_n_trk_sec2[i] = 0;
255 SEC_TRK_MAP2.stm_flag2[i] = 0;
257 for (Int_t j=0; j<MAX_TRK_SEC;j++)
258 SEC_TRK_MAP2.stm_track_id2[i][j] = 0;
261 /*********************************************/
263 for (i =0; i<PART_MAXLEN;i++)
265 PARTICLE.part_id[i] = 0;
266 PARTICLE.part_charge[i] = 0;
267 PARTICLE.part_mass[i] = 0;
268 PARTICLE.part_lifetime[i] = 0;
272 /*********************************************/
273 for (i =0; i<MAX_C2_1D;i++)
275 CORRELATIONS.c2mod_like_1d[i] = 0;
276 CORRELATIONS.c2mod_unlike_1d[i] = 0;
277 CORRELATIONS.c2fit_like_1d[i] = 0;
278 CORRELATIONS.c2fit_unlike_1d[i] = 0;
279 CORRELATIONS.c2err_like_1d[i] = 0;
280 CORRELATIONS.c2err_unlike_1d[i] = 0;
282 /*********************************************/
283 for (i =0; i<MAX_C2_3D;i++)
284 for (Int_t j =0; j<MAX_C2_3D;j++)
285 for (Int_t k =0; k<MAX_C2_3D;k++)
287 CORRELATIONS.c2mod_like_3d_fine[i][j][k] = 0.0;
288 CORRELATIONS.c2mod_unlike_3d_fine[i][j][k] = 0.0;
289 CORRELATIONS.c2mod_like_3d_coarse[i][j][k] = 0.0;
290 CORRELATIONS.c2mod_unlike_3d_coarse[i][j][k] = 0.0;
291 CORRELATIONS.c2fit_like_3d_fine[i][j][k] = 0.0;
292 CORRELATIONS.c2fit_unlike_3d_fine[i][j][k] = 0.0;
293 CORRELATIONS.c2fit_like_3d_coarse[i][j][k] = 0.0;
294 CORRELATIONS.c2fit_unlike_3d_coarse[i][j][k] = 0.0;
295 CORRELATIONS.c2err_like_3d_fine[i][j][k] = 0.0;
296 CORRELATIONS.c2err_unlike_3d_fine[i][j][k] = 0.0;
297 CORRELATIONS.c2err_like_3d_coarse[i][j][k] = 0.0;
298 CORRELATIONS.c2err_unlike_3d_coarse[i][j][k] = 0.0;
300 /*********************************************/
302 EVENT_SUMMARY.niter_mean = 0.0;
303 EVENT_SUMMARY.niter_rms = 0.0;
305 EVENT_SUMMARY.npart1_mean = 0.0;
306 EVENT_SUMMARY.npart1_rms = 0.0;
308 EVENT_SUMMARY.npart2_mean = 0.0;
309 EVENT_SUMMARY.npart2_rms = 0.0;
311 EVENT_SUMMARY.npart_tot_mean = 0.0;
312 EVENT_SUMMARY.npart_tot_rms = 0.0;
314 EVENT_SUMMARY.nsec_flag_mean = 0.0;
315 EVENT_SUMMARY.nsec_flag_rms = 0.0;
317 EVENT_SUMMARY.frac_trks_out_mean = 0.0;
318 EVENT_SUMMARY.frac_trks_out_rms = 0.0;
320 EVENT_SUMMARY.frac_trks_flag_mean = 0.0;
321 EVENT_SUMMARY.frac_trks_flag_rms = 0.0;
323 EVENT_SUMMARY.chi_l1d_mean = 0.0;
324 EVENT_SUMMARY.chi_l1d_rms = 0.0;
326 EVENT_SUMMARY.chi_u1d_mean = 0.0;
327 EVENT_SUMMARY.chi_u1d_rms = 0.0;
329 for (i =0; i<MAX_EVENTS;i++)
331 EVENT_SUMMARY.n_part_used_1_store[i] = 0.0;
332 EVENT_SUMMARY.n_part_used_2_store[i] = 0.0;
333 EVENT_SUMMARY.n_part_tot_store[i] = 0.0;
334 EVENT_SUMMARY.num_sec_flagged_store[i] = 0.0;
335 EVENT_SUMMARY.frac_trks_out[i] = 0.0;
336 EVENT_SUMMARY.frac_trks_flag[i] = 0.0;
337 EVENT_SUMMARY.chisq_like_1d_store[i] = 0.0;
338 EVENT_SUMMARY.num_iter[i] = 0.0;
339 EVENT_SUMMARY.chisq_unlike_1d_store[i] = 0.0;
341 /*********************************************/
342 for (i =0; i<MAX_C2_COUL;i++)
344 COULMB.c2_coul_like[i] = 0.0;
345 COULMB.c2_coul_unlike[i] = 0.0;
346 COULMB.q_coul[i] = 0.0;
349 /*********************************************/
350 for (i =0; i<MAX_H_1D;i++)
352 HISTOGRAMS.hist1_pt_1[i] = 0;
353 HISTOGRAMS.hist1_phi_1[i] = 0;
354 HISTOGRAMS.hist1_eta_1[i] = 0;
355 HISTOGRAMS.hist1_pt_2[i] = 0;
356 HISTOGRAMS.hist1_phi_2[i] = 0;
357 HISTOGRAMS.hist1_eta_2[i] = 0;
358 HISTOGRAMS.htmp1_pt_1[i] = 0;
359 HISTOGRAMS.htmp1_phi_1[i] = 0;
360 HISTOGRAMS.htmp1_eta_1[i] = 0;
361 HISTOGRAMS.htmp1_pt_2[i] = 0;
362 HISTOGRAMS.htmp1_phi_2[i] = 0;
363 HISTOGRAMS.htmp1_eta_2[i] = 0;
364 HISTOGRAMS.href1_pt_1[i] = 0;
365 HISTOGRAMS.href1_phi_1[i] = 0;
366 HISTOGRAMS.href1_eta_1[i] = 0;
367 HISTOGRAMS.href1_pt_2[i] = 0;
368 HISTOGRAMS.href1_phi_2[i] = 0;
369 HISTOGRAMS.href1_eta_2[i] = 0;
370 HISTOGRAMS.hinc1_pt_1[i] = 0;
371 HISTOGRAMS.hinc1_phi_1[i] = 0;
372 HISTOGRAMS.hinc1_eta_1[i] = 0;
373 HISTOGRAMS.hinc1_pt_2[i] = 0;
374 HISTOGRAMS.hinc1_phi_2[i] = 0;
375 HISTOGRAMS.hinc1_eta_2[i] = 0;
376 HISTOGRAMS.hist_like_1d[i] = 0;
377 HISTOGRAMS.hist_unlike_1d[i] = 0;
378 HISTOGRAMS.htmp_like_1d[i] = 0;
379 HISTOGRAMS.htmp_unlike_1d[i] = 0;
380 HISTOGRAMS.href_like_1d[i] = 0;
381 HISTOGRAMS.href_unlike_1d[i] = 0;
382 HISTOGRAMS.hinc_like_1d[i] = 0;
383 HISTOGRAMS.hinc_unlike_1d[i] = 0;
386 for (i =0; i<MAX_H_3D;i++)
387 for (Int_t j =0; j<MAX_H_3D;j++)
388 for (Int_t k =0; k<MAX_H_3D;k++)
390 HISTOGRAMS.hist_like_3d_fine[i][j][k] = 0;
391 HISTOGRAMS.hist_unlike_3d_fine[i][j][k] = 0;
392 HISTOGRAMS.hist_like_3d_coarse[i][j][k] = 0;
393 HISTOGRAMS.hist_unlike_3d_coarse[i][j][k] = 0;
394 HISTOGRAMS.htmp_like_3d_fine[i][j][k] = 0;
395 HISTOGRAMS.htmp_unlike_3d_fine[i][j][k] = 0;
396 HISTOGRAMS.htmp_like_3d_coarse[i][j][k] = 0;
397 HISTOGRAMS.htmp_unlike_3d_coarse[i][j][k] = 0;
398 HISTOGRAMS.href_like_3d_fine[i][j][k] = 0;
399 HISTOGRAMS.href_unlike_3d_fine[i][j][k] = 0;
400 HISTOGRAMS.href_like_3d_coarse[i][j][k] = 0;
401 HISTOGRAMS.href_unlike_3d_coarse[i][j][k] = 0;
402 HISTOGRAMS.hinc_like_3d_fine[i][j][k] = 0;
403 HISTOGRAMS.hinc_unlike_3d_fine[i][j][k] = 0;
404 HISTOGRAMS.hinc_like_3d_coarse[i][j][k] = 0;
405 HISTOGRAMS.hinc_unlike_3d_coarse[i][j][k] = 0;
407 /*********************************************/
410 /*********************************************/
412 // cout<<" FINISHED"<<endl;
417 /*****************************************************************************************/
420 Int_t THBTprocessor::ImportParticles(TClonesArray *particles, Option_t */*option*/)
422 //Copy particle data into TClonesArray
423 if (particles == 0) return 0;
424 TClonesArray &rparticles = *particles;
428 for (Int_t i=0; i < TRK_MAXLEN; i++)
432 if (TRACK1.trk_E[i] == 0.) continue;
434 Float_t px = TRACK1.trk_px[i];
435 Float_t py = TRACK1.trk_py[i];
436 Float_t pz = TRACK1.trk_pz[i];
437 // Float_t pE = TRACK.trk_E[i];
438 Float_t mass = PARTICLE.part_mass[TRACK1.trk_ge_pid[i]];
440 new(rparticles[nrpart++]) TParticle(0,0,0,0,0,0,px,py,pz,
441 TMath::Sqrt(mass*mass+px*px+py*py+pz*pz),
447 /*****************************************************************************************/
448 TObjArray * THBTprocessor::ImportParticles(Option_t */*option*/)
450 //Copy particle data into TObjArray
453 for (Int_t i=0; i < TRK_MAXLEN; i++)
457 if (TRACK1.trk_E[i] == 0.) continue;
459 Float_t px = TRACK1.trk_px[i];
460 Float_t py = TRACK1.trk_py[i];
461 Float_t pz = TRACK1.trk_pz[i];
462 // Float_t pE = TRACK.trk_E[i];
463 Float_t mass = PARTICLE.part_mass[TRACK1.trk_ge_pid[i]];
465 TParticle * p =new TParticle(0,0,0,0,0,0,px,py,pz,
466 TMath::Sqrt(mass*mass+px*px+py*py+pz*pz),
473 /*****************************************************************************************/
475 void THBTprocessor::PrintEvent() const
477 //Prints all particles (common block data)
478 cout<<"Print Event"<<endl;
479 for (Int_t i=0; i<TRK_MAXLEN;i++)
481 if(TRACK1.trk_E[i]==0.) continue;
483 cout<<"trk_id: "<<TRACK1.trk_id[i]<<" trk_px :"<<TRACK1.trk_px[i]<<" trk_py :"<<TRACK1.trk_py[i]<<" trk_pz :"<<TRACK1.trk_pz[i]<<endl;
484 cout<<" trk_E: "<<TRACK1.trk_E[i]<<" trk_pt: "<<TRACK1.trk_pt[i]<<" trk_phi: "<<TRACK1.trk_phi[i]<<" trk_eta: "<<TRACK1.trk_eta[i]<<endl;
489 /*****************************************************************************************/
490 void THBTprocessor::DumpSettings() const
492 //prints values set in common blocks
495 void THBTprocessor::SetTrackRejectionFactor(Float_t trf) const
498 PARAMETERS.trk_accep = trf;
500 void THBTprocessor::SetRefControl(Int_t rc) const
503 PARAMETERS.ref_control = rc;
505 void THBTprocessor::SetPIDs(Int_t pid1,Int_t pid2) const
508 PARAMETERS.pid[0]=pid1; PARAMETERS.pid[1]=pid2;
510 void THBTprocessor::SetNPIDtypes(Int_t npidt)const
513 PARAMETERS.n_pid_types = npidt;
515 void THBTprocessor::SetDeltap(Float_t deltp) const
518 PARAMETERS.deltap=deltp;
520 void THBTprocessor::SetMaxIterations(Int_t maxiter) const
523 PARAMETERS.maxit = maxiter;
525 void THBTprocessor::SetDelChi(Float_t dc)const
528 PARAMETERS.delchi = dc;
530 void THBTprocessor::SetIRand(Int_t irnd) const
533 PARAMETERS.irand = irnd;
535 void THBTprocessor::SetLambda(Float_t lam) const
538 PARAMETERS.lambda = lam;
540 void THBTprocessor::SetR1d(Float_t r) const
545 void THBTprocessor::SetRSide(Float_t rs) const
550 void THBTprocessor::SetROut(Float_t ro) const
555 void THBTprocessor::SetRLong(Float_t rl) const
560 void THBTprocessor::SetRPerp(Float_t rp) const
565 void THBTprocessor::SetRParallel(Float_t rprl) const
568 PARAMETERS.Rparallel=rprl;
570 void THBTprocessor::SetR0(Float_t r0) const
575 void THBTprocessor::SetQ0(Float_t q0) const
580 void THBTprocessor::SetSwitch1D(Int_t s1d) const
583 PARAMETERS.switch_1d = s1d;
585 void THBTprocessor::SetSwitch3D(Int_t s3d) const
588 PARAMETERS.switch_3d = s3d;
590 void THBTprocessor::SetSwitchType(Int_t st) const
593 PARAMETERS.switch_type = st;
596 void THBTprocessor::SetSwitchCoherence(Int_t sc) const
599 PARAMETERS. switch_coherence = sc;
601 void THBTprocessor::SetSwitchCoulomb(Int_t scol) const
604 PARAMETERS. switch_coulomb = scol;
606 void THBTprocessor::SetSwitchFermiBose(Int_t sfb) const
609 PARAMETERS.switch_fermi_bose = sfb;
612 void THBTprocessor::SetPtRange(Float_t ptmin, Float_t ptmax)const //Pt in GeV/c
615 MESH.pt_min=ptmin;MESH.pt_max=ptmax;
618 void THBTprocessor::SetPxRange(Float_t pxmin, Float_t pxmax) const
621 MESH.px_min=pxmin;MESH.px_max=pxmax;
624 void THBTprocessor::SetPyRange(Float_t pymin, Float_t pymax)const
627 MESH.py_min=pymin;MESH.py_max=pymax;
630 void THBTprocessor::SetPzRange(Float_t pzmin, Float_t pzmax) const
633 MESH.pz_min=pzmin;MESH.pz_max=pzmax;
636 void THBTprocessor::SetPhiRange(Float_t phimin, Float_t phimax)const //Angle in degrees
639 MESH.phi_min=phimin;MESH.phi_max=phimax;
642 void THBTprocessor::SetEtaRange(Float_t etamin, Float_t etamax)const //Pseudorapidity !!!!!!!!!
645 MESH.eta_min=etamin;MESH.eta_max=etamax;
648 void THBTprocessor::SetNPtBins(Int_t nptbin)const
651 MESH.n_pt_bins=nptbin;
653 void THBTprocessor::SetNPhiBins(Int_t nphibin)const
656 MESH.n_phi_bins=nphibin;
658 void THBTprocessor::SetNEtaBins(Int_t netabin)const
661 MESH.n_eta_bins=netabin;
664 void THBTprocessor::SetNPxBins(Int_t npxbin)const
667 MESH.n_px_bins=npxbin;
669 void THBTprocessor::SetNPyBins(Int_t npybin)const
672 MESH.n_py_bins=npybin;
674 void THBTprocessor::SetNPzBins(Int_t npzbin)const
677 MESH.n_pz_bins=npzbin;
680 void THBTprocessor::SetNBins1DFineMesh(Int_t n)const
685 void THBTprocessor::SetBinSize1DFineMesh(Float_t x)const
688 MESH.binsize_1d_fine=x;
691 void THBTprocessor::SetNBins1DCoarseMesh(Int_t n)const
696 void THBTprocessor::SetBinSize1DCoarseMesh(Float_t x)const
699 MESH.binsize_1d_coarse=x;
702 void THBTprocessor::SetNBins3DFineMesh(Int_t n)const
707 void THBTprocessor::SetBinSize3DFineMesh(Float_t x)const
710 MESH.binsize_3d_fine=x;
713 void THBTprocessor::SetNBins3DCoarseMesh(Int_t n)const
718 void THBTprocessor::SetBinSize3DCoarseMesh(Float_t x)const
721 MESH.binsize_3d_coarse=x;
724 void THBTprocessor::SetNBins3DFineProjectMesh(Int_t n )const
727 MESH.n_3d_fine_project=n;
730 void THBTprocessor::SetPrintFull(Int_t flag) const
733 PARAMETERS.print_full=flag;