Belle II Software  release-08-01-10
TrgEclCluster Class Reference

A Class of ECL Trigger clustering
More...

#include <TrgEclCluster.h>

Collaboration diagram for TrgEclCluster:

Public Member Functions

 TrgEclCluster ()
 Constructor.
 
virtual ~TrgEclCluster ()
 Constructor. More...
 
 TrgEclCluster (TrgEclCluster &)=delete
 Destructor. More...
 
TrgEclClusteroperator= (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. More...
 
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 More...
 
int getNofExceedCluster ()
 get # Cluster in case of exceeding limit
 

Private Attributes

int _BRICN
 get Beam bkg veto flag. More...
 
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.
 

Detailed Description

A Class of ECL Trigger clustering

Definition at line 30 of file TrgEclCluster.h.

Constructor & Destructor Documentation

◆ ~TrgEclCluster()

~TrgEclCluster ( )
virtual

Constructor.

Destructor

Definition at line 92 of file TrgEclCluster.cc.

93 {
94  delete _TCMap;
95 }
TrgEclMapping * _TCMap
Object of TC Mapping.

◆ TrgEclCluster()

TrgEclCluster ( TrgEclCluster )
delete

Destructor.

Copy constructor, deleted.

Member Function Documentation

◆ getBrICNCluster()

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.

◆ getNofCluster()

int getNofCluster ( )
inline

0 : center , 1; upper , 2: right , 3: lower , 4: lower right

Output # of cluster

Definition at line 95 of file TrgEclCluster.h.

int _BRNofCluster
Cluster in Barrel.
int _BWDNofCluster
Cluster in Backward Endcap.
int _FWDNofCluster
Cluster in Forward Endcap.

Member Data Documentation

◆ _BRICN

int _BRICN
private

get Beam bkg veto flag.

On = true, Off = false. ICN in Barrel

Definition at line 110 of file TrgEclCluster.h.


The documentation for this class was generated from the following files: