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
15
16// ---------------------------------------------------------------------------------------------------------------------
17//
18CbmCaInputQaMuch::CbmCaInputQaMuch(int verbose, bool isMCUsed) : CbmCaInputQaBase("CbmCaInputQaMuch", verbose, isMCUsed)
19{
20 // Default parameters of task
22}
23
24// ---------------------------------------------------------------------------------------------------------------------
25//
27{
28 auto SetRange = [](std::array<double, 2>& range, double min, double max) {
29 range[0] = min;
30 range[1] = max;
31 };
32 // Hit errors
33 SetRange(fRHitDx, 0.0000, 5.00); // [cm]
34 SetRange(fRHitDy, 0.0000, 5.00); // [cm]
35 SetRange(fRHitDu, 0.0000, 5.00); // [cm]
36 SetRange(fRHitDv, 0.0000, 5.00); // [cm]
37 SetRange(fRHitDt, 0.0000, 0.15); // [ns]
38 // Residuals
39 SetRange(fRResX, -2.00, 2.00);
40 SetRange(fRResY, -4.00, 4.00);
41 SetRange(fRResU, -2.00, 2.00);
42 SetRange(fRResV, -4.00, 4.00);
43 SetRange(fRResT, -5.00, 5.00);
44 SetRange(fRangeDzHitPoint, -50., 50.);
45}
46
47
48// ---------------------------------------------------------------------------------------------------------------------
49//
51{
52 // Specific initialization
54
56}
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)
A QA-task class, which provides assurance of MuCh hits and geometry.
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.
static CbmMuchTrackingInterface * Instance()
Gets pointer to the instance of the CbmMuchTrackingInterface.