BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnScWallDigi.h
Go to the documentation of this file.
1/* Copyright (C) 2021 Institute for Nuclear Research, Moscow
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Nikolay Karpushkin [committer] */
4
5/** @author Nikolay Karpushkin <karpushkin@inr.ru>
6 ** @date 10.01.2024
7 **
8 ** \brief Class for experimental data at digi level
9 ** \version 2.0
10 **/
11
12#ifndef BmnScWallDigi_H
13#define BmnScWallDigi_H 1
14
15#include "BmnDigiContainerTemplate.h" // for BmnDigiContainerTemplate
16#include "BmnScWallDigit.h" // for BmnScWallDigit
17
19 : public BmnScWallDigit
21{
22
23 public:
24 /**@brief Default constructor.
25 **/
30
31 /** Destructor **/
33
34 void reset() override final
35 {
38 }
39
40 /** @brief Class name
41 ** @return BmnScWallDigi
42 **/
43 virtual const char* GetClassName() override final { return "BmnScWallDigi"; }
44
45 const int DrawWfm()
46 {
47 TString hist_name = Form("Cell%u. Signal %.2f FitR2 %.2f", GetCellId(), GetSignal(), GetFitR2());
48 TCanvas* canvas = new TCanvas();
49 DrawWfmWithTitle(canvas, hist_name);
50 return 1;
51 }
52
54};
55
56#endif // BmnScWallDigi_H
#define ClassDefOverride(name, id)
char * Form(const char *fmt,...)
double GetSignal() const
virtual void reset()
BmnDigiContainerTemplate()
Default constructor.
float GetFitR2() const
Fit R2 quality.
void DrawWfmWithTitle(TCanvas *canvas, TString hist_name)
Class for experimental data at digi level.
virtual const char * GetClassName() override final
Class name.
BmnScWallDigi()
Default constructor.
void reset() override final
const int DrawWfm()
~BmnScWallDigi()
Destructor.
uint32_t GetCellId() const