Skip to content

Commit 81dad27

Browse files
atrioloAndrea Sofia Trioloalibuild
authored
ITS Efficiency study: modified cuts and code cleanup (#13995)
* new method and checks * Rebinning of Z and Phi efficiency plots * ITS efficiency study: code cleanup * Please consider the following formatting changes * ITS efficiency study: raw pointers converted to smart pointers * Please consider the following formatting changes --------- Co-authored-by: Andrea Sofia Triolo <atriolo@flpits0.dyndns.cern.ch> Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
1 parent 78d0f9c commit 81dad27

File tree

2 files changed

+841
-844
lines changed

2 files changed

+841
-844
lines changed

Detectors/ITSMFT/ITS/postprocessing/studies/include/ITSStudies/Efficiency.h

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,8 @@ namespace study
2828
using mask_t = o2::dataformats::GlobalTrackID::mask_t;
2929
o2::framework::DataProcessorSpec getEfficiencyStudy(mask_t srcTracksMask, mask_t srcClustersMask, bool useMC, std::shared_ptr<o2::steer::MCKinematicsReader> kineReader);
3030

31-
////// phi cuts for B=0
32-
float mPhiCutsL0[10][2] = {{-122.5, -122}, {-91.8, -91.7}, {-61, -60}, {-30.1, -29.8}, {30, 30.2}, {59, 59.5}, {88, 89}, {117, 118.5}, {147, 147.8}, {176.5, 176.6}};
33-
float mPhiCutsL1[12][2] = {{-137, -136.5}, {-114, -113.5}, {-91.5, -91}, {-68.5, -68}, {-45.6, -45.4}, {-23.1, -22.9}, {45.4, 45.6}, {67.4, 67.6}, {89.4, 89.6}, {110.4, 110.6}, {132.4, 132.6}, {154.4, 154.6}};
34-
float mPhiCutsL2[17][2] = {{-162.85, -162.65}, {-145, -144.5}, {-127, -126.5}, {-109, -108.5}, {-91, -90.5}, {-73, -72.5}, {-55.1, -54.9}, {-37.35, -37.15}, {-19.5, -19}, {36.8, 37}, {54.4, 54.6}, {71.9, 72.1}, {89, 89.5}, {106.4, 106.6}, {123.65, 123.85}, {141.4, 141.6}, {158.9, 159.1}};
35-
3631
float mEtaCuts[2] = {-1.0, 1.0};
37-
// float mPtCuts[2] = {1, 4.5}; //// for B=5
3832
float mPtCuts[2] = {0, 10}; /// no cut for B=0
39-
int mChi2cut = 100;
4033

4134
// values obtained from the dca study for B=5
4235
// float dcaXY[3] = {-0.000326, -0.000217, -0.000187};
@@ -55,6 +48,9 @@ int dcaCut = 8;
5548
float mDCACutsXY[3][2] = {{dcaXY[0] - dcaCut * sigmaDcaXY[0], dcaXY[0] + dcaCut* sigmaDcaXY[0]}, {dcaXY[1] - dcaCut * sigmaDcaXY[1], dcaXY[1] + dcaCut* sigmaDcaXY[1]}, {dcaXY[2] - dcaCut * sigmaDcaXY[2], dcaXY[2] + dcaCut* sigmaDcaXY[2]}}; // cuts at 8 sigma for each layer for xy. The values represent m-8sigma and m+8sigma
5649
float mDCACutsZ[3][2] = {{dcaZ[0] - dcaCut * sigmaDcaZ[0], dcaZ[0] + dcaCut* sigmaDcaZ[0]}, {dcaZ[1] - dcaCut * sigmaDcaZ[1], dcaZ[1] + dcaCut* sigmaDcaZ[1]}, {dcaZ[2] - dcaCut * sigmaDcaZ[2], dcaZ[2] + dcaCut* sigmaDcaZ[2]}};
5750

51+
/// excluding bad chips in MC that are not present in data: to be checked based on the anchoring
52+
std::vector<int> mExcludedChipMC = {66, 67, 68, 75, 76, 77, 84, 85, 86, 93, 94, 95, 102, 103, 104, 265, 266, 267, 274, 275, 276, 283, 284, 285, 413, 414, 415, 422, 423, 424, 431, 432, 433};
53+
5854
} // namespace study
5955
} // namespace its
6056
} // namespace o2

0 commit comments

Comments
 (0)