Belle II Software development
NDFinderDefs.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#ifndef NDFINDERDEFS_H
10#define NDFINDERDEFS_H
11
12#define BOOST_MULTI_ARRAY_NO_GENERATORS
13#include "boost/multi_array.hpp"
14
15namespace Belle2 {
23 typedef unsigned short c5elem;
24 typedef boost::multi_array<c5elem, 5> c5array;
25 typedef c5array::index c5index;
26
29 typedef unsigned short c3elem;
30 typedef boost::multi_array<c3elem, 3> c3array;
31 typedef c3array::index c3index;
32
34 typedef unsigned short c2elem;
35 typedef boost::multi_array<c2elem, 2> c2array; //HitMod
36 typedef c2array::index c2index;
37 typedef std::vector<c3index> cell_index;
38 typedef unsigned short ushort;
39
41 struct ndbinning {
42 c5elem omega = 40;
43 c5elem phi = 84;
44 c5elem theta = 9;
45 c5elem hitid; // 41 axial, 32 stereo
46 c5elem prio = 3;
47 };
49}
50#endif
unsigned short c2elem
TS-Id to 1/32 phi-sector mapping is stored in a 2D array.
Definition: NDFinderDefs.h:34
unsigned short c3elem
The Hough space is a 3D array (omega, phi, theta)
Definition: NDFinderDefs.h:29
unsigned short c5elem
Store hit patterns in a 5D array (hitid, prio, omega, phi, theta)
Definition: NDFinderDefs.h:23
Abstract base class for different kinds of events.
Default binning in a (7/32) phi-sector.
Definition: NDFinderDefs.h:41