Belle II Software development
GenBsTag.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
13namespace Belle2 {
22 class GenBsTag {
23
24 public:
25
30
31 int Mode_Bs0(std::vector<int> genDAU);
32 int Mode_anti_Bs0(std::vector<int> genDAU);
34 private:
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 Bs0 and Bs0bar.
Definition: GenBsTag.h:22
int Mode_Bs0(std::vector< int > genDAU)
returns Bs0 mode identifier
Definition: GenBsTag.cc:95
int Mode_anti_Bs0(std::vector< int > genDAU)
returns Bs0bar mode identifier
Definition: GenBsTag.cc:893
int m_nPhotos
number of photons
Definition: GenBsTag.h:35
bool PcheckDecay(std::vector< int > gp, int da1, int da2)
check decay with two daughters
Definition: GenBsTag.cc:16
GenBsTag()
Constructor.
Abstract base class for different kinds of events.