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
15
16// ---------------------------------------------------------------------------------------------------------------------
17//
18CbmCaInputQaMvd::CbmCaInputQaMvd(int verbose, bool isMCUsed) : CbmCaInputQaBase("CbmCaInputQaMvd", 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.005, 0.005); // [cm]
34 SetRange(fRHitDy, -0.005, 0.005); // [cm]
35 SetRange(fRHitDu, -0.005, 0.005); // [cm]
36 SetRange(fRHitDv, -0.005, 0.005); // [cm]
37 SetRange(fRHitDt, -10., 10.); // [ns]
38 // Residuals
39 SetRange(fRResX, -0.004, 0.004);
40 SetRange(fRResY, -0.004, 0.004);
41 SetRange(fRResU, -0.004, 0.004);
42 SetRange(fRResV, -0.004, 0.004);
43 SetRange(fRResT, -5.0, 5.0);
44}
45
46// ---------------------------------------------------------------------------------------------------------------------
47//
49{
50 // Specific initialization
52
54}
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)
A QA-task class, which provides assurance of MuCh hits and geometry.
CbmTrackingDetectorInterfaceBase * fpDetInterface
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.
static CbmMvdTrackingInterface * Instance()
Gets pointer to the instance of the CbmMvdTrackingInterface.