Belle II Software development
|
A Class of ECL Trigger clustering
More...
#include <TrgEclCluster.h>
Public Member Functions | |
TrgEclCluster () | |
Constructor. | |
virtual | ~TrgEclCluster () |
Constructor. | |
TrgEclCluster (TrgEclCluster &)=delete | |
Destructor. | |
TrgEclCluster & | operator= (TrgEclCluster &)=delete |
Assignement operator, deleted. | |
void | setICN (const std::vector< int > &) |
set ICN for each part(Fw,Br,Bw) | |
void | setICN (const std::vector< int > &, const std::vector< double > &, const std::vector< double > &) |
set Belle 2 Clustering | |
void | save (int) |
Save Cluster information in TRGECLCluster Table. | |
void | setBarrelICN (int) |
calculate Belle 2 Cluster in Barrel | |
void | setBarrelICNsub (int, std::vector< int >, int &, int &, int &, int &, int &, int &, int &, int &) |
calculate 3x3 TC hit map for ICN in Barrel | |
void | setForwardICN (int) |
calculate Belle2 Cluster in Foward endcap | |
void | setBackwardICN (int) |
calculate Belle 2 Cluster in Backward endcap | |
int | setBarrelICN () |
calculate Belle ICN in Barrel | |
int | setForwardICN () |
calculate Belle ICN in Foward endcap | |
int | setBackwardICN () |
calculate Belle ICN in Backward endcap | |
void | setEventId (int eventId) |
Set EventId. | |
void | setClusteringMethod (int method) |
Set. | |
void | setClusterLimit (int limit) |
Set Limit of Cluster. | |
int | getICNFwBr (void) |
get ICN in Barrel and Forward | |
int | getICNSub (int) |
get ICN in each region(Fw(0), Br(1), Bw(2)) | |
int | getBrICNCluster (int ICNId, int) |
get ICN in QuadrantId in Fw or Br or Bw. | |
int | getBwICNCluster (int ICNId, int) |
0 : center , 1; upper , 2: right , 3: lower , 4: lower right | |
int | getFwICNCluster (int ICNId, int) |
0 : center , 1; upper , 2: right , 3: lower , 4: lower right | |
int | getNofCluster () |
0 : center , 1; upper , 2: right , 3: lower , 4: lower right | |
int | getNofExceedCluster () |
get # Cluster in case of exceeding limit | |
Private Attributes | |
int | _BRICN |
get Beam bkg veto flag. | |
int | _FWDICN |
ICN in Forward Endcap. | |
int | _BWDICN |
ICN in Backward Endcap. | |
int | _BRNofCluster |
Cluster in Barrel. | |
int | _FWDNofCluster |
Cluster in Forward Endcap. | |
int | _BWDNofCluster |
Cluster in Backward Endcap. | |
int | _EventId |
event number | |
int | _Method |
Clustering method. | |
int | _LimitNCluster |
the Limit Number of Cluster | |
int | _Position |
Position calculation method(0:Most energetic TC Postion, 1 : Energy weighted Postion) | |
std::vector< int > | _icnfwbrbw |
icn | |
std::vector< int > | TCId |
TC Id. | |
std::vector< double > | Timing |
TC timing. | |
std::vector< double > | Energy |
TC energy | |
std::vector< std::vector< int > > | _Quadrant |
Quadrant for Beam Backgournd veto. | |
std::vector< std::vector< int > > | _BrCluster |
cluster in barrel | |
std::vector< std::vector< int > > | _FwCluster |
cluster in forward endcap | |
std::vector< std::vector< int > > | _BwCluster |
cluster in backward endcap | |
std::vector< std::vector< double > > | ClusterTiming |
Cluster timing. | |
std::vector< std::vector< double > > | ClusterEnergy |
Cluster enrgy | |
std::vector< std::vector< double > > | ClusterPositionX |
Cluster position in X-axis. | |
std::vector< std::vector< double > > | ClusterPositionY |
Cluster position in Y-axis. | |
std::vector< std::vector< double > > | ClusterPositionZ |
Cluster position in Z-axis. | |
std::vector< std::vector< int > > | NofTCinCluster |
N of TC in Cluster | |
std::vector< std::vector< int > > | MaxTCId |
Maximum contribution TC Id in Cluster. | |
std::vector< int > | TempCluster |
Temporal Cluster. | |
TrgEclMapping * | _TCMap |
Object of TC Mapping. | |
A Class of ECL Trigger clustering
Definition at line 30 of file TrgEclCluster.h.
TrgEclCluster | ( | ) |
Constructor.
Definition at line 45 of file TrgEclCluster.cc.
|
virtual |
|
delete |
Destructor.
Copy constructor, deleted.
int getBrICNCluster | ( | int | ICNId, |
int | location | ||
) |
get ICN in QuadrantId in Fw or Br or Bw.
FwBrBwId = 0(Fw),1(Br),2(Bw) QuadrantId = 0,1,2,3
Definition at line 121 of file TrgEclCluster.cc.
int getBwICNCluster | ( | int | ICNId, |
int | location | ||
) |
0 : center , 1; upper , 2: right , 3: lower , 4: lower right
Definition at line 131 of file TrgEclCluster.cc.
int getFwICNCluster | ( | int | ICNId, |
int | location | ||
) |
0 : center , 1; upper , 2: right , 3: lower , 4: lower right
Definition at line 141 of file TrgEclCluster.cc.
int getICNFwBr | ( | void | ) |
get ICN in Barrel and Forward
Definition at line 100 of file TrgEclCluster.cc.
int getICNSub | ( | int | FwBrBw | ) |
get ICN in each region(Fw(0), Br(1), Bw(2))
Definition at line 110 of file TrgEclCluster.cc.
|
inline |
0 : center , 1; upper , 2: right , 3: lower , 4: lower right
Output # of cluster
Definition at line 95 of file TrgEclCluster.h.
int getNofExceedCluster | ( | ) |
get # Cluster in case of exceeding limit
Definition at line 1755 of file TrgEclCluster.cc.
void save | ( | int | m_nEvent | ) |
Save Cluster information in TRGECLCluster Table.
Definition at line 192 of file TrgEclCluster.cc.
int setBackwardICN | ( | ) |
calculate Belle ICN in Backward endcap
Definition at line 1603 of file TrgEclCluster.cc.
void setBackwardICN | ( | int | Method | ) |
calculate Belle 2 Cluster in Backward endcap
Definition at line 960 of file TrgEclCluster.cc.
int setBarrelICN | ( | ) |
calculate Belle ICN in Barrel
Definition at line 1307 of file TrgEclCluster.cc.
void setBarrelICN | ( | int | Method | ) |
calculate Belle 2 Cluster in Barrel
Definition at line 235 of file TrgEclCluster.cc.
void setBarrelICNsub | ( | int | iii, |
std::vector< int > | TCFire, | ||
int & | tc_upper, | ||
int & | tc_upper_right, | ||
int & | tc_right, | ||
int & | tc_lower_right, | ||
int & | tc_lower, | ||
int & | tc_lower_left, | ||
int & | tc_left, | ||
int & | tc_upper_left | ||
) |
calculate 3x3 TC hit map for ICN in Barrel
Definition at line 1376 of file TrgEclCluster.cc.
|
inline |
|
inline |
|
inline |
int setForwardICN | ( | ) |
calculate Belle ICN in Foward endcap
Definition at line 1450 of file TrgEclCluster.cc.
void setForwardICN | ( | int | Method | ) |
calculate Belle2 Cluster in Foward endcap
Definition at line 434 of file TrgEclCluster.cc.
void setICN | ( | const std::vector< int > & | tcid | ) |
set ICN for each part(Fw,Br,Bw)
Definition at line 151 of file TrgEclCluster.cc.
void setICN | ( | const std::vector< int > & | tcid, |
const std::vector< double > & | tcenergy, | ||
const std::vector< double > & | tctiming | ||
) |
set Belle 2 Clustering
Definition at line 172 of file TrgEclCluster.cc.
|
private |
cluster in barrel
Definition at line 144 of file TrgEclCluster.h.
|
private |
get Beam bkg veto flag.
On = true, Off = false. ICN in Barrel
Definition at line 110 of file TrgEclCluster.h.
|
private |
Cluster in Barrel.
Definition at line 116 of file TrgEclCluster.h.
|
private |
cluster in backward endcap
Definition at line 148 of file TrgEclCluster.h.
|
private |
ICN in Backward Endcap.
Definition at line 114 of file TrgEclCluster.h.
|
private |
Cluster in Backward Endcap.
Definition at line 120 of file TrgEclCluster.h.
|
private |
event number
Definition at line 122 of file TrgEclCluster.h.
|
private |
cluster in forward endcap
Definition at line 146 of file TrgEclCluster.h.
|
private |
ICN in Forward Endcap.
Definition at line 112 of file TrgEclCluster.h.
|
private |
Cluster in Forward Endcap.
Definition at line 118 of file TrgEclCluster.h.
|
private |
icn
Definition at line 132 of file TrgEclCluster.h.
|
private |
the Limit Number of Cluster
Definition at line 126 of file TrgEclCluster.h.
|
private |
Clustering method.
Definition at line 124 of file TrgEclCluster.h.
|
private |
Position calculation method(0:Most energetic TC Postion, 1 : Energy weighted Postion)
Definition at line 128 of file TrgEclCluster.h.
|
private |
Quadrant for Beam Backgournd veto.
Definition at line 141 of file TrgEclCluster.h.
|
private |
Object of TC Mapping.
Definition at line 169 of file TrgEclCluster.h.
|
private |
Cluster enrgy
Definition at line 155 of file TrgEclCluster.h.
|
private |
Cluster position in X-axis.
Definition at line 157 of file TrgEclCluster.h.
|
private |
Cluster position in Y-axis.
Definition at line 159 of file TrgEclCluster.h.
|
private |
Cluster position in Z-axis.
Definition at line 161 of file TrgEclCluster.h.
|
private |
Cluster timing.
Definition at line 153 of file TrgEclCluster.h.
|
private |
TC energy
Definition at line 138 of file TrgEclCluster.h.
|
private |
Maximum contribution TC Id in Cluster.
Definition at line 165 of file TrgEclCluster.h.
|
private |
N of TC in Cluster
Definition at line 163 of file TrgEclCluster.h.
|
private |
TC Id.
Definition at line 134 of file TrgEclCluster.h.
|
private |
Temporal Cluster.
Definition at line 167 of file TrgEclCluster.h.
|
private |
TC timing.
Definition at line 136 of file TrgEclCluster.h.