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