BmnRoot
Loading...
Searching...
No Matches
BmnScWallCell.h
Go to the documentation of this file.
1
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:
28
31 BmnScWallCell(int CellId, float CellSignal, TVector3 posHit, TVector3 posHitErr, int pointIndx);
32
35
38
40 BmnScWallCell& operator=(const BmnScWallCell&);
41
43 BmnScWallCell& operator=(BmnScWallCell&&) noexcept;
44
46 virtual ~BmnScWallCell() {};
47
51 virtual const char* GetClassName() { return "BmnScWallCell"; }
52
56 int GetCellId() const { return fCellId; };
57
61 float GetSignal() const { return fCellSignal; };
62
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 */
Class for Bmn ScWall module data container in event.
virtual const char * GetClassName()
Class name.
BmnScWallCell()
Default constructor.
void SetSignal(float Signal)
BmnScWallCell(BmnScWallCell &&) noexcept
int GetCellId() const
Cell id.
float GetSignal() const
Deposited Signal.
void SetCellId(int CellId)
Position.
BmnScWallCell(int CellId, float CellSignal, TVector3 posHit, TVector3 posHitErr, int pointIndx)
Constructor to use.
BmnScWallCell(const BmnScWallCell &)
virtual void Print(Option_t *option="") const