BmnRoot
Loading...
Searching...
No Matches
BmnCellDuet.h
Go to the documentation of this file.
1/*
2 * File: BmnCellDuet.h
3 * Author: merz
4 *
5 * Created on July 30, 2018, 1:41 PM
6 */
7
8#ifndef BMNCELLDUET_H
9#define BMNCELLDUET_H
10
11#include "TNamed.h"
12#include "BmnHit.h"
13#include <vector>
14
15using namespace std;
16
17class BmnCellDuet : public TNamed {
18private:
19 Short_t OldState;
20 Short_t NewState;
21 Int_t FirstIdx;
22 Int_t LastIdx;
23 Double_t SlopeXZ;
24 Double_t SlopeYZ;
25 Short_t StartPlane;
26 Bool_t Used;
27
28public:
29
31
32 virtual ~BmnCellDuet();
33
34 void SetNewState(Short_t st) {
35 NewState = st;
36 };
37
38 void SetOldState(Short_t st) {
39 OldState = st;
40 };
41
42 void SetFirstIdx(Int_t idx) {
43 FirstIdx = idx;
44 };
45
46 void SetLastIdx(Int_t idx) {
47 LastIdx = idx;
48 };
49
50 void SetSlopeXZ(Double_t s) {
51 SlopeXZ = s;
52 }
53
54 void SetSlopeYZ(Double_t s) {
55 SlopeYZ = s;
56 }
57
58 void SetStartPlane(Short_t p) {
59 StartPlane = p;
60 }
61
62 Int_t GetFirstIdx() {
63 return FirstIdx;
64 }
65
66 Int_t GetLastIdx() {
67 return LastIdx;
68 }
69
70 Double_t GetSlopeXZ() {
71 return SlopeXZ;
72 }
73
74 Double_t GetSlopeYZ() {
75 return SlopeYZ;
76 }
77
78 Short_t GetOldState() {
79 return OldState;
80 }
81
82 Short_t GetNewState() {
83 return NewState;
84 }
85
86 Short_t GetStartPlane() {
87 return StartPlane;
88 }
89
90 void SetUsing(Bool_t u) {
91 Used = u;
92 }
93
94 Bool_t isUsed() {
95 return Used;
96 }
97
99};
100
101#endif /* BMNCELLDUET_H */
102
Double_t GetSlopeYZ()
Definition BmnCellDuet.h:74
void SetUsing(Bool_t u)
Definition BmnCellDuet.h:90
virtual ~BmnCellDuet()
void SetLastIdx(Int_t idx)
Definition BmnCellDuet.h:46
ClassDef(BmnCellDuet, 1)
Short_t GetOldState()
Definition BmnCellDuet.h:78
void SetSlopeXZ(Double_t s)
Definition BmnCellDuet.h:50
void SetOldState(Short_t st)
Definition BmnCellDuet.h:38
Short_t GetStartPlane()
Definition BmnCellDuet.h:86
void SetFirstIdx(Int_t idx)
Definition BmnCellDuet.h:42
void SetStartPlane(Short_t p)
Definition BmnCellDuet.h:58
void SetNewState(Short_t st)
Definition BmnCellDuet.h:34
Double_t GetSlopeXZ()
Definition BmnCellDuet.h:70
Int_t GetLastIdx()
Definition BmnCellDuet.h:66
Bool_t isUsed()
Definition BmnCellDuet.h:94
void SetSlopeYZ(Double_t s)
Definition BmnCellDuet.h:54
Short_t GetNewState()
Definition BmnCellDuet.h:82
Int_t GetFirstIdx()
Definition BmnCellDuet.h:62
STL namespace.