BmnRoot 26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
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
21class BmnScWallCell : public FairHit
22{
23
24 public:
25 /** @brief Default constructor.
26 **/
28
29 /** @brief Constructor to use.
30 **/
31 BmnScWallCell(int CellId, float CellSignal, TVector3 posHit, TVector3 posHitErr, int pointIndx);
32
33 /** Copy constructor **/
35
36 /** Move constructor **/
37 BmnScWallCell(BmnScWallCell&&) noexcept;
38
39 /** Assignment operator **/
41
42 /** Move Assignment operator **/
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:
77
79};
80
81#endif /* BMNSCWALLCELL_H */
const char Option_t
#define ClassDef(name, id)
BmnScWallCell & operator=(const BmnScWallCell &)
Assignment operator.
virtual ~BmnScWallCell()
Destructor.
virtual const char * GetClassName()
Class name.
BmnScWallCell()
Default constructor.
void SetSignal(float Signal)
int GetCellId() const
Cell id.
float GetSignal() const
Deposited Signal.
void SetCellId(int CellId)
Position.
virtual void Print(Option_t *option="") const