54 |
|
|
55 |
void ToFNuclei::Clear(){ |
void ToFNuclei::Clear(){ |
56 |
// |
// |
57 |
ncount_trk = 0.; |
ncount_trk = 0; |
58 |
charge_trk = 0.; |
charge_trk = 0.; |
59 |
memset (charge_layer_trk,0,6*sizeof(Float_t)); // |
memset (charge_layer_trk,0,6*sizeof(Float_t)); // |
60 |
memset (charge_layer_trk_raw,0,6*sizeof(Float_t)); // |
memset (charge_layer_trk_raw,0,6*sizeof(Float_t)); // |
61 |
memset (charge_PMT_trk,0,48*sizeof(Float_t)); // |
memset (charge_PMT_trk,0,48*sizeof(Float_t)); // |
62 |
memset (layerinfo_trk,0,6*sizeof(Int_t)); // |
memset (layerinfo_trk,0,6*sizeof(Int_t)); // |
63 |
ncount_std = 0.; |
ncount_std = 0; |
64 |
charge_std = 0.; |
charge_std = 0.; |
65 |
memset (charge_layer_std,0,6*sizeof(Float_t)); // |
memset (charge_layer_std,0,6*sizeof(Float_t)); // |
66 |
memset (charge_layer_std_raw,0,6*sizeof(Float_t)); // |
memset (charge_layer_std_raw,0,6*sizeof(Float_t)); // |
412 |
// New!! If "beta_in" != 100. then overwrite beta_mean with beta_in |
// New!! If "beta_in" != 100. then overwrite beta_mean with beta_in |
413 |
if (beta_in != 100.) beta_mean=beta_in; |
if (beta_in != 100.) beta_mean=beta_in; |
414 |
|
|
415 |
Float_t def = track->GetTrkTrack()->al[4]; |
//Float_t def = track->GetTrkTrack()->al[4]; |
416 |
Float_t rig = 1./def; |
//Float_t rig = 1./def; |
417 |
|
|
418 |
Int_t ncount=0; |
Int_t ncount=0; |
419 |
Float_t charge_chi=1000.; |
Float_t charge_chi=1000.; |
436 |
for (Int_t jj=0; jj<48;jj++) charge_PMT_trk[jj] = 1001.; |
for (Int_t jj=0; jj<48;jj++) charge_PMT_trk[jj] = 1001.; |
437 |
for (Int_t jj=0; jj<6;jj++) charge_layer_trk[jj] = 1001.; |
for (Int_t jj=0; jj<6;jj++) charge_layer_trk[jj] = 1001.; |
438 |
for (Int_t jj=0; jj<6;jj++) charge_layer_trk_raw[jj] = 1001.; |
for (Int_t jj=0; jj<6;jj++) charge_layer_trk_raw[jj] = 1001.; |
439 |
for (Int_t jj=0; jj<6;jj++) layerinfo_trk[jj] = 1001.; |
for (Int_t jj=0; jj<6;jj++) layerinfo_trk[jj] = 1001; |
440 |
charge_trk = 1001.; |
charge_trk = 1001.; |
441 |
ncount_trk = 0; |
ncount_trk = 0; |
442 |
} |
} |
949 |
|
|
950 |
//--------------------------------------------------------------------- |
//--------------------------------------------------------------------- |
951 |
|
|
952 |
Float_t xv[6],yv[6]; |
//Float_t xv[6],yv[6]; |
953 |
Int_t iz; |
Int_t iz; |
954 |
|
|
955 |
Float_t x1[9],y1[9]; |
Float_t x1[9],y1[9]; |
985 |
for (Int_t jj=0; jj<48;jj++) charge_PMT_std[jj] = 1001.; |
for (Int_t jj=0; jj<48;jj++) charge_PMT_std[jj] = 1001.; |
986 |
for (Int_t jj=0; jj<6;jj++) charge_layer_std[jj] = 1001.; |
for (Int_t jj=0; jj<6;jj++) charge_layer_std[jj] = 1001.; |
987 |
for (Int_t jj=0; jj<6;jj++) charge_layer_std_raw[jj] = 1001.; |
for (Int_t jj=0; jj<6;jj++) charge_layer_std_raw[jj] = 1001.; |
988 |
for (Int_t jj=0; jj<6;jj++) layerinfo_std[jj] = 1001.; |
for (Int_t jj=0; jj<6;jj++) layerinfo_std[jj] = 1001; |
989 |
charge_std = 1001.; |
charge_std = 1001.; |
990 |
ncount_std = 0; |
ncount_std = 0; |
991 |
} |
} |