CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
TRecCgemCluster.h
Go to the documentation of this file.
1#ifndef RootEventData_TRecCgemCluster_H
2#define RootEventData_TRecCgemCluster_H
3
4#include "TObject.h"
5#include <vector>
6
7using namespace std;
8
9class TRecCgemCluster : public TObject{
10
11 public:
12
15
16 Int_t getclusterid(void) const {return m_clusterid;}
17 Int_t getTrkId(void) const {return m_trkid;}
18 Int_t getlayerid(void) const {return m_layerid;}
19 Int_t getsheetid(void) const {return m_sheetid;}
20 Int_t getflag(void) const {return m_flag;}
21 Double_t getenergydeposit(void) const{return m_energydeposit;}
22 Double_t getrecphi(void) const{return m_recphi;}
23 //Double_t getrecpositiony(void) const{return m_recpositiony;}
24 Double_t getrecv(void) const{return m_recv;}
25 Double_t getRecZ(void) const {return m_recZ;}
26 Int_t getclusterflagb(void) const{return m_clusterflag[0];}
27 Int_t getclusterflage(void) const{return m_clusterflag[1];}
28 Int_t getstripid(Int_t type, Int_t i) const{return m_stripid[type][i];}
29
30 void setclusterid(Int_t clusterid) {m_clusterid = clusterid;}
31 void setTrkId(Int_t trkid) {m_trkid = trkid;}
32 void setlayerid(Int_t layerid) {m_layerid = layerid;}
33 void setsheetid(Int_t sheetid) {m_sheetid = sheetid;}
34 void setflag(Int_t flag) {m_flag = flag;}
35 void setenergydeposit(Double_t energydeposit) {m_energydeposit = energydeposit;}
36 void setrecphi(Double_t recphi) {m_recphi = recphi;}
37 //void setrecpositiony(Double_t recpositiony) {m_recpositiony = recpositiony;}
38 void setrecv(Double_t recv) {m_recv = recv;}
39 void setRecZ(Double_t recZ) {m_recZ = recZ;}
40 void setclusterflag(Int_t begin, Int_t end){m_clusterflag[0] = begin; m_clusterflag[1] = end;}
41 void setstripid(Int_t type, Int_t i, Int_t value) {m_stripid[type][i] = value;}
42 void setstripid(Int_t stripid[2][2]) {m_stripid[0][0]=stripid[0][0];m_stripid[0][1]=stripid[0][1];m_stripid[1][0]=stripid[1][0];m_stripid[1][1]=stripid[1][1];}
43 void setTRecCgemCluster(const TRecCgemCluster *cgemcluster);
44
45 private:
46
47 Int_t m_clusterid;
48 Int_t m_trkid;
49 Int_t m_layerid;
50 Int_t m_sheetid;
51 Int_t m_flag;
52 Double_t m_energydeposit;
53 Double_t m_recphi;
54 //Double_t m_recpositiony;
55 Double_t m_recv;
56 Double_t m_recZ;
57 Int_t m_clusterflag[2];
58 Int_t m_stripid[2][2];//[0][0],[0][1]-->begin and end fire strip id for X cluster,[1][0],[1][1]-->begin and end fire strip id for V cluster,-9999 as default value.
59
60 ClassDef(TRecCgemCluster,3)
61};
62#endif
Int_t getTrkId(void) const
Int_t getclusterflagb(void) const
void setTrkId(Int_t trkid)
void setclusterflag(Int_t begin, Int_t end)
void setTRecCgemCluster(const TRecCgemCluster *cgemcluster)
void setstripid(Int_t stripid[2][2])
Int_t getsheetid(void) const
Double_t getenergydeposit(void) const
Int_t getstripid(Int_t type, Int_t i) const
Int_t getlayerid(void) const
void setlayerid(Int_t layerid)
void setsheetid(Int_t sheetid)
void setflag(Int_t flag)
void setrecphi(Double_t recphi)
Double_t getrecphi(void) const
Int_t getflag(void) const
void setRecZ(Double_t recZ)
Double_t getRecZ(void) const
void setstripid(Int_t type, Int_t i, Int_t value)
Double_t getrecv(void) const
void setrecv(Double_t recv)
Int_t getclusterid(void) const
void setclusterid(Int_t clusterid)
Int_t getclusterflage(void) const
void setenergydeposit(Double_t energydeposit)