Skip to content

Commit 00006eb

Browse files
chiarazampollialcaliva
authored andcommitted
Adding K0s Qc to GLO matching QC, and move to a different location (#13144)
* Adding K0s Qc to GLO matching QC, and move to a different location * To make it compile with QC master, without my changes * First round of comments * Possibility to specify the track sources (cherry picked from commit db59272)
1 parent 2a1f4a3 commit 00006eb

File tree

14 files changed

+1797
-28
lines changed

14 files changed

+1797
-28
lines changed

Detectors/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ add_subdirectory(FOCAL)
3636
add_subdirectory(GlobalTracking)
3737
add_subdirectory(GlobalTrackingWorkflow)
3838
add_subdirectory(Vertexing)
39+
add_subdirectory(GLOQC)
3940

4041
if(BUILD_ANALYSIS)
4142
add_subdirectory(AOD)

Detectors/GLOQC/CMakeLists.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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+
# add_compile_options(-O0 -g -fPIC)
12+
13+
o2_add_library(GLOQC
14+
TARGETVARNAME targetName
15+
SOURCES src/MatchITSTPCQC.cxx
16+
src/ITSTPCMatchingQCParams.cxx
17+
18+
PUBLIC_LINK_LIBRARIES O2::DetectorsVertexing)
19+
20+
o2_target_root_dictionary(GLOQC
21+
HEADERS include/GLOQC/MatchITSTPCQC.h
22+
include/GLOQC/ITSTPCMatchingQCParams.h
23+
24+
)
25+
26+
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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+
/// \author Chiara.Zampolli@cern.ch
13+
14+
#ifndef ALICEO2_ITSTPCMATCHINGQC_PARAMS_H
15+
#define ALICEO2_ITSTPCMATCHINGQC_PARAMS_H
16+
17+
#include "CommonUtils/ConfigurableParam.h"
18+
#include "CommonUtils/ConfigurableParamHelper.h"
19+
20+
namespace o2
21+
{
22+
namespace gloqc
23+
{
24+
25+
// There are configurable params for TPC-ITS matching
26+
struct ITSTPCMatchingQCParams : public o2::conf::ConfigurableParamHelper<ITSTPCMatchingQCParams> {
27+
28+
float minPtCut = 0.1f;
29+
float etaCut = 1.4f;
30+
int32_t minNTPCClustersCut = 60;
31+
float minDCACut = 100.f;
32+
float minDCACutY = 10.f;
33+
float cutK0Mass = 0.05f;
34+
float maxEtaK0 = 0.8f;
35+
36+
O2ParamDef(ITSTPCMatchingQCParams, "ITSTPCMatchingQC");
37+
};
38+
39+
} // namespace gloqc
40+
} // end namespace o2
41+
42+
#endif

0 commit comments

Comments
 (0)