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

A Class of ECL Trigger clustering
More...

#include <TrgEclBhabha.h>

Collaboration diagram for TrgEclBhabha:

Public Member Functions

 TrgEclBhabha ()
 Constructor.
 
virtual ~TrgEclBhabha ()
 Constructor. More...
 
 TrgEclBhabha (TrgEclBhabha &)=delete
 Destructor. More...
 
TrgEclBhabhaoperator= (TrgEclBhabha &)=delete
 Assignement operator, deleted.
 
bool GetBhabha00 (std::vector< double >)
 Belle 2D Bhabha veto method.
 
bool GetBhabha01 ()
 Belle II 3D Bhabha method for veto.
 
bool GetBhabha02 ()
 Belle II 3D Bhabha method for selection.
 
bool Getmumu ()
 MuMu selection for calibration.
 
bool GetTaub2b (double)
 Taub2b selection.
 
bool GetTaub2b2 (double)
 Taub2b selection (tighter selection than Taub2b)
 
bool GetTaub2b3 (double)
 Taub2b3.
 
int GetBhabhaAddition (void)
 Additional Bhabha veto.
 
std::vector< double > GetBhabhaComb ()
 Output 2D Bhabha combination.
 
void save (int)
 Save.
 
void set2DBhabhaThreshold (const std::vector< double > &i2DBhabhaThresholdFWD, const std::vector< double > &i2DBhabhaThresholdBWD)
 set 2D Bhabha Energy Threshold
 
void set3DBhabhaSelectionThreshold (const std::vector< double > &i3DBhabhaSelectionThreshold)
 set 3D selection Bhabha Energy Threshold
 
void set3DBhabhaVetoThreshold (const std::vector< double > &i3DBhabhaVetoThreshold)
 set 3D veto Bhabha Energy Threshold
 
void set3DBhabhaSelectionAngle (const std::vector< double > &i3DBhabhaSelectionAngle)
 set 3D selection Bhabha Energy Angle
 
void set3DBhabhaVetoAngle (const std::vector< double > &i3DBhabhaVetoAngle)
 set 3D veto Bhabha Energy Angle
 
void setmumuThreshold (int mumuThreshold)
 set mumu bit Threshold
 
void setmumuAngle (const std::vector< double > &imumuAngle)
 set mumu bit Angle selection
 
void set3DBhabhaAddAngleCut (const std::vector< double > &i3DBhabhaAddAngleCut)
 set 3D Bhabha addtion Angle selection
 
void set3DBhabhaVetoInTrackThetaRegion (const std::vector< int > &i3DBhabhaVetoInTrackThetaRegion)
 set ThetaID (low and high) for 3DBhabhaVetoInTrack
 
void setTaub2bAngleCut (const std::vector< int > &iTaub2bAngleCut)
 set 2 Cluster angle selection for tau 1x1 decay [0], [1] for low and high of dphi, [2], [3] for low and high of Theta Sum
 
void setTaub2bEtotCut (const double iTaub2bEtotCut)
 set total energy cut for taub2b
 
void setTaub2bClusterECut (const double iTaub2bClusterECut1, const double iTaub2bClusterECut2)
 set cluster energy cut for taub2b
 
void setTaub2b2Cut (const std::vector< int > &iTaub2b2AngleCut, const double iTaub2b2EtotCut, const double iTaub2b2CLEEndcapCut, const double iTaub2b2CLECut)
 set taub2b2 cut
 
void setTaub2b3Cut (const std::vector< int > &iTaub2b3AngleCut, const double iTaub2b3EtotCut, const double iTaub2b3CLEb2bCut, const double iTaub2b3CLELowCut, const double iTaub2b3CLEHighCut)
 set taub2b3 cut
 
int get3DBhabhaVetoInTrackFlag (void)
 get trigger bit of flag(1bit) whether two clusters statisfy 3D Bhabha veto are in CDCTRG region in theta (="InTrack") or not
 
int get3DBhabhaVetoClusterTCId (int cl_idx)
 get each TCID(most energetic TC in a cluster) of two clusters of 3D Bhabha veto
 
int get3DBhabhaVetoClusterThetaId (int cl_idx)
 get each TC theta ID(most energetic TC in a cluster) of two clusters of 3D Bhabha veto
 
double get3DBhabhaVetoClusterEnergy (int cl_idx)
 get each cluster energy of two clusters of 3D Bhabha veto (GeV)
 
double get3DBhabhaVetoClusterTiming (int cl_idx)
 get each cluster timing of two clusters of 3D Bhabha veto (ns)
 
int get3DBhabhaSelectionThetaFlag (void)
 get trigger bit(2bits) of flag which shows theta position of clusters of 3DBhabha Selection. More...
 
int get3DBhabhaSelectionClusterTCId (int cl_idx)
 get each TCID(most energetic TC in a cluster) of two clusters of 3D Bhabha selection
 
int get3DBhabhaSelectionClusterThetaId (int cl_idx)
 get each TC theta ID(most energetic TC in a cluster) of two clusters of 3D Bhabha selection
 
double get3DBhabhaSelectionClusterEnergy (int cl_idx)
 get each cluster energy of two clusters of 3D Bhabha selection (GeV)
 
double get3DBhabhaSelectionClusterTiming (int cl_idx)
 get each cluster timing of two clusters of 3D Bhabha selection (ns)
 
int getTaub2bAngleFlag (void)
 get taub2b 2 cluster angle cut flag
 
int getTaub2bEtotFlag (void)
 get total energy(TC theta id=1-17) flag for taub2b
 
int getTaub2bClusterEFlag (void)
 taub2b Cluster energy flag
 

Private Member Functions

void get2CLETP (int, int, int &, int &, int &, int &)
 2 cluster energies, phi difference and theta sum
 

Private Attributes

TrgEclMapping_TCMap = nullptr
 Object of TC Mapping.
 
TrgEclDataBase_database = nullptr
 Object of Trigger ECL DataBase. More...
 
std::vector< double > BhabhaComb
 Bhabha Combination.
 
std::vector< double > MaxTCId
 Max TC Id.
 
std::vector< double > MaxTCThetaId
 Cluster ThetaId.
 
std::vector< double > ClusterEnergy
 Cluster Energy.
 
std::vector< double > ClusterTiming
 Cluster Timing.
 
std::vector< TVector3 > ClusterPosition
 Cluster Timing.
 
std::vector< double > _2DBhabhaThresholdFWD
 2D Bhabha Energy Threshold
 
std::vector< double > _2DBhabhaThresholdBWD
 2D Bhabha Energy Threshold
 
std::vector< double > _3DBhabhaSelectionThreshold
 3D Selection Bhabha Energy Threshold
 
std::vector< double > _3DBhabhaVetoThreshold
 3D Veto Bhabha Energy Threshold
 
std::vector< double > _3DBhabhaSelectionAngle
 3D Selection Bhabha Energy Angle
 
std::vector< double > _3DBhabhaVetoAngle
 3D Veto Bhabha Energy Angle
 
double _mumuThreshold
 mumu bit Energy Threshold
 
std::vector< double > _mumuAngle
 mumu bit Angle
 
std::vector< double > m_3DBhabhaAddAngleCut
 Angle selection of additional Bhabha veto in CM frame.
 
std::vector< int > m_taub2bAngleCut
 taub2b 2 Cluster angle cut (degree)
 
double m_taub2bEtotCut
 taub2b total energy(TC theta id=1-17) cut (GeV)
 
double m_taub2bClusterECut1
 taub2b Cluster one of energy cut in b2b in lab (GeV)
 
double m_taub2bClusterECut2
 taub2b Cluster one of energy cut in b2b in lab (GeV)
 
int m_taub2bAngleFlag
 taub2b 2 cluster angle cut flag
 
int m_taub2bEtotFlag
 taub2b total energy(TC theta id=1-17) flag
 
int m_taub2bClusterEFlag
 taub2b Cluster energy flag
 
double m_taub2b2EtotCut
 taub2b2 total energy cut (GeV)
 
std::vector< int > m_taub2b2AngleCut
 taub2b2 two Cluster angle cut (degree)
 
double m_taub2b2CLEEndcapCut
 taub2b2 cluster energy cut for endcap cluster (GeV)
 
double m_taub2b2CLECut
 taub2b2 cluster energy cut (GeV)
 
std::vector< int > m_taub2b3AngleCut
 taub2b3 selection cuts (3,2,1,0) = (dphi low, dphi high, theta_sum low, theta_sum high)
 
double m_taub2b3EtotCut
 taub2b3 total energy (TC theta ID =1-17) (GeV)
 
double m_taub2b3CLEb2bCut
 taub2b3 cluster energy cut (GeV)
 
double m_taub2b3CLELowCut
 taub2b3 cluster energy cut2 (GeV)
 
double m_taub2b3CLEHighCut
 taub2b3 cluster energy cut3 (GeV)
 
int m_3DBhabhaVetoInTrackFlag
 trigger bit of flag(1bit) whether two clusters statisfy 3D Bhabha veto are in CDCTRG region in theta (="InTrack") or not
 
std::vector< int > m_3DBhabhaVetoClusterTCIds
 TCIDs of two clusters of 3D Bhabha veto.
 
std::vector< int > m_3DBhabhaVetoClusterThetaIds
 ThetaIds of two clusters of 3D Bhabha veto.
 
std::vector< double > m_3DBhabhaVetoClusterEnergies
 Energies of two clusters of 3D Bhabha veto (GeV)
 
std::vector< double > m_3DBhabhaVetoClusterTimings
 Timings of two clusters of 3D Bhabha veto (ns)
 
std::vector< int > m_3DBhabhaVetoInTrackThetaRegion
 theta region(low and high) of 3D Bhbabha veto InTrack
 
int m_3DBhabhaSelectionThetaFlag = std::numeric_limits<int>::quiet_NaN()
 flag which shows theta position of clusters of 3DBhabha Selection.
 
std::vector< int > m_3DBhabhaSelectionClusterTCIds
 TCIDs of two clusters of 3D Bhabha selection.
 
std::vector< int > m_3DBhabhaSelectionClusterThetaIds
 ThetaIDs of two clusters used for 3D Bhabha selection.
 
std::vector< double > m_3DBhabhaSelectionClusterEnergies
 Energies of two clusters used for 3D Bhabha selection (GeV)
 
std::vector< double > m_3DBhabhaSelectionClusterTimings
 Timings of two clusters used for 3D Bhabha selection (ns)
 

Detailed Description

A Class of ECL Trigger clustering

Definition at line 31 of file TrgEclBhabha.h.

Constructor & Destructor Documentation

◆ ~TrgEclBhabha()

~TrgEclBhabha ( )
virtual

Constructor.

Destructor

Definition at line 128 of file TrgEclBhabha.cc.

129 {
130  delete _TCMap;
131  delete _database;
132 }
TrgEclDataBase * _database
Object of Trigger ECL DataBase.
Definition: TrgEclBhabha.h:246
TrgEclMapping * _TCMap
Object of TC Mapping.
Definition: TrgEclBhabha.h:243

◆ TrgEclBhabha()

TrgEclBhabha ( TrgEclBhabha )
delete

Destructor.

Copy constructor, deleted.

Member Function Documentation

◆ get3DBhabhaSelectionThetaFlag()

int get3DBhabhaSelectionThetaFlag ( void  )
inline

get trigger bit(2bits) of flag which shows theta position of clusters of 3DBhabha Selection.

flag=0 : one of clusters goes to ThetaID=1 flag=1 : one of clusters goes to ThetaID=2 flag=2 : one of clusters goes to ThetaID=3 flag=3 : none of clusters fly to ThetaID=1-3 Based on this flag, pre-scale is applied on GDL to have flat entry of Bhabha event in theta for calibration purpose

Definition at line 197 of file TrgEclBhabha.h.

198  {
200  }
int m_3DBhabhaSelectionThetaFlag
flag which shows theta position of clusters of 3DBhabha Selection.
Definition: TrgEclBhabha.h:330

Member Data Documentation

◆ _database

TrgEclDataBase* _database = nullptr
private

Object of Trigger ECL DataBase.

cppcheck-suppress unsafeClassCanLeak

Definition at line 246 of file TrgEclBhabha.h.


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