BmnRoot
26.10.0-19-g6979a6c6
Software framework of the BM@N experiment
Toggle main menu visibility
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
13
using namespace
std;
14
15
class
BmnMwpcDigit
:
public
TNamed
16
{
17
18
public
:
19
/** Default constructor **/
20
BmnMwpcDigit
();
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
:
43
Short_t
fStation
;
44
Short_t
fPlane
;
45
Int_t
fWire
;
46
UInt_t
fTime
;
// ns
47
Int_t
fRef
;
48
Bool_t
fUse
;
49
50
ClassDef
(
BmnMwpcDigit
, 2);
51
};
52
53
#endif
/* BMNMWPCDIGIT_H */
Bool_t
bool Bool_t
Int_t
int Int_t
Short_t
short Short_t
ClassDef
#define ClassDef(name, id)
TNamed.h
BmnMwpcDigit::fStation
Short_t fStation
Definition
BmnMwpcDigit.h:43
BmnMwpcDigit::SetRefId
void SetRefId(Int_t _tmp)
Definition
BmnMwpcDigit.h:36
BmnMwpcDigit::fTime
UInt_t fTime
Definition
BmnMwpcDigit.h:46
BmnMwpcDigit::GetPlane
Short_t GetPlane() const
Definition
BmnMwpcDigit.h:26
BmnMwpcDigit::IsUsed
Int_t IsUsed() const
Definition
BmnMwpcDigit.h:30
BmnMwpcDigit::fWire
Int_t fWire
Definition
BmnMwpcDigit.h:45
BmnMwpcDigit::SetTime
void SetTime(UInt_t _tmp)
Definition
BmnMwpcDigit.h:35
BmnMwpcDigit::fRef
Int_t fRef
Definition
BmnMwpcDigit.h:47
BmnMwpcDigit::SetPlane
void SetPlane(Short_t _tmp)
Definition
BmnMwpcDigit.h:33
BmnMwpcDigit::BmnMwpcDigit
BmnMwpcDigit()
Default constructor.
Definition
BmnMwpcDigit.cxx:11
BmnMwpcDigit::SetStation
void SetStation(Short_t _tmp)
Definition
BmnMwpcDigit.h:32
BmnMwpcDigit::SetUsing
void SetUsing(Bool_t _tmp)
Definition
BmnMwpcDigit.h:37
BmnMwpcDigit::fPlane
Short_t fPlane
Definition
BmnMwpcDigit.h:44
BmnMwpcDigit::GetRefId
Int_t GetRefId() const
Definition
BmnMwpcDigit.h:29
BmnMwpcDigit::~BmnMwpcDigit
virtual ~BmnMwpcDigit()
Destructor.
Definition
BmnMwpcDigit.cxx:31
BmnMwpcDigit::GetStation
Short_t GetStation() const
Definition
BmnMwpcDigit.h:25
BmnMwpcDigit::SetWireNumber
void SetWireNumber(Int_t _tmp)
Definition
BmnMwpcDigit.h:34
BmnMwpcDigit::GetTime
UInt_t GetTime() const
Definition
BmnMwpcDigit.h:28
BmnMwpcDigit::fUse
Bool_t fUse
Definition
BmnMwpcDigit.h:48
BmnMwpcDigit::GetWireNumber
Int_t GetWireNumber() const
Definition
BmnMwpcDigit.h:27
TNamed::TNamed
TNamed()
detectors
mwpc
BmnMwpcDigit.h
Generated on
for BmnRoot by
1.17.0