84 |
*ntf=ntof; |
*ntf=ntof; |
85 |
Ipltof=(UChar_t*)malloc(ntof *sizeof(UChar_t)); |
Ipltof=(UChar_t*)malloc(ntof *sizeof(UChar_t)); |
86 |
Ipaddle=(UChar_t*)malloc(ntof *sizeof(UChar_t)); |
Ipaddle=(UChar_t*)malloc(ntof *sizeof(UChar_t)); |
87 |
Ipartof=(UShort_t*)malloc(ntof *sizeof(UShort_t)); |
// Ipartof=(UShort_t*)malloc(ntof *sizeof(UShort_t)); |
88 |
// Ipartof=(UChar_t*)malloc(ntof *sizeof(UChar_t)); |
Ipartof=(UChar_t*)malloc(ntof *sizeof(UChar_t)); |
89 |
Xintof=(Float_t*)malloc(ntof *sizeof(Float_t)); |
Xintof=(Float_t*)malloc(ntof *sizeof(Float_t)); |
90 |
Yintof=(Float_t*)malloc(ntof *sizeof(Float_t)); |
Yintof=(Float_t*)malloc(ntof *sizeof(Float_t)); |
91 |
Zintof=(Float_t*)malloc(ntof *sizeof(Float_t)); |
Zintof=(Float_t*)malloc(ntof *sizeof(Float_t)); |
120 |
Timecas=(Float_t*)malloc(ncas *sizeof(Float_t)); |
Timecas=(Float_t*)malloc(ncas *sizeof(Float_t)); |
121 |
Pathcas=(Float_t*)malloc(ncas *sizeof(Float_t)); |
Pathcas=(Float_t*)malloc(ncas *sizeof(Float_t)); |
122 |
P0cas=(Float_t*)malloc(ncas *sizeof(Float_t)); |
P0cas=(Float_t*)malloc(ncas *sizeof(Float_t)); |
123 |
Iparspe=(UShort_t*)malloc(nspe *sizeof(UShort_t)); |
// Iparspe=(UShort_t*)malloc(nspe *sizeof(UShort_t)); |
124 |
//Iparspe=(UChar_t*)malloc(nspe *sizeof(UChar_t)); |
Iparspe=(UChar_t*)malloc(nspe *sizeof(UChar_t)); |
125 |
Itrpb=(UChar_t*)malloc(nspe *sizeof(UChar_t)); |
Itrpb=(UChar_t*)malloc(nspe *sizeof(UChar_t)); |
126 |
Itrsl=(UChar_t*)malloc(nspe *sizeof(UChar_t)); |
Itrsl=(UChar_t*)malloc(nspe *sizeof(UChar_t)); |
127 |
Itspa=(UChar_t*)malloc(nspe *sizeof(UChar_t)); |
Itspa=(UChar_t*)malloc(nspe *sizeof(UChar_t)); |
350 |
lambda1=(float *)malloc(np *sizeof(float)); |
lambda1=(float *)malloc(np *sizeof(float)); |
351 |
lambda2=(float *)malloc(np *sizeof(float)); |
lambda2=(float *)malloc(np *sizeof(float)); |
352 |
LoadTOFCalib(np,atte1,atte2,lambda1,lambda2); |
LoadTOFCalib(np,atte1,atte2,lambda1,lambda2); |
353 |
|
TF1 *attenAC = new TF1("fAttAC",".825+.64*atan(9.8/x)",0.,45.); |
354 |
//end tof calib |
//end tof calib |
355 |
// |
// |
356 |
// loops over the events |
// loops over the events |
364 |
// http://www.ts.infn.it/fileadmin/documents/physics/experiments/wizard/cpu/gen_arch/RM_Acquisition.pdf |
// http://www.ts.infn.it/fileadmin/documents/physics/experiments/wizard/cpu/gen_arch/RM_Acquisition.pdf |
365 |
// on pamelatov: /cvs/yoda/techmodel/physics/NeutronDetectorReader.cpp |
// on pamelatov: /cvs/yoda/techmodel/physics/NeutronDetectorReader.cpp |
366 |
DigitizeTOF(np,atte1,atte2,lambda1,lambda2); |
DigitizeTOF(np,atte1,atte2,lambda1,lambda2); |
367 |
DigitizeAC(); |
DigitizeAC(attenAC); |
368 |
DigitizeCALO(); |
DigitizeCALO(); |
369 |
DigitizeTrack(); |
DigitizeTrack(); |
370 |
DigitizeS4(); |
DigitizeS4(); |