BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnFHCalDigit.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 BMNFHCALDIGIT_H
8#define BMNFHCALDIGIT_H
9
10#include "BmnAbstractDigit.h" // for Abstract digit
11#include "BmnFHCalAddress.h" // for BmnFHCalAddress
12
14{
15 public:
19 BmnFHCalDigit(uint32_t address, double time, double signal = 0)
20 : BmnAbstractDigit(address, time, signal)
21 {}
22
24
25 // Getters
30
31 // Member Functions
32 virtual const char* GetClassName() { return "BmnFHCalDigit"; }
33 virtual void Print(const Option_t* opt = "")
34 {
35 printf("%s: ModuleId %d Section %d Data %s \n", GetClassName(), GetModuleId(), GetSectionId(),
36 GetStringData().Data());
37 }
38
40};
41
42#endif // BMNFHCALDIGIT_H
const char Option_t
#define ClassDef(name, id)
Abstract base data class to store digital information.
static uint32_t GetModuleId(uint32_t address)
Return Module id from address.
static uint32_t GetModuleType(uint32_t address)
Return Module id from address.
static uint32_t GetSectionId(uint32_t address)
Return Section id from address.
static uint32_t GetSystemId(uint32_t address)
Return System identifier from address.
uint32_t GetModuleType() const
uint32_t GetSectionId() const
virtual void Print(const Option_t *opt="")
uint32_t GetSystemId() const
uint32_t GetModuleId() const
BmnFHCalDigit(uint32_t address, double time, double signal=0)
virtual const char * GetClassName()