Project
Loading...
Searching...
No Matches
Efficiency.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
12#ifndef O2_EFFICIENCY_STUDY_H
13#define O2_EFFICIENCY_STUDY_H
14
17
18namespace o2
19{
20namespace steer
21{
22class MCKinematicsReader;
23}
24namespace its
25{
26namespace study
27{
29o2::framework::DataProcessorSpec getEfficiencyStudy(mask_t srcTracksMask, mask_t srcClustersMask, bool useMC, std::shared_ptr<o2::steer::MCKinematicsReader> kineReader);
30
32float 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}};
33float 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}};
34float 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
36float mEtaCuts[2] = {-1.0, 1.0};
37// float mPtCuts[2] = {1, 4.5}; //// for B=5
38float mPtCuts[2] = {0, 10};
39int mChi2cut = 100;
40
41// values obtained from the dca study for B=5
42// float dcaXY[3] = {-0.000326, -0.000217, -0.000187};
43// float dcaZ[3] = {0.000020, -0.000004, 0.000032};
44// float sigmaDcaXY[3] = {0.001375, 0.001279, 0.002681};
45// float sigmaDcaZ[3] = {0.002196, 0.002083, 0.004125};
46
47// values obtained from the dca study for B=0
48float dcaXY[3] = {-0.000328, -0.000213, -0.000203};
49float dcaZ[3] = {-0.000000543, -0.000013, 0.000001};
50float sigmaDcaXY[3] = {0.00109, 0.000895, 0.001520};
51float sigmaDcaZ[3] = {0.001366, 0.001149, 0.001868};
52
53int dcaCut = 8;
54
55float 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
56float 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]}};
57
58} // namespace study
59} // namespace its
60} // namespace o2
61#endif
Global index for barrel track: provides provenance (detectors combination), index in respective array...
o2::gpu::gpustd::bitset< 32 > mask_t
float mEtaCuts[2]
Definition Efficiency.h:36
float mPtCuts[2]
Definition Efficiency.h:38
float sigmaDcaXY[3]
Definition Efficiency.h:50
float dcaZ[3]
Definition Efficiency.h:49
float mDCACutsZ[3][2]
Definition Efficiency.h:56
float mPhiCutsL0[10][2]
Definition Efficiency.h:32
o2::dataformats::GlobalTrackID::mask_t mask_t
float sigmaDcaZ[3]
Definition Efficiency.h:51
int mChi2cut
no cut for B=0
Definition Efficiency.h:39
float mDCACutsXY[3][2]
Definition Efficiency.h:55
o2::framework::DataProcessorSpec getEfficiencyStudy(mask_t srcTracksMask, mask_t srcClustersMask, bool useMC, std::shared_ptr< o2::steer::MCKinematicsReader > kineReader)
float mPhiCutsL1[12][2]
Definition Efficiency.h:33
float mPhiCutsL2[17][2]
Definition Efficiency.h:34
float dcaXY[3]
Definition Efficiency.h:48
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...