BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnDchDigit.h
Go to the documentation of this file.
1#ifndef BMNDCHDIGIT_H
2#define BMNDCHDIGIT_H
3
4#include "TNamed.h"
5
6using namespace std;
7
8class BmnDchDigit : public TNamed
9{
10
11 public:
12 /** Default constructor **/
14
15 /** Constructor to use **/
16 BmnDchDigit(UChar_t iPlane, Short_t iWire, Double_t iTime, Int_t refId);
17
18 UChar_t GetPlane() const { return fPlane; }
19 Short_t GetWireNumber() const { return fWire; }
20 Double_t GetTime() const { return fTime; }
21 Int_t GetRefId() const { return fRef; }
22
23 void SetPlane(UChar_t _tmp) { fPlane = _tmp; }
24 void SetWireNumber(Short_t _tmp) { fWire = _tmp; }
25 void SetTime(Double_t _tmp) { fTime = _tmp; }
26 void SetRefId(Int_t _tmp) { fRef = _tmp; }
27
28 /** Destructor **/
29 virtual ~BmnDchDigit();
30
31 private:
35 Int_t fRef;
36
38};
39
40#endif /* BMNDCHDIGIT_H */
int Int_t
unsigned char UChar_t
short Short_t
double Double_t
#define ClassDef(name, id)
Int_t GetRefId() const
Definition BmnDchDigit.h:21
Double_t GetTime() const
Definition BmnDchDigit.h:20
UChar_t fPlane
Definition BmnDchDigit.h:32
void SetTime(Double_t _tmp)
Definition BmnDchDigit.h:25
BmnDchDigit()
Default constructor.
Short_t GetWireNumber() const
Definition BmnDchDigit.h:19
virtual ~BmnDchDigit()
Destructor.
void SetRefId(Int_t _tmp)
Definition BmnDchDigit.h:26
BmnDchDigit(UChar_t iPlane, Short_t iWire, Double_t iTime, Int_t refId)
Constructor to use.
void SetWireNumber(Short_t _tmp)
Definition BmnDchDigit.h:24
UChar_t GetPlane() const
Definition BmnDchDigit.h:18
Double_t fTime
Definition BmnDchDigit.h:34
Short_t fWire
Definition BmnDchDigit.h:33
void SetPlane(UChar_t _tmp)
Definition BmnDchDigit.h:23
Definition json.hpp:4446