CbmRoot
Loading...
Searching...
No Matches
CbmCaInputQaTof.h
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
11#pragma once
12
13#include "CbmCaInputQaBase.h"
14#include "CbmMCDataManager.h"
15#include "CbmQaTask.h"
16#include "CbmTofCell.h"
17#include "TMath.h"
18
19#include <iomanip>
20#include <sstream>
21#include <string>
22#include <tuple>
23#include <unordered_map>
24#include <vector>
25
26class CbmMCEventList;
27class CbmMCDataArray;
29class CbmTimeSlice;
30class CbmMatch;
31class CbmTofHit;
32class CbmTofPoint;
34class TClonesArray;
35class TH1F;
36class CbmQaEff;
37class CbmTofDigiPar;
39
40
43class CbmCaInputQaTof : public CbmCaInputQaBase<cbm::algo::ca::EDetectorID::kTof> {
44 public:
48 CbmCaInputQaTof(int verbose, bool isMCUsed);
49
50 protected:
52 void Check() override { CbmCaInputQaBase::Check(); }
53
55 void CreateSummary() override;
56
58 void DeInit() override;
59
61 void DefineParameters() override;
62
64 void FillHistogramsPerHit() override;
65
67 void FillHistogramsPerPoint() override {}
68
70 void ExecQa() override;
71
73 InitStatus InitQa() override;
74
75 private:
78
81
82 int fNbXo = 400;
83 int fNbYo = 400;
84 int fUpXo = +100;
85 int fLoXo = -100;
86 int fUpYo = +100;
87 int fLoYo = -100;
88 template<typename T>
89 using Vector3D_t = std::vector<std::vector<std::vector<T>>>;
93
95};
Class providing basic functionality for CA input QA-tasks.
A base class for CBM QA task logic.
A QA-task class, which provides assurance of MuCh hits and geometry.
void Check() override
Method to check, if the QA results are acceptable.
int fLoYo
Y min in occupancy [cm].
Vector3D_t< TH2F * > fvph_hit_xy_vs_cell
Hit occupancy vs. TOF cell ix XY-plane.
void FillHistogramsPerHit() override
Fills histograms per hit.
void FillChannelInfoMap()
Fills channel info map.
void Check() override
Method to check, if the QA results are acceptable.
CbmTofDigiBdfPar * fDigiBdfPar
int fLoXo
X min in occupancy [cm].
int fUpXo
X max in occupancy [cm].
void FillHistogramsPerPoint() override
Fills histograms per MC point.
CbmTofDigiPar * fDigiPar
int fNbXo
Number of bins in occupancy.
void CreateSummary() override
Creates summary cavases, tables etc.
CbmCaInputQaTof(int verbose, bool isMCUsed)
Constructor from parameters.
Vector3D_t< TH2F * > fvph_hit_zy_vs_cell
Hit occupancy vs. TOF cell in ZY-plane.
ClassDefOverride(CbmCaInputQaTof, 0)
std::vector< std::vector< std::vector< T > > > Vector3D_t
void DeInit() override
De-initializes histograms.
void DefineParameters() override
Defines parameters of the task.
InitStatus InitQa() override
Initializes histograms, data-branches and other modules in the beginning of the run.
void ExecQa() override
Fills histograms per event or time-slice.
int fUpYo
Y max in occupancy [cm].
Vector3D_t< TH2F * > fvph_hit_zx_vs_cell
Hit occupancy vs. TOF cell in ZX-plane.
int fNbYo
Number of bins in occupancy.
Access to a MC data branch for time-based analysis.
Task class creating and managing CbmMCDataArray objects.
Container class for MC events with number, file and start time.
Bookkeeping of time-slice content.
Parameters class for the CBM ToF digitizer using beam data distributions.
Geometric intersection of a MC track with a TOFb detector.
Definition CbmTofPoint.h:44