|
9 | 9 | // granted to it by virtue of its status as an Intergovernmental Organization |
10 | 10 | // or submit itself to any jurisdiction. |
11 | 11 | // |
12 | | -/// \file strange-yield-pbpb.cxx |
| 12 | +/// \file derivedupcanalysis.cxx |
13 | 13 | /// \brief Strangeness in UPC analysis task |
14 | 14 | /// \author Roman Nepeivoda ([email protected]) |
15 | 15 |
|
@@ -200,7 +200,7 @@ struct Derivedupcanalysis { |
200 | 200 |
|
201 | 201 | // Kinematic axes |
202 | 202 | ConfigurableAxis axisPt{"axisPt", {VARIABLE_WIDTH, 0.0f, 0.1f, 0.2f, 0.3f, 0.4f, 0.5f, 0.6f, 0.7f, 0.8f, 0.9f, 1.0f, 1.1f, 1.2f, 1.3f, 1.4f, 1.5f, 1.6f, 1.7f, 1.8f, 1.9f, 2.0f, 2.2f, 2.4f, 2.6f, 2.8f, 3.0f, 3.2f, 3.4f, 3.6f, 3.8f, 4.0f, 4.4f, 4.8f, 5.2f, 5.6f, 6.0f, 6.5f, 7.0f, 7.5f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 17.0f, 19.0f, 21.0f, 23.0f, 25.0f, 30.0f, 35.0f, 40.0f, 50.0f}, "pt axis for v0 analysis"}; |
203 | | - ConfigurableAxis axisPtXi{"axisPtCasc", {VARIABLE_WIDTH, 0.0f, 0.1f, 0.2f, 0.3f, 0.4f, 0.5f, 0.6f, 0.7f, 0.8f, 0.9f, 1.0f, 1.1f, 1.2f, 1.3f, 1.4f, 1.5f, 1.6f, 1.7f, 1.8f, 1.9f, 2.0f, 2.2f, 2.4f, 2.6f, 2.8f, 3.0f, 3.2f, 3.4f, 3.6f, 3.8f, 4.0f, 4.4f, 4.8f, 5.2f, 5.6f, 6.0f, 6.5f, 7.0f, 7.5f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 17.0f, 19.0f, 21.0f, 23.0f, 25.0f, 30.0f, 35.0f, 40.0f, 50.0f}, "pt axis for cascade analysis"}; |
| 203 | + ConfigurableAxis axisPtXi{"axisPtXi", {VARIABLE_WIDTH, 0.0f, 0.1f, 0.2f, 0.3f, 0.4f, 0.5f, 0.6f, 0.7f, 0.8f, 0.9f, 1.0f, 1.1f, 1.2f, 1.3f, 1.4f, 1.5f, 1.6f, 1.7f, 1.8f, 1.9f, 2.0f, 2.2f, 2.4f, 2.6f, 2.8f, 3.0f, 3.2f, 3.4f, 3.6f, 3.8f, 4.0f, 4.4f, 4.8f, 5.2f, 5.6f, 6.0f, 6.5f, 7.0f, 7.5f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 17.0f, 19.0f, 21.0f, 23.0f, 25.0f, 30.0f, 35.0f, 40.0f, 50.0f}, "pt axis for cascade analysis"}; |
204 | 204 | ConfigurableAxis axisPtCoarse{"axisPtCoarse", {VARIABLE_WIDTH, 0.0f, 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 7.0f, 10.0f, 15.0f}, "pt axis for QA"}; |
205 | 205 | ConfigurableAxis axisEta{"axisEta", {100, -2.0f, 2.0f}, "#eta"}; |
206 | 206 | ConfigurableAxis axisRap{"axisRap", {100, -2.0f, 2.0f}, "y"}; |
@@ -248,7 +248,7 @@ struct Derivedupcanalysis { |
248 | 248 | // Track quality axes |
249 | 249 | ConfigurableAxis axisTPCrows{"axisTPCrows", {160, -0.5f, 159.5f}, "N TPC rows"}; |
250 | 250 | ConfigurableAxis axisITSclus{"axisITSclus", {7, -0.5f, 6.5f}, "N ITS Clusters"}; |
251 | | - ConfigurableAxis axisITScluMap{"axisITSMap", {128, -0.5f, 127.5f}, "ITS Cluster map"}; |
| 251 | + ConfigurableAxis axisITScluMap{"axisITScluMap", {128, -0.5f, 127.5f}, "ITS Cluster map"}; |
252 | 252 | ConfigurableAxis axisDetMap{"axisDetMap", {16, -0.5f, 15.5f}, "Detector use map"}; |
253 | 253 | ConfigurableAxis axisITScluMapCoarse{"axisITScluMapCoarse", {16, -3.5f, 12.5f}, "ITS Coarse cluster map"}; |
254 | 254 | ConfigurableAxis axisDetMapCoarse{"axisDetMapCoarse", {5, -0.5f, 4.5f}, "Detector Coarse user map"}; |
@@ -890,7 +890,7 @@ struct Derivedupcanalysis { |
890 | 890 | } |
891 | 891 |
|
892 | 892 | if (doprocessGenerated) { |
893 | | - for (Int_t partID = 0; partID <= 6; partID++) { |
| 893 | + for (int partID = 0; partID <= 6; partID++) { |
894 | 894 | histos.add(Form("%s/mc/h6dGen", kParticlenames[partID].data()), "h6dGen", kTHnSparseF, {axisFT0Cqa, axisNchInvMass, axisNchInvMass, axisPt, axisSelGap, axisRap}); |
895 | 895 | } |
896 | 896 | } |
@@ -1216,9 +1216,9 @@ struct Derivedupcanalysis { |
1216 | 1216 | auto negpt = std::sqrt(std::pow(casc.pxneg(), 2) + std::pow(casc.pyneg(), 2)); |
1217 | 1217 | auto bachpt = std::sqrt(std::pow(casc.pxbach(), 2) + std::pow(casc.pybach(), 2)); |
1218 | 1218 |
|
1219 | | - double posDcaXYLimit = 0.0105f + 0.035f / pow(pospt, 1.1f); |
1220 | | - double negDcaXYLimit = 0.0105f + 0.035f / pow(negpt, 1.1f); |
1221 | | - double bachDcaXYLimit = 0.0105f + 0.035f / pow(bachpt, 1.1f); |
| 1219 | + double posDcaXYLimit = 0.0105f + 0.035f / std::pow(pospt, 1.1f); |
| 1220 | + double negDcaXYLimit = 0.0105f + 0.035f / std::pow(negpt, 1.1f); |
| 1221 | + double bachDcaXYLimit = 0.0105f + 0.035f / std::pow(bachpt, 1.1f); |
1222 | 1222 |
|
1223 | 1223 | // TODO: separate xy and z // |
1224 | 1224 | if ((std::abs(casc.dcapostopv()) > posDcaXYLimit) && |
@@ -1376,8 +1376,8 @@ struct Derivedupcanalysis { |
1376 | 1376 | auto pospt = std::sqrt(std::pow(v0.pxpos(), 2) + std::pow(v0.pypos(), 2)); |
1377 | 1377 | auto negpt = std::sqrt(std::pow(v0.pxneg(), 2) + std::pow(v0.pyneg(), 2)); |
1378 | 1378 |
|
1379 | | - double posDcaXYLimit = 0.0105f + 0.035f / pow(pospt, 1.1f); |
1380 | | - double negDcaXYLimit = 0.0105f + 0.035f / pow(negpt, 1.1f); |
| 1379 | + double posDcaXYLimit = 0.0105f + 0.035f / std::pow(pospt, 1.1f); |
| 1380 | + double negDcaXYLimit = 0.0105f + 0.035f / std::pow(negpt, 1.1f); |
1381 | 1381 |
|
1382 | 1382 | // TODO: separate xy and z // |
1383 | 1383 | if ((std::abs(v0.dcapostopv()) > posDcaXYLimit) && |
|
0 commit comments