Changeset 4df491e in git for external/TrackCovariance
- Timestamp:
- Apr 13, 2021, 3:51:59 PM (4 years ago)
- Branches:
- master
- Children:
- 64294db
- Parents:
- 59ba063
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
external/TrackCovariance/TrkUtil.cc
r59ba063 r4df491e 406 406 // 407 407 // 408 /* 408 409 std::vector<double> bg{ 0.5, 0.8, 1., 2., 3., 4., 5., 8., 10., 409 410 12., 15., 20., 50., 100., 200., 500., 1000. }; … … 439 440 } 440 441 ncl.push_back(ncl[nPoints - 1]); 442 */ 443 const Int_t Npt = 18; 444 Double_t bg[Npt] = { 0.5, 0.8, 1., 2., 3., 4., 5., 8., 10., 445 12., 15., 20., 50., 100., 200., 500., 1000., 10000. }; 446 // 447 // He 90 - Isobutane 10 448 Double_t ncl_He_Iso[Npt] = { 42.94, 23.6,18.97,12.98,12.2,12.13, 449 12.24,12.73,13.03,13.29,13.63,14.08,15.56,16.43,16.8,16.95,16.98, 16.98 }; 450 // 451 // pure He 452 Double_t ncl_He[Npt] = { 11.79,6.5,5.23,3.59,3.38,3.37,3.4,3.54,3.63, 453 3.7,3.8,3.92,4.33,4.61,4.78,4.87,4.89, 4.89 }; 454 // 455 // Argon 50 - Ethane 50 456 Double_t ncl_Ar_Eth[Npt] = { 130.04,71.55,57.56,39.44,37.08,36.9, 457 37.25,38.76,39.68,40.49,41.53,42.91,46.8,48.09,48.59,48.85,48.93,48.93 }; 458 // 459 // pure Argon 460 Double_t ncl_Ar[Npt] = { 88.69,48.93,39.41,27.09,25.51,25.43,25.69, 461 26.78,27.44,28.02,28.77,29.78,32.67,33.75,34.24,34.57,34.68, 34.68 }; 462 // 463 Double_t ncl[Npt]; 464 switch (Opt) 465 { 466 case 0: std::copy(ncl_He_Iso, ncl_He_Iso + Npt, ncl); // He-Isobutane 467 break; 468 case 1: std::copy(ncl_He, ncl_He + Npt, ncl); // pure He 469 break; 470 case 2: std::copy(ncl_Ar_Eth, ncl_Ar_Eth + Npt, ncl); // Argon - Ethane 471 break; 472 case 3: std::copy(ncl_Ar, ncl_Ar + Npt, ncl); // pure Argon 473 break; 474 } 475 // 441 476 Int_t ilow = 0; 442 477 while (begam > bg[ilow])ilow++;
Note:
See TracChangeset
for help on using the changeset viewer.