Project
Loading...
Searching...
No Matches
MatchGlobalFwdParam.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 ALICEO2_GLOBALFWD_MATCHINGPARAM_H_
13#define ALICEO2_GLOBALFWD_MATCHINGPARAM_H_
14
17
18namespace o2
19{
20namespace globaltracking
21{
22
23// **
24// ** Parameters for Global forward matching
25// **
26
31
32struct GlobalFwdMatchingParam : public o2::conf::ConfigurableParamHelper<GlobalFwdMatchingParam> {
33
34 std::string matchFcn = "matchALL";
35 std::string extMatchFuncFile = "FwdMatchFunc.C";
36 std::string extMatchFuncName = "getMatchingFunction()";
37 std::string extCutFuncName = "getCutFunction()";
38 std::string cutFcn = "cutDisabled";
39 bool MCMatching = false;
40 double matchPlaneZ = -77.5;
41 bool useMIDMatch = false;
42 bool useTrackTime = false;
44 float MFTRadLength = 0.042;
45 float alignResidual = 1.;
46 int nCandidates = 5;
47
48 bool
50 {
51 return matchFcn.find("matchUpstream") < matchFcn.length();
52 }
53 bool matchingExternalFunction() const { return matchFcn.find("matchExternal") < matchFcn.length(); }
54 bool cutExternalFunction() const { return cutFcn.find("cutExternal") < cutFcn.length(); }
55
57};
58
59} // end namespace globaltracking
60} // end namespace o2
61
62#endif // ALICEO2_GLOBALFWD_MATCHINGPARAM_H_
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
bool useTrackTime
Use the MCH or MCHMID track time information to select the MFT ROF(s)
double matchPlaneZ
MFT-MCH matching plane z coordinate.
float MFTRadLength
MFT thickness in radiation length.
std::string extCutFuncName
Name of external cut function getter.
Int_t saveMode
Global Forward Tracks save mode.
O2ParamDef(GlobalFwdMatchingParam, "FwdMatching")
bool useMIDMatch
Use input from MCH-MID matching.
float alignResidual
Alignment residual for cluster position uncertainty.
std::string extMatchFuncFile
File name for external input matching function.
std::string cutFcn
MFT-MCH candicate cut function.
std::string extMatchFuncName
Name of external matching function getter.
int nCandidates
Number of best matching candidates to save in savemode=3.
std::string matchFcn
MFT-MCH matching score evaluation.
bool MCMatching
MFT-MCH matching computed from MCLabels.