Belle II Software  release-05-01-25
ContinuumSuppression.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Pablo Goldenzweig *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <framework/datastore/RelationsObject.h>
14 
15 #include <TVector3.h>
16 #include <vector>
17 
18 namespace Belle2 {
44  class ContinuumSuppression : public RelationsObject {
45 
46  public:
47 
52  ContinuumSuppression() : m_thrustO(0.0, 0.0, 0.0), m_thrustBm(0.0), m_thrustOm(0.0), m_cosTBTO(0.0), m_cosTBz(0.0), m_R2(0.0) {};
53 
54  // setters
60  void addThrustB(const TVector3& thrustB);
61 
67  void addThrustO(const TVector3& thrustO);
68 
74  void addThrustBm(float thrustBm);
75 
81  void addThrustOm(float thrustOm);
82 
88  void addCosTBTO(float cosTBTO);
89 
95  void addCosTBz(float cosTBz);
96 
102  void addR2(float R2);
103 
109  void addKsfwFS0(const std::vector<float>& ksfwFS0);
110 
116  void addKsfwFS1(const std::vector<float>& ksfwFS1);
117 
123  void addCleoConesALL(const std::vector<float>& cleoConesALL);
124 
130  void addCleoConesROE(const std::vector<float>& cleoConesROE);
131 
132  // getters
138  TVector3 getThrustB(void) const
139  {
140  return m_thrustB;
141  }
142 
148  TVector3 getThrustO(void) const
149  {
150  return m_thrustO;
151  }
152 
158  float getThrustBm(void) const
159  {
160  return m_thrustBm;
161  }
162 
168  float getThrustOm(void) const
169  {
170  return m_thrustOm;
171  }
172 
178  float getCosTBTO(void) const
179  {
180  return m_cosTBTO;
181  }
182 
188  float getCosTBz(void) const
189  {
190  return m_cosTBz;
191  }
192 
198  float getR2(void) const
199  {
200  return m_R2;
201  }
202 
208  std::vector<float> getKsfwFS0(void) const
209  {
210  return m_ksfwFS0;
211  }
212 
218  std::vector<float> getKsfwFS1(void) const
219  {
220  return m_ksfwFS1;
221  }
222 
228  std::vector<float> getCleoConesALL(void) const
229  {
230  return m_cleoConesALL;
231  }
232 
238  std::vector<float> getCleoConesROE(void) const
239  {
240  return m_cleoConesROE;
241  }
242 
243 
244  private:
245 
246  // persistent data members
247  TVector3 m_thrustO;
248  TVector3 m_thrustB;
250  float m_thrustBm;
251  float m_thrustOm;
252  float m_cosTBTO;
253  float m_cosTBz;
254  float m_R2;
256  std::vector<float> m_ksfwFS0;
257  std::vector<float> m_ksfwFS1;
259  std::vector<float> m_cleoConesALL;
260  std::vector<float> m_cleoConesROE;
264  };
265 
266 
268 } // end namespace Belle2
Belle2::ContinuumSuppression::m_cosTBTO
float m_cosTBTO
cosine of the angle between the thrust axis of the B and the thrust axis of the ROE
Definition: ContinuumSuppression.h:260
Belle2::ContinuumSuppression::getThrustO
TVector3 getThrustO(void) const
Get ROE thrust axis.
Definition: ContinuumSuppression.h:156
Belle2::ContinuumSuppression::addCosTBTO
void addCosTBTO(float cosTBTO)
Add cosine of the angle between the thrust axis of the B and the thrust axis of the ROE.
Definition: ContinuumSuppression.cc:35
Belle2::ContinuumSuppression::addR2
void addR2(float R2)
Add reduced Fox-Wolfram moment R2.
Definition: ContinuumSuppression.cc:45
Belle2::ContinuumSuppression::addCleoConesROE
void addCleoConesROE(const std::vector< float > &cleoConesROE)
Add vector of Cleo Cones constructed of only ROE particles.
Definition: ContinuumSuppression.cc:65
Belle2::ContinuumSuppression::addCosTBz
void addCosTBz(float cosTBz)
Add cosine of the angle between the thrust axis of the B and the z-axis.
Definition: ContinuumSuppression.cc:40
Belle2::RelationsInterface::ClassDef
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
Belle2::ContinuumSuppression::m_cosTBz
float m_cosTBz
cosine of the angle between the thrust axis of the B and the z-axis
Definition: ContinuumSuppression.h:261
Belle2::ContinuumSuppression::m_cleoConesALL
std::vector< float > m_cleoConesALL
vector of Cleo Cones constructed from all final state particles
Definition: ContinuumSuppression.h:267
Belle2::ContinuumSuppression::m_thrustO
TVector3 m_thrustO
ROE thrust axis.
Definition: ContinuumSuppression.h:255
Belle2::ContinuumSuppression::getCleoConesROE
std::vector< float > getCleoConesROE(void) const
Get vector of Cleo Cones constructed of only ROE particles.
Definition: ContinuumSuppression.h:246
Belle2::ContinuumSuppression::getCosTBz
float getCosTBz(void) const
Get cosine of the angle between the thrust axis of the B and the z-axis.
Definition: ContinuumSuppression.h:196
Belle2::ContinuumSuppression::m_thrustOm
float m_thrustOm
magnitude of ROE thrust axis
Definition: ContinuumSuppression.h:259
Belle2::ContinuumSuppression::m_cleoConesROE
std::vector< float > m_cleoConesROE
vector of Cleo Cones constructed from only ROE particles
Definition: ContinuumSuppression.h:268
Belle2::ContinuumSuppression::addKsfwFS1
void addKsfwFS1(const std::vector< float > &ksfwFS1)
Add vector of KSFW moments, Et, and mm2 for final state = 1.
Definition: ContinuumSuppression.cc:55
Belle2::ContinuumSuppression::getKsfwFS1
std::vector< float > getKsfwFS1(void) const
Get vector of KSFW moments, Et, and mm2 for final state = 1.
Definition: ContinuumSuppression.h:226
Belle2::ContinuumSuppression::getCleoConesALL
std::vector< float > getCleoConesALL(void) const
Get vector of Cleo Cones constructed of all final state particles.
Definition: ContinuumSuppression.h:236
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::ContinuumSuppression::addThrustO
void addThrustO(const TVector3 &thrustO)
Add ROE thrust axis.
Definition: ContinuumSuppression.cc:20
Belle2::ContinuumSuppression::m_R2
float m_R2
reduced Fox-Wolfram moment R2
Definition: ContinuumSuppression.h:262
Belle2::ContinuumSuppression::m_thrustBm
float m_thrustBm
magnitude of B thrust axis
Definition: ContinuumSuppression.h:258
Belle2::ContinuumSuppression::getKsfwFS0
std::vector< float > getKsfwFS0(void) const
Get vector of KSFW moments, Et, and mm2 for final state = 0.
Definition: ContinuumSuppression.h:216
Belle2::ContinuumSuppression::addCleoConesALL
void addCleoConesALL(const std::vector< float > &cleoConesALL)
Add vector of Cleo Cones constructed of all final state particles.
Definition: ContinuumSuppression.cc:60
Belle2::ContinuumSuppression::addThrustBm
void addThrustBm(float thrustBm)
Add magnitude of B thrust axis.
Definition: ContinuumSuppression.cc:25
Belle2::ContinuumSuppression::getThrustOm
float getThrustOm(void) const
Get magnitude of ROE thrust axis.
Definition: ContinuumSuppression.h:176
Belle2::ContinuumSuppression::getR2
float getR2(void) const
Get reduced Fox-Wolfram moment R2.
Definition: ContinuumSuppression.h:206
Belle2::ContinuumSuppression::getThrustB
TVector3 getThrustB(void) const
Get B thrust axis.
Definition: ContinuumSuppression.h:146
Belle2::ContinuumSuppression::getThrustBm
float getThrustBm(void) const
Get magnitude of B thrust axis.
Definition: ContinuumSuppression.h:166
Belle2::ContinuumSuppression
This is a class for collecting variables used in continuum suppression.
Definition: ContinuumSuppression.h:52
Belle2::ContinuumSuppression::getCosTBTO
float getCosTBTO(void) const
Get cosine of the angle between the thrust axis of the B and the thrust axis of the ROE.
Definition: ContinuumSuppression.h:186
Belle2::ContinuumSuppression::m_ksfwFS0
std::vector< float > m_ksfwFS0
vector of KSFW moments, Et, and mm2 for final state = 0
Definition: ContinuumSuppression.h:264
Belle2::RelationsObject
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
Definition: RelationsObject.h:443
Belle2::ContinuumSuppression::ContinuumSuppression
ContinuumSuppression()
Default constructor.
Definition: ContinuumSuppression.h:60
Belle2::ContinuumSuppression::m_thrustB
TVector3 m_thrustB
B thrust axis.
Definition: ContinuumSuppression.h:256
Belle2::ContinuumSuppression::addThrustOm
void addThrustOm(float thrustOm)
Add magnitude of ROE thrust axis.
Definition: ContinuumSuppression.cc:30
Belle2::ContinuumSuppression::addKsfwFS0
void addKsfwFS0(const std::vector< float > &ksfwFS0)
Add vector of KSFW moments, Et, and mm2 for final state = 0.
Definition: ContinuumSuppression.cc:50
Belle2::ContinuumSuppression::addThrustB
void addThrustB(const TVector3 &thrustB)
Add ROE thrust axis.
Definition: ContinuumSuppression.cc:15
Belle2::ContinuumSuppression::m_ksfwFS1
std::vector< float > m_ksfwFS1
vector of KSFW moments, Et, and mm2 for final state = 1
Definition: ContinuumSuppression.h:265