CbmRoot
Loading...
Searching...
No Matches
CbmCaInputQaMvd.cxx
Go to the documentation of this file.
1/* Copyright (C) 2023 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Sergei Zharko [committer] */
4
9
10#include "CbmCaInputQaMvd.h"
11
13
14// ---------------------------------------------------------------------------------------------------------------------
15//
16CbmCaInputQaMvd::CbmCaInputQaMvd(int verbose, bool isMCUsed) : CbmCaInputQaBase("CbmCaInputQaMvd", verbose, isMCUsed)
17{
18 // Default parameters of task
20}
21
22// ---------------------------------------------------------------------------------------------------------------------
23//
25{
26 auto SetRange = [](std::array<double, 2>& range, double min, double max) {
27 range[0] = min;
28 range[1] = max;
29 };
30 // Hit errors
31 SetRange(fRHitDx, -0.005, 0.005); // [cm]
32 SetRange(fRHitDy, -0.005, 0.005); // [cm]
33 SetRange(fRHitDu, -0.005, 0.005); // [cm]
34 SetRange(fRHitDv, -0.005, 0.005); // [cm]
35 SetRange(fRHitDt, -10., 10.); // [ns]
36 // Residuals
37 SetRange(fRResX, -0.004, 0.004);
38 SetRange(fRResY, -0.004, 0.004);
39 SetRange(fRResU, -0.004, 0.004);
40 SetRange(fRResV, -0.004, 0.004);
41 SetRange(fRResT, -5.0, 5.0);
42}
43
44// ---------------------------------------------------------------------------------------------------------------------
45//
47{
49}
ClassImp(CbmCaInputQaMvd)
QA-task for CA tracking input from MVD (header)
friend fscal max(fscal x, fscal y)
friend fscal min(fscal x, fscal y)
CbmCaInputQaBase(const char *name, int verbose, bool isMCUsed)
InitStatus InitQa() override
Initializes QA task.
void DefineParameters() override
Defines parameters of the task.
CbmCaInputQaMvd(int verbose, bool isMCUsed)
Constructor from parameters.
InitStatus InitQa() override
Initializes QA.