BmnRoot
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",
29 GetStringData().Data());
30 }
31
33};
34
35#endif // BMNNDETDIGIT_H
Abstract base data class to store digital information.
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()
ClassDef(BmnNdetDigit, 6)
BmnNdetDigit(uint32_t address, double time, double signal)
virtual void Print(const Option_t *opt="")