3 cout<<
"Create a calibration file for BonnTS data from Feb02 Beamtime@COSY"<<endl;
15 double calibFactors[] = { 0.0468423, 0.0486725, 0.0468459,
16 0.0522444, 0.0482401, 0.0499809,
17 0.0461501, 0.0466381, 0.0462991,
18 0.0447197, 0.0456337, 0.0443006,
19 0.0438225, 0.0442459, 0.0443600,
20 0.0432845, 0.0428239, 0.0417876,
21 0.0987825, 0.0910402, 0.1016470,
22 0.1001060, 0.0998894, 0.0976565
27 ofstream
out(
"file.calib");
29 for (Int_t
f = 0 ;
f < nFee ;
f++)
31 for (Int_t
c = 0 ;
c < nChFe ;
c++)
34 out <<
"0 " <<
f <<
" " <<
c <<
" " << calibFactors[
f] << endl;
int createCalibJuelichFeb02()