CbmRoot
Loading...
Searching...
No Matches
CbmCaInputQaSts.h
Go to the documentation of this file.
1/* Copyright (C) 2023-2024 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 "TMath.h"
17
18#include <set>
19#include <unordered_map>
20#include <vector>
21
22class CbmMatch;
23class CbmMCEventList;
24class CbmMCDataArray;
26class CbmMCTrack;
27class CbmStsHit;
28class CbmStsPoint;
30class CbmTimeSlice;
31class TClonesArray;
32class TH1F;
33class TH2F;
34class TProfile;
35class TProfile2D;
36
38class CbmCaInputQaSts : public CbmCaInputQaBase<cbm::algo::ca::EDetectorID::kSts> {
39 public:
43 CbmCaInputQaSts(int verbose, bool isMCUsed);
44
45 protected:
47 void Check() override;
48
50 void CreateSummary() override;
51
53 void DefineParameters() override;
54
56 void DeInit() override;
57
59 void FillHistogramsPerHit() override;
60
62 void FillHistogramsPerPoint() override;
63
65 void ExecQa() override { CbmCaInputQaBase::ExecQa(); }
66
68 InitStatus InitQa() override;
69
70 private:
71 // ----- Data branches
72 TClonesArray* fpClusters = nullptr;
73
74 // ----- Histograms (additional to ones from the base class)
75 // NOTE: the last element of each vector stands for integral distribution over all stations
77
78 std::vector<TH1F*> fvph_pull_u_Ndig;
79 std::vector<TH1F*> fvph_pull_v_Ndig;
80
82};
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 ExecQa() override
Fills histograms per event or time-slice.
A QA-task class, which provides assurance of MuCh hits and geometry.
void ExecQa() override
Fills histograms per event or time-slice.
void FillHistogramsPerHit() override
Fills histograms per hit.
ClassDefOverride(CbmCaInputQaSts, 0)
CbmCaInputQaSts(int verbose, bool isMCUsed)
void FillHistogramsPerPoint() override
Fills histograms per MC point.
std::vector< TH1F * > fvph_pull_u_Ndig
pull for u coordinate, depending on N digis in the cluster
InitStatus InitQa() override
Initializes QA.
void DefineParameters() override
Defines parameters of the task.
const int fkMaxDigisInClusterForPulls
max digis in cluster for separate histogramming of puls
void CreateSummary() override
Creates summary cavases, tables etc.
std::vector< TH1F * > fvph_pull_v_Ndig
pull for v coordinate, depending on N digis in the cluster
void DeInit() override
De-initializes histograms.
void Check() override
Method to check, if the QA results are acceptable.
TClonesArray * fpClusters
Array of hit clusters.
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.
data class for a reconstructed 3-d hit in the STS
Definition CbmStsHit.h:35
A CbmL1 subtask, which provides necessary methods for CA tracker to access the geometry and dataflow ...
Bookkeeping of time-slice content.