Project
Loading...
Searching...
No Matches
CheckResidConfig.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_CHECK_RESID_CONFIG_H
13#define O2_CHECK_RESID_CONFIG_H
16
18{
21 int minITSCl = 7;
22 float minPt = 0.4f;
23 float maxPt = 50.f;
24 float maxTgl = 2.f;
25 float rCompIBOB = 12.f;
26
27 bool pvcontribOnly = true;
28 bool addPVAsCluster = true;
29 bool useStableRef = true;
30 bool doIBOB = true;
31 bool doIBOBresiduals = true;
32 bool doResid = true;
34
35 bool refitPV = true;
36 float refitPVMV = false;
37 float refitPVIniScale = 100.f;
38
39 std::string outname{"checkResid"};
40 // histogram settings
41 int nBinsRes = 100;
42 int nBinsPhi = 30;
43 int nBinsZ = 20;
44 int nBinsPt = 15;
45 int nBinsTgl = 20;
46 int nBinsPVXYZ = 1000;
47 int minHistoStat2Fit = 1000;
48 float maxPull = 5;
49 float zranges[8] = {10.f, 15.f, 15.f, 15.f, 40.f, 40.f, 74.f, 74.f};
50 float maxDYZ[8] = {0.03, 0.015, 0.01, 0.01, 0.08, 0.08, 0.12, 0.1};
51 float maxDPar[5] = {0.15, 0.15, 0.015, 0.015, 1.};
52 float IOBScaleFactor = 5.f;
53 float maxHPVXY = 0.5;
54 float maxHPVZ = 20.;
55 float maxHPVN = 200.;
56 // drawing settings
57 float resMMLrY[8] = {0.003, 0.003, 0.003, 0.003, 0.005, 0.005, 0.005, 0.005};
58 float resMMLrZ[8] = {0.002, 0.0015, 0.0015, 0.0015, 0.005, 0.005, 0.005, 0.005};
59 float resMMPar[5] = {0.03, 0.01, 0.005, 0.001, 0.5};
60 //
61 // string with existing histomanagers files to draw (comma or semicolon separated) and optional legends
62 bool savePostprocessed = false;
63 std::string ext_hm_list{};
64 std::string ext_marker_list{};
65 std::string ext_color_list{};
66 std::string ext_leg_list{};
67
69};
70} // namespace o2::checkresid
71
72#endif
bool doIBOBresiduals
fill residuals of OB(IB) points wrt extrapolation of the IB(OB) sub-track, w/o intermediate updates
O2ParamDef(CheckResidConfig, "checkresid")
float IOBScaleFactor
multiplier applied to maxDYZ, resMMLrY, resMMLrZ when booking/drawing the (larger range) IOB residual...
bool savePostprocessed
write refitted external histogram managers back to their files in postprocessing-only mode