71 R3BLosHitData* losHit =
dynamic_cast<R3BLosHitData*
>(
fLosHit->At(0));
73 Double_t startTime = 0;
79 Int_t nLandDigi =
fLandDigi->GetEntriesFast();
82 Double_t time, tof, norm_tof;
83 Double_t qdc, qdcL, qdcR;
88 for (Int_t i = 0; i < nLandDigi; i++)
100 l = TMath::Sqrt(x * x + y * y + z * z);
111 else if (barId < 101)
122 norm_tof = tof - (l - 1300.) / beta;
129 if (beta > 29.7 && beta < 30.2)
134 if (beta > 16 && beta < 26)
141 LOG(info) <<
"R3BNeulandHitHist : " <<
fnEvents <<
" events collected, start time=" << startTime;
144 LOG(info) <<
", mean time=" << (tmean / (Double_t)count);
157 new TH2F(
"h_land_qdcbarid",
"QDC vs Bar ID",
fNofBars, 0.5, (Double_t)
fNofBars + 0.5, 2000, 0., 40.);
159 new TH2F(
"h_land_timebarid",
"Time vs Bar ID",
fNofBars, 0.5, (Double_t)
fNofBars + 0.5, 4000, 0., 2000.);
161 new TH2F(
"h_land_tofbarid",
"ToF vs Bar ID",
fNofBars, 0.5, (Double_t)
fNofBars + 0.5, 1000, 0., 100.);
162 fh_land_tof =
new TH1F(
"h_land_tof",
"ToF", 1000, 0., 100.);
163 fh_land_qdctof =
new TH2F(
"h_land_qdctof",
"QDC vs ToF", 2000, -50., 150., 2000, 0., 40.);
165 new TH2F(
"h_land_betabarid",
"Velocity vs Bar ID",
fNofBars, 0.5, (Double_t)
fNofBars + 0.5, 500, 0., 50.);
167 new TH2F(
"h_land_lbarid",
"Length vs Bar ID",
fNofBars, 0.5, (Double_t)
fNofBars + 0.5, 1000, 700., 900.);
168 fh_land_ltime =
new TH2F(
"h_land_ltime",
"Length vs Bar ID", 4000, 0., 2000., 1000, 700., 900.);
169 fh_land_yx =
new TH2F(
"h_land_yx",
"Y vs X", 340, -170., 170., 340, -170., 170.);
172 fh_land_yx1 =
new TH2F(
"h_land_yx1",
"Y vs X", 340, -170., 170., 68, -170., 170.);
173 fh_land_yx2 =
new TH2F(
"h_land_yx2",
"Y vs X", 68, -170., 170., 340, -170., 170.);
177 fh_land_yx1 =
new TH2F(
"h_land_yx1",
"Y vs X", 68, -170., 170., 340, -170., 170.);
178 fh_land_yx2 =
new TH2F(
"h_land_yx2",
"Y vs X", 340, -170., 170., 68, -170., 170.);
180 fh_land_beta =
new TH1F(
"h_land_beta",
"Velocity", 4500, -10., 35.);
181 fh_land_qdc =
new TH1F(
"h_land_qdc",
"QDC", 2000, 0., 40.);
182 fh_land_qdc_cut =
new TH1F(
"h_land_qdc_cut",
"QDC cut", 2000, 0., 40.);
183 fh_los_time =
new TH1F(
"h_los_time",
"LOS Time", 2000, -1000., -800.);
184 fh_los_corr =
new TH2F(
"h_los_corr",
"LOS vs NeuLAND", 2000, 700., 900., 2000, -1000., -800.);
186 fh_land_norm_tof =
new TH1F(
"h_land_norm_tof",
"norm. ToF", 1000, 40., 50.);