|
| 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 | +#ifndef ALICEO2_ITS3_ALIGNMENTPARAMS_H_ |
| 12 | +#define ALICEO2_ITS3_ALIGNMENTPARAMS_H_ |
| 13 | + |
| 14 | +#include "CommonUtils/ConfigurableParam.h" |
| 15 | +#include "CommonUtils/ConfigurableParamHelper.h" |
| 16 | +#include "DetectorsBase/Propagator.h" |
| 17 | + |
| 18 | +namespace o2::its3::align |
| 19 | +{ |
| 20 | +struct AlignmentParams : public o2::conf::ConfigurableParamHelper<AlignmentParams> { |
| 21 | + // Track selection |
| 22 | + float minPt = 1.f; // minimum pt required |
| 23 | + int minITSCls = 7; // minimum number of ITS clusters |
| 24 | + float maxITSChi2Ndf = 1.2; // maximum ITS track chi2 |
| 25 | + |
| 26 | + // propagation opt |
| 27 | + double maxSnp = 0.85; |
| 28 | + double maxStep = 2.0; |
| 29 | + o2::base::PropagatorD::MatCorrType matCorrType = o2::base::PropagatorD::MatCorrType::USEMatCorrTGeo; |
| 30 | + |
| 31 | + double radiusIBOBComp = 12.0; // radius where IB&OB track are compared |
| 32 | + bool useStableRefit = true; // use input tracks as linearization point |
| 33 | + float minMS = 1e-6f; // minimum scattering to account for |
| 34 | + float maxChi2Ndf = 10; // maximum Chi2/Ndf allowed for GBL fit |
| 35 | + |
| 36 | + // Ridder options |
| 37 | + int ridderMaxExtrap = 10; |
| 38 | + double ridderRelIniStep[5] = {0.01, 0.01, 0.02, 0.02, 0.02}; |
| 39 | + double ridderMaxIniStep[5] = {0.1, 0.1, 0.05, 0.05, 0.05}; |
| 40 | + double ridderShrinkFac = 2.0; |
| 41 | + double ridderEps = 1e-16; |
| 42 | + double ridderMaxJacDiagTol = 0.1; // max tolerance of diagonal elements away from 1 |
| 43 | + |
| 44 | + // MillePede output |
| 45 | + std::string milleFileName = "mille.data"; |
| 46 | + |
| 47 | + O2ParamDef(AlignmentParams, "ITS3AlignmentParams"); |
| 48 | +}; |
| 49 | +} // namespace o2::its3::align |
| 50 | + |
| 51 | +#endif |
0 commit comments