Belle II Software light-2406-ragdoll
GenBplusTag.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 {
23
24 public:
25
30
31 int Mode_B_plus(std::vector<int> genDAU);
32 int Mode_B_minus(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 modes of B+ and B-.
Definition: GenBplusTag.h:22
int Mode_B_minus(std::vector< int > genDAU)
returns B- mode identifier
GenBplusTag()
Constructor.
int Mode_B_plus(std::vector< int > genDAU)
returns B+ mode identifier
Definition: GenBplusTag.cc:95
int m_nPhotos
number of photons
Definition: GenBplusTag.h:35
bool PcheckDecay(std::vector< int > gp, int da1, int da2)
check decay with two daughters
Definition: GenBplusTag.cc:16
Abstract base class for different kinds of events.
Definition: ClusterUtils.h:24