Belle II Software  release-08-01-10
GenB0Tag.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 
9 #pragma once
10 
11 #include <vector>
12 
13 namespace Belle2 {
22  class GenB0Tag {
23 
24  public:
25 
30 
31  int Mode_B0(std::vector<int> genDAU);
32  int Mode_anti_B0(std::vector<int> genDAU);
34  private:
35  int m_nPhotos;
37  bool PcheckDecay(std::vector<int> gp, int da1, int da2);
39  bool PcheckDecay(std::vector<int> gp, int da1, int da2, int da3);
41  bool PcheckDecay(std::vector<int> gp, int da1, int da2, int da3, int da4);
43  bool PcheckDecay(std::vector<int> gp, int da1, int da2, int da3, int da4, int da5);
45  bool PcheckDecay(std::vector<int> gp, int da1, int da2, int da3, int da4, int da5, int da6);
47  bool PcheckDecay(std::vector<int> gp, int da1, int da2, int da3, int da4, int da5, int da6, int da7);
49  bool PcheckDecay(std::vector<int> gp, int da1, int da2, int da3, int da4, int da5, int da6, int da7, int da8);
50  };
51 
53 } //End of Belle2 namespace
Class to determine generated decay mode of B0 and B0bar.
Definition: GenB0Tag.h:22
int Mode_anti_B0(std::vector< int > genDAU)
returns B0bar mode identifier
Definition: GenB0Tag.cc:3101
int Mode_B0(std::vector< int > genDAU)
returns B0 mode identifier
Definition: GenB0Tag.cc:95
int m_nPhotos
number of photons
Definition: GenB0Tag.h:35
GenB0Tag()
Constructor.
bool PcheckDecay(std::vector< int > gp, int da1, int da2)
check decay with two daughters
Definition: GenB0Tag.cc:16
Abstract base class for different kinds of events.