Belle II Software  release-05-02-19
TrgEclBhabha.h
1 //---------------------------------------------------------
2 // $Id$
3 //---------------------------------------------------------
4 // Filename : TrgEclBhabha.h
5 // Section : TRG ECL
6 // Owner : InSoo Lee/Yuuji Unno
7 // Email : islee@hep.hanyang.ac.kr / yunno@post.kek.jp
8 //---------------------------------------------------------
9 // Description : A class to represent TRG ECL.
10 //---------------------------------------------------------
11 // $Log$
12 //---------------------------------------------------------
13 
14 #ifndef TRGECLBHABHA_FLAG_
15 #define TRGECLBHABHA_FLAG_
16 
17 #include <vector>
18 
19 #include "trg/ecl/TrgEclMapping.h"
20 #include "trg/ecl/TrgEclDataBase.h"
21 
22 #include "TVector3.h"
23 //
24 //
25 //
26 namespace Belle2 {
31 //
32 //
33 //
34  //
36  //
37  class TrgEclBhabha {
38 
39  public:
41  TrgEclBhabha();
42 
44  virtual ~TrgEclBhabha();
45 
46  public:
48  bool GetBhabha00(std::vector<double>);
50  bool GetBhabha01();
52  bool GetBhabha02();
54  bool Getmumu();
56  std::vector<double> GetBhabhaComb() {return BhabhaComb ;}
58  void save(int);
60  void set2DBhabhaThreshold(std::vector<double> i2DBhabhaThresholdFWD, std::vector<double> i2DBhabhaThresholdBWD)
61  {
62  _2DBhabhaThresholdFWD = i2DBhabhaThresholdFWD;
63  _2DBhabhaThresholdBWD = i2DBhabhaThresholdBWD;
64  }
66  void set3DBhabhaSelectionThreshold(std::vector<double> i3DBhabhaSelectionThreshold) { _3DBhabhaSelectionThreshold = i3DBhabhaSelectionThreshold; };
68  void set3DBhabhaVetoThreshold(std::vector<double> i3DBhabhaVetoThreshold) { _3DBhabhaVetoThreshold = i3DBhabhaVetoThreshold; };
69 
71  void set3DBhabhaSelectionAngle(std::vector<double> i3DBhabhaSelectionAngle) { _3DBhabhaSelectionAngle = i3DBhabhaSelectionAngle; };
73  void set3DBhabhaVetoAngle(std::vector<double> i3DBhabhaVetoAngle) { _3DBhabhaVetoAngle = i3DBhabhaVetoAngle; };
75  void setmumuThreshold(int mumuThreshold) {_mumuThreshold = mumuThreshold; }
77  void setmumuAngle(std::vector<double> imumuAngle) {_mumuAngle = imumuAngle; }
78 
79  private:
84 
86  std::vector<double> BhabhaComb;
88  std::vector<double> MaxTCId;
90  std::vector<double> ClusterEnergy;
92  std::vector<double> ClusterTiming;
94  std::vector<TVector3> ClusterPosition;
96  std::vector<double> _2DBhabhaThresholdFWD;
98  std::vector<double> _2DBhabhaThresholdBWD;
100  std::vector<double> _3DBhabhaSelectionThreshold;
102  std::vector<double> _3DBhabhaVetoThreshold;
104  std::vector<double> _3DBhabhaSelectionAngle;
106  std::vector<double> _3DBhabhaVetoAngle;
110  std::vector<double> _mumuAngle;
111 
112 
113  };
114 //
115 //
116 //
118 } // namespace Belle2
119 
120 #endif /* TRGECLBhabha_FLAG_ */
Belle2::TrgEclBhabha::TrgEclBhabha
TrgEclBhabha()
Constructor.
Definition: TrgEclBhabha.cc:69
Belle2::TrgEclBhabha::set2DBhabhaThreshold
void set2DBhabhaThreshold(std::vector< double > i2DBhabhaThresholdFWD, std::vector< double > i2DBhabhaThresholdBWD)
set 2D Bhabha Energy Threshold
Definition: TrgEclBhabha.h:60
Belle2::TrgEclBhabha::GetBhabha02
bool GetBhabha02()
Belle II 3D Bhabha method for selection.
Definition: TrgEclBhabha.cc:354
Belle2::TrgEclBhabha::~TrgEclBhabha
virtual ~TrgEclBhabha()
Constructor.
Definition: TrgEclBhabha.cc:102
Belle2::TrgEclBhabha::ClusterTiming
std::vector< double > ClusterTiming
Cluster Timing.
Definition: TrgEclBhabha.h:92
Belle2::TrgEclBhabha::_database
TrgEclDataBase * _database
Object of Trigger ECL DataBase.
Definition: TrgEclBhabha.h:83
Belle2::TrgEclDataBase
class TrgEclDataBase;
Definition: TrgEclDataBase.h:24
Belle2::TrgEclBhabha::GetBhabha01
bool GetBhabha01()
Belle II 3D Bhabha method for veto.
Definition: TrgEclBhabha.cc:271
Belle2::TrgEclBhabha::set3DBhabhaSelectionAngle
void set3DBhabhaSelectionAngle(std::vector< double > i3DBhabhaSelectionAngle)
set 3D selection Bhabha Energy Angle
Definition: TrgEclBhabha.h:71
Belle2::TrgEclMapping
A class of TC Mapping.
Definition: TrgEclMapping.h:31
Belle2::TrgEclBhabha::set3DBhabhaVetoThreshold
void set3DBhabhaVetoThreshold(std::vector< double > i3DBhabhaVetoThreshold)
set 3D veto Bhabha Energy Threshold
Definition: TrgEclBhabha.h:68
Belle2::TrgEclBhabha::_3DBhabhaVetoThreshold
std::vector< double > _3DBhabhaVetoThreshold
3D Veto Bhabha Energy Threshold
Definition: TrgEclBhabha.h:102
Belle2::TrgEclBhabha::ClusterEnergy
std::vector< double > ClusterEnergy
Cluster Energy.
Definition: TrgEclBhabha.h:90
Belle2::TrgEclBhabha::Getmumu
bool Getmumu()
MuMu selection for calibration.
Definition: TrgEclBhabha.cc:441
Belle2::TrgEclBhabha::set3DBhabhaSelectionThreshold
void set3DBhabhaSelectionThreshold(std::vector< double > i3DBhabhaSelectionThreshold)
set 3D selection Bhabha Energy Threshold
Definition: TrgEclBhabha.h:66
Belle2::TrgEclBhabha::BhabhaComb
std::vector< double > BhabhaComb
Bhabha Combination.
Definition: TrgEclBhabha.h:86
Belle2::TrgEclBhabha::GetBhabhaComb
std::vector< double > GetBhabhaComb()
Output 2D Bhabha combination.
Definition: TrgEclBhabha.h:56
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrgEclBhabha::save
void save(int)
Save.
Belle2::TrgEclBhabha::_TCMap
TrgEclMapping * _TCMap
Object of TC Mapping.
Definition: TrgEclBhabha.h:81
Belle2::TrgEclBhabha::MaxTCId
std::vector< double > MaxTCId
Max TC Id.
Definition: TrgEclBhabha.h:88
Belle2::TrgEclBhabha
A Class of ECL Trigger clustering
Definition: TrgEclBhabha.h:37
Belle2::TrgEclBhabha::set3DBhabhaVetoAngle
void set3DBhabhaVetoAngle(std::vector< double > i3DBhabhaVetoAngle)
set 3D veto Bhabha Energy Angle
Definition: TrgEclBhabha.h:73
Belle2::TrgEclBhabha::ClusterPosition
std::vector< TVector3 > ClusterPosition
Cluster Timing.
Definition: TrgEclBhabha.h:94
Belle2::TrgEclBhabha::setmumuAngle
void setmumuAngle(std::vector< double > imumuAngle)
set mumu bit Angle selection
Definition: TrgEclBhabha.h:77
Belle2::TrgEclBhabha::setmumuThreshold
void setmumuThreshold(int mumuThreshold)
set mumu bit Threshold
Definition: TrgEclBhabha.h:75
Belle2::TrgEclBhabha::_3DBhabhaSelectionThreshold
std::vector< double > _3DBhabhaSelectionThreshold
3D Selection Bhabha Energy Threshold
Definition: TrgEclBhabha.h:100
Belle2::TrgEclBhabha::_2DBhabhaThresholdBWD
std::vector< double > _2DBhabhaThresholdBWD
2D Bhabha Energy Threshold
Definition: TrgEclBhabha.h:98
Belle2::TrgEclBhabha::_2DBhabhaThresholdFWD
std::vector< double > _2DBhabhaThresholdFWD
2D Bhabha Energy Threshold
Definition: TrgEclBhabha.h:96
Belle2::TrgEclBhabha::_3DBhabhaVetoAngle
std::vector< double > _3DBhabhaVetoAngle
3D Veto Bhabha Energy Angle
Definition: TrgEclBhabha.h:106
Belle2::TrgEclBhabha::_3DBhabhaSelectionAngle
std::vector< double > _3DBhabhaSelectionAngle
3D Selection Bhabha Energy Angle
Definition: TrgEclBhabha.h:104
Belle2::TrgEclBhabha::_mumuThreshold
double _mumuThreshold
mumu bit Energy Threshold
Definition: TrgEclBhabha.h:108
Belle2::TrgEclBhabha::GetBhabha00
bool GetBhabha00(std::vector< double >)
Destructor.
Definition: TrgEclBhabha.cc:106
Belle2::TrgEclBhabha::_mumuAngle
std::vector< double > _mumuAngle
mumu bit Angle
Definition: TrgEclBhabha.h:110