BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnScWallCell.h
Go to the documentation of this file.
1
/** \file BmnScWallCell.h
2
** \author Valerii Troshin <valerytrosh@gmail.com>
3
** \date 09.09.2022
4
** \author Nikolay Karpushkin <karpushkin@inr.ru>
5
** \date 27.06.2023
6
**/
7
8
/** \class BmnScWallCell
9
** \brief Class for Bmn ScWall module data container in event
10
** \version 0.1
11
**/
12
13
#ifndef BMNSCWALLCELL_H
14
#define BMNSCWALLCELL_H
15
16
#include <FairHit.h>
17
#include <
TClonesArray.h
>
18
#include <array>
19
#include <numeric>
20
21
class
BmnScWallCell
:
public
FairHit
22
{
23
24
public
:
25
/** @brief Default constructor.
26
**/
27
BmnScWallCell
();
28
29
/** @brief Constructor to use.
30
**/
31
BmnScWallCell
(
int
CellId,
float
CellSignal,
TVector3
posHit,
TVector3
posHitErr,
int
pointIndx);
32
33
/** Copy constructor **/
34
BmnScWallCell
(
const
BmnScWallCell
&);
35
36
/** Move constructor **/
37
BmnScWallCell
(
BmnScWallCell
&&) noexcept;
38
39
/** Assignment operator **/
40
BmnScWallCell
& operator=(const
BmnScWallCell
&);
41
42
/** Move Assignment operator **/
43
BmnScWallCell
& operator=(
BmnScWallCell
&&) noexcept;
44
45
/** Destructor **/
46
virtual ~
BmnScWallCell
() {};
47
48
/** @brief Class name
49
** @return BmnScWallCell
50
**/
51
virtual
const
char
*
GetClassName
() {
return
"BmnScWallCell"
; }
52
53
/** @brief Cell id
54
** @return BmnScWallCell index
55
**/
56
int
GetCellId
()
const
{
return
fCellId
; };
57
58
/** @brief Deposited Signal
59
** @return Deposited Signal in cell in event [~Z^2]
60
**/
61
float
GetSignal
()
const
{
return
fCellSignal
; };
62
63
/** @brief Position
64
** @return unherited from FairHit
65
** @brief use GetX() GetY() GetZ() syntaxis
66
**/
67
68
void
SetCellId
(
int
CellId) {
fCellId
= CellId; }
69
void
SetSignal
(
float
Signal) {
fCellSignal
= Signal; }
70
void
reset
();
71
72
virtual
void
Print
(
Option_t
* option =
""
)
const
;
73
74
private
:
75
int
fCellId
;
76
float
fCellSignal
;
77
78
ClassDef
(
BmnScWallCell
, 2);
79
};
80
81
#endif
/* BMNSCWALLCELL_H */
Option_t
const char Option_t
ClassDef
#define ClassDef(name, id)
TClonesArray.h
BmnScWallCell
Class for Bmn ScWall module data container in event.
Definition
BmnScWallCell.h:22
BmnScWallCell::GetClassName
virtual const char * GetClassName()
Class name.
Definition
BmnScWallCell.h:51
BmnScWallCell::BmnScWallCell
BmnScWallCell()
Default constructor.
BmnScWallCell::fCellId
int fCellId
Definition
BmnScWallCell.h:75
BmnScWallCell::SetSignal
void SetSignal(float Signal)
Definition
BmnScWallCell.h:69
BmnScWallCell::fCellSignal
float fCellSignal
Definition
BmnScWallCell.h:76
BmnScWallCell::BmnScWallCell
BmnScWallCell(BmnScWallCell &&) noexcept
Move constructor.
BmnScWallCell::GetCellId
int GetCellId() const
Cell id.
Definition
BmnScWallCell.h:56
BmnScWallCell::reset
void reset()
BmnScWallCell::GetSignal
float GetSignal() const
Deposited Signal.
Definition
BmnScWallCell.h:61
BmnScWallCell::SetCellId
void SetCellId(int CellId)
Position.
Definition
BmnScWallCell.h:68
BmnScWallCell::BmnScWallCell
BmnScWallCell(int CellId, float CellSignal, TVector3 posHit, TVector3 posHitErr, int pointIndx)
Constructor to use.
BmnScWallCell::BmnScWallCell
BmnScWallCell(const BmnScWallCell &)
Copy constructor.
BmnScWallCell::Print
virtual void Print(Option_t *option="") const
FairHit
TVector3
install
include
BmnScWallCell.h
Generated on
for BmnRoot by
1.17.0