CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
RecCgemCluster.cxx
Go to the documentation of this file.
2
4
5 m_clusterid(-1),
6 m_trkid(-1),
7 m_layerid(-1), //cluster in which CgemLayer//
8 m_sheetid(-1), //cluster in which sheet//
9 m_flag(-1), //v cluster or x cluster or mixed cluster//
10 m_energydeposit(-99.0), //energy deposit//
11 m_recphi(-99.0), //position for reconstruction//
12 m_recv(-99.0),
13 m_recZ(-99.0),
14 m_recphi_CC(-99.0), //position for reconstruction with CC//
15 m_recv_CC(-99.0),
16 m_recZ_CC(-99.0),
17 m_recphi_mTPC(-99.0), //position for reconstruction with uTPC//
18 m_recv_mTPC(-99.0),
19 m_recZ_mTPC(-99.0),
20 m_slope_mTPC(-9999.0),
21 m_inter_mTPC(-9999.0),
22 m_clusterflag(-1,-1){
23}
24
25
26
28 m_clusterid(reccluster.m_clusterid),
29 m_trkid(reccluster.m_trkid),
30 m_layerid(reccluster.m_layerid), //cluster in which CgemLayer//
31 m_sheetid(reccluster.m_sheetid), //cluster in which sheet//
32 m_flag(reccluster.m_flag), //v cluster or x cluster or mixed cluster//
33 m_energydeposit(reccluster.m_energydeposit), //energy deposit//
34 m_recphi(reccluster.m_recphi), //position for reconstruction//
35 m_recv(reccluster.m_recv),
36 m_recphi_CC(reccluster.m_recphi_CC), //position for reconstruction with CC//
37 m_recv_CC(reccluster.m_recv_CC),
38 m_recZ_CC(reccluster.m_recZ_CC),
39 m_recphi_mTPC(reccluster.m_recphi_mTPC), //position for reconstruction with uTPC//
40 m_recv_mTPC(reccluster.m_recv_mTPC),
41 m_recZ_mTPC(reccluster.m_recZ_mTPC),
42 m_slope_mTPC(reccluster.m_slope_mTPC),
43 m_inter_mTPC(reccluster.m_inter_mTPC),
44 m_clusterflag(reccluster.m_clusterflag){
45}
46
49
51 int size = getclusterflage() - getclusterflagb() + 1;
52 double CC = getrecphi_CC();
53 double TPC = getrecphi_mTPC();
54 double delta = CC-TPC;
55 double merge = CC;
56 if(size>2 && abs(delta)<0.1) merge = (0.5 * CC + 0.5 * TPC);
57 return merge;
58}
59
61 int size = getclusterflage() - getclusterflagb() + 1;
62 double CC = getrecv_CC();
63 double TPC = getrecv_mTPC();
64 double delta = CC-TPC;
65 double merge = CC;
66 if(size>2 && abs(delta)<0.1) merge = (0.5 * CC + 0.5 * TPC);
67 return merge;
68}
69
double abs(const EvtComplex &c)
double getrecv_CC(void) const
double getrecphi_mTPC(void) const
double getrecv_mTPC(void) const
int getclusterflagb(void) const
double getrecphi_CC(void) const
int getclusterflage(void) const