CbmRoot
Loading...
Searching...
No Matches
CbmCaInputQaTrd.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 "CbmCaInputQaTrd.h"
11
13
15
16// ---------------------------------------------------------------------------------------------------------------------
17//
18CbmCaInputQaTrd::CbmCaInputQaTrd(int verbose, bool isMCUsed) : CbmCaInputQaBase("CbmCaInputQaTrd", 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, 100.00); // [ns]
38 // Residuals
39 SetRange(fRResX, -10.00, 10.00);
40 SetRange(fRResY, -10.00, 10.00);
41 SetRange(fRResU, -2.00, 2.00);
42 SetRange(fRResV, -10.00, 10.00);
43 SetRange(fRResT, -200.0, 200.0);
44}
45
46// ---------------------------------------------------------------------------------------------------------------------
47//
49{
50 // Specific initialization
52
54}
ClassImp(CbmCaInputQaTrd)
QA-task for CA tracking input from TRD 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.
CbmTrackingDetectorInterfaceBase * fpDetInterface
InitStatus InitQa() override
Initializes QA task.
void DefineParameters() override
Defines parameters of the task.
InitStatus InitQa() override
Initializes QA.
CbmCaInputQaTrd(int verbose, bool isMCUsed)
Constructor from parameters.
static CbmTrdTrackingInterface * Instance()
Gets pointer to the instance of the CbmTrdTrackingInterface.