BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnNdetDigit.h
Go to the documentation of this file.
1#ifndef BMNNDETDIGIT_H
2#define BMNNDETDIGIT_H
3
4#include "BmnAbstractDigit.h" // for Abstract digit
5#include "BmnNdetAddress.h" // for BmnNdetAddress
6#include "BmnNdetAddressMixin.h" // for BmnNdetAddressMixin
7
9 : public BmnAbstractDigit
10 , public BmnNdetAddressMixin<BmnNdetDigit>
11{
12 public:
16 BmnNdetDigit(uint32_t address, double time, double signal)
17 : BmnAbstractDigit(address, time, signal)
18 {}
19
21
22 // Member Functions
23 virtual const char* GetClassName() { return "BmnNdetDigit"; }
24 virtual void Print(const Option_t* opt = "")
25 {
26 printf("%s: %s Data %s \n", GetClassName(), BmnNdetAddress::GetInfoString(fAddress).c_str(),
27 GetStringData().Data());
28 }
29
31};
32
33#endif // BMNNDETDIGIT_H
const char Option_t
#define ClassDef(name, id)
interface to use the address methods
static std::string GetInfoString(uint32_t address)
Return a formatted string with all address components.
virtual const char * GetClassName()
BmnNdetDigit(uint32_t address, double time, double signal)
virtual void Print(const Option_t *opt="")