BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnScWallDigit.h
Go to the documentation of this file.
1
/** @author Nikolay Karpushkin <karpushkin@inr.ru>
2
** @date 10.01.2024
3
**
4
** Class for simulation data at digi level
5
**/
6
7
#ifndef BMNSCWALLGIGIT_H
8
#define BMNSCWALLGIGIT_H
9
10
#include "BmnAbstractDigit.h"
// for Abstract digit
11
#include "
BmnScWallAddress.h
"
// for BmnScWallAddress
12
13
class
BmnScWallDigit
:
public
BmnAbstractDigit
14
{
15
public
:
16
BmnScWallDigit
()
17
:
BmnAbstractDigit
()
18
{}
19
BmnScWallDigit
(uint32_t address,
double
time,
double
signal = 0)
20
:
BmnAbstractDigit
(address, time, signal)
21
{}
22
23
~BmnScWallDigit
() {};
24
25
// Getters
26
uint32_t
GetSystemId
()
const
{
return
BmnScWallAddress::GetSystemId
(
fAddress
); }
27
uint32_t
GetCellId
()
const
{
return
BmnScWallAddress::GetCellId
(
fAddress
); }
28
29
// Member Functions
30
virtual
const
char
*
GetClassName
() {
return
"BmnScWallDigit"
; }
31
virtual
void
Print
(
const
Option_t
* opt =
""
)
32
{
33
printf(
"%s: CellId %d Data %s \n"
,
GetClassName
(),
GetCellId
(),
GetStringData
().Data());
34
}
35
36
ClassDef
(
BmnScWallDigit
, 2);
37
};
38
39
#endif
// BMNSCWALLGIGIT_H
Option_t
const char Option_t
ClassDef
#define ClassDef(name, id)
BmnAbstractDigit::GetStringData
TString GetStringData()
Definition
BmnAbstractDigit.h:38
BmnAbstractDigit::BmnAbstractDigit
BmnAbstractDigit()
Definition
BmnAbstractDigit.h:16
BmnAbstractDigit::fAddress
uint32_t fAddress
Definition
BmnAbstractDigit.h:51
BmnScWallAddress::GetCellId
static uint32_t GetCellId(uint32_t address)
Return Cell id from address.
Definition
BmnScWallAddress.h:52
BmnScWallAddress::GetSystemId
static uint32_t GetSystemId(uint32_t address)
Return System identifier from address.
Definition
BmnScWallAddress.h:42
BmnScWallDigit
Definition
BmnScWallDigit.h:14
BmnScWallDigit::GetSystemId
uint32_t GetSystemId() const
Definition
BmnScWallDigit.h:26
BmnScWallDigit::BmnScWallDigit
BmnScWallDigit(uint32_t address, double time, double signal=0)
Definition
BmnScWallDigit.h:19
BmnScWallDigit::Print
virtual void Print(const Option_t *opt="")
Definition
BmnScWallDigit.h:31
BmnScWallDigit::GetCellId
uint32_t GetCellId() const
Definition
BmnScWallDigit.h:27
BmnScWallDigit::BmnScWallDigit
BmnScWallDigit()
Definition
BmnScWallDigit.h:16
BmnScWallDigit::~BmnScWallDigit
~BmnScWallDigit()
Definition
BmnScWallDigit.h:23
BmnScWallDigit::GetClassName
virtual const char * GetClassName()
Definition
BmnScWallDigit.h:30
BmnScWallAddress.h
detectors
scwall
BmnScWallDigit.h
Generated on
for BmnRoot by
1.17.0