BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnMwpcDigit.h
Go to the documentation of this file.
1/*
2 * File: BmnMwpcDigit.h
3 * Author: Sergey Merts
4 *
5 * Created on October 17, 2014, 1:18 PM
6 */
7
8#ifndef BMNMWPCDIGIT_H
9#define BMNMWPCDIGIT_H
10
11#include "TNamed.h"
12
13using namespace std;
14
15class BmnMwpcDigit : public TNamed
16{
17
18 public:
19 /** Default constructor **/
21
22 /** Constructor to use **/
23 BmnMwpcDigit(Short_t iStation, Short_t iPlane, Int_t iWire, UInt_t iTime);
24
25 Short_t GetStation() const { return fStation; }
26 Short_t GetPlane() const { return fPlane; }
27 Int_t GetWireNumber() const { return fWire; }
28 UInt_t GetTime() const { return fTime; }
29 Int_t GetRefId() const { return fRef; }
30 Int_t IsUsed() const { return fUse; }
31
32 void SetStation(Short_t _tmp) { fStation = _tmp; }
33 void SetPlane(Short_t _tmp) { fPlane = _tmp; }
34 void SetWireNumber(Int_t _tmp) { fWire = _tmp; }
35 void SetTime(UInt_t _tmp) { fTime = _tmp; }
36 void SetRefId(Int_t _tmp) { fRef = _tmp; }
37 void SetUsing(Bool_t _tmp) { fUse = _tmp; }
38
39 /** Destructor **/
40 virtual ~BmnMwpcDigit();
41
42 private:
46 UInt_t fTime; // ns
47 Int_t fRef;
49
51};
52
53#endif /* BMNMWPCDIGIT_H */
bool Bool_t
int Int_t
short Short_t
#define ClassDef(name, id)
Short_t fStation
void SetRefId(Int_t _tmp)
Short_t GetPlane() const
virtual ~BmnMwpcDigit()
Destructor.
Int_t IsUsed() const
void SetTime(UInt_t _tmp)
void SetPlane(Short_t _tmp)
BmnMwpcDigit()
Default constructor.
void SetStation(Short_t _tmp)
void SetUsing(Bool_t _tmp)
Short_t fPlane
Int_t GetRefId() const
Short_t GetStation() const
void SetWireNumber(Int_t _tmp)
UInt_t GetTime() const
Int_t GetWireNumber() const
BmnMwpcDigit(Short_t iStation, Short_t iPlane, Int_t iWire, UInt_t iTime)
Constructor to use.
Definition json.hpp:4446