CbmRoot
Loading...
Searching...
No Matches
CbmCaInputQaMuch.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 "CbmCaInputQaMuch.h"
11
13
14// ---------------------------------------------------------------------------------------------------------------------
15//
16CbmCaInputQaMuch::CbmCaInputQaMuch(int verbose, bool isMCUsed) : CbmCaInputQaBase("CbmCaInputQaMuch", 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.0000, 5.00); // [cm]
32 SetRange(fRHitDy, 0.0000, 5.00); // [cm]
33 SetRange(fRHitDu, 0.0000, 5.00); // [cm]
34 SetRange(fRHitDv, 0.0000, 5.00); // [cm]
35 SetRange(fRHitDt, 0.0000, 0.15); // [ns]
36 // Residuals
37 SetRange(fRResX, -2.00, 2.00);
38 SetRange(fRResY, -4.00, 4.00);
39 SetRange(fRResU, -2.00, 2.00);
40 SetRange(fRResV, -4.00, 4.00);
41 SetRange(fRResT, -5.00, 5.00);
42 SetRange(fRangeDzHitPoint, -50., 50.);
43}
44
45
46// ---------------------------------------------------------------------------------------------------------------------
47//
49{
51}
ClassImp(CbmCaInputQaMuch)
QA-task for CA tracking input from MuCh detector (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.
InitStatus InitQa() override
Initializes QA.
void DefineParameters() override
Defines parameters of the task.
CbmCaInputQaMuch(int verbose, bool isMCUsed)
Constructor from parameters.