Constants.h 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. #include <TMath.h>
  2. /////////////////////////////////////CONSTANTS/////////////////////////////////////////////////
  3. //Used runIds
  4. // Dataset2
  5. // const int runId_min = 12132008;
  6. // const int runId_max = 12137039;
  7. // Dataset3
  8. // const int runId_min = 12153008;
  9. // const int runId_max = 12158001;
  10. // Dataset4
  11. // const int runId_min = 12158001;
  12. // const int runId_max = 12163058;
  13. // Dataset5
  14. const int runId_min = 12163058;
  15. const int runId_max = 12171016;
  16. // Constants
  17. const int fNCent = 16;
  18. const Double_t cutVtxZ = 40.;
  19. const std::map<Float_t, Double_t> cutVtxZEnergy = {{7.7, 70.}, {11.5, 50.}, {19.6, 70}, {27., 70.}, {39., 40.}, {62., 40.}, {200., 30.}};
  20. const int fArraySize = 10; // vertex pos/neg
  21. const Double_t VtxBins [fArraySize+1] = {-30.,-24.,-18.,-12.,-6.,0.,6.,12.,18.,24.,30.};
  22. const int fNharmonics = 2; // v2 and v3
  23. const int fNBins = runId_max - runId_min + 1;
  24. const int fNBBCrings = 2; // 0 - inner, 1 - outer
  25. const int fNZdcSmdStripsHorizontal = 8;
  26. const int fNZdcSmdStripsVertical = 7;
  27. //Event cuts
  28. const Double_t cutVtxR = 2.;
  29. const Double_t cutVtxZvpd = 3.;
  30. const Int_t cutNTofPoints = 2.;
  31. const Double_t cutVpdVz = 3.;
  32. //Track cuts
  33. const std::map<Float_t, Double_t> cutDCA = {{7.7, 1.}, {11.5, 1.}, {19.6, 1.}, {27., 1.}, {39., 1.}, {62., 1.}, {200., 3.}};
  34. const Double_t cutDCA_PID = 1.;
  35. const std::vector<Double_t> cutDCA_PIDsys = {0.8,2.};
  36. const Double_t cutEta = 1.;
  37. const std::vector<Double_t> cutEtasys = {0.75};
  38. const Int_t cutNhits = 15;
  39. const std::vector<Double_t> cutNhitssys = {13,18};
  40. const Double_t cutPtotMin = 0.1;
  41. const Double_t cutNhitsPoss = 0.;
  42. const Double_t cutNhitsRatio = 0.51;
  43. const std::map<Float_t, Double_t> cutPtMin = {{7.7, 0.2}, {11.5, 0.2}, {19.6, 0.2}, {27., 0.2}, {39., 0.2}, {62., 0.2}, {200., 0.15}};
  44. const Double_t cutPtMax = 2.;
  45. const Double_t cutPMax = 10.;
  46. //PID cuts
  47. const Double_t cutMass2Min = -10.;
  48. const Double_t cutNsigPID = 2.5;
  49. //ReCentering
  50. const Double_t cutPtWeightEP = 2.;
  51. const std::vector<Double_t> cutEtaGap = {0.25};
  52. const Int_t NEtaGaps = 1;//cutEtaGap.size();
  53. //Shift Corrections
  54. const Int_t NShiftOrderMax = 4;
  55. const Int_t cutNcountQvFull = 4;
  56. const Int_t cutNcountQvGap = 2;
  57. const Int_t cutNcountQvFullEast = 0;
  58. const Int_t cutNcountQvFullWest = 0;
  59. const std::vector<Double_t> shiftOrderCoeff2 = {2.0, 4.0, 6.0, 8.0, 10.0};
  60. const std::vector<Double_t> shiftOrderCoeff3 = {3.0, 6.0, 9.0, 12.0, 15.0};
  61. //Energy of the collision
  62. const Double_t energy = 200.;
  63. //PID
  64. const double pionMassSqr = TMath::Power(0.13957061, 2);
  65. const double kaonMassSqr = TMath::Power(0.493677, 2);
  66. const double protMassSqr = TMath::Power(0.938272081, 2);
  67. const double NpidFactor = 2;
  68. const double Nquarks[3] = {2.,2.,3.}; // pion, kaon, proton
  69. const double MassSqr[3] = {pionMassSqr, kaonMassSqr, protMassSqr};
  70. // BBC related constants
  71. /////////////////////////////////////CONSTANTS/////////////////////////////////////////////////