Belle II Software development
TrackFinderVXDTypedefs.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// stl:
12#include <vector>
13#include <list>
14#include <utility> // std::pair
15
16
17namespace Belle2 {
23 namespace VXDTFRawSecMapTypedef { // all typedefs for tracking/dataobjects/VXDTFRawSecMap.h
24
25 // VXDTFRawSecMap:
26 typedef std::list< double >
27 CutoffValues;
28 typedef std::pair<unsigned int, CutoffValues> CutoffPack;
29 typedef std::vector< CutoffPack > FriendValues;
30 typedef std::pair<unsigned int, FriendValues > FriendPack;
31 typedef std::vector< FriendPack > SectorValues;
32 typedef std::pair<unsigned int, SectorValues> SectorPack;
33 typedef std::vector < SectorPack >
34 StrippedRawSecMap;
35 typedef std::vector< unsigned int > IDVector;
36 typedef std::pair<unsigned int, double> SectorDistance;
37 typedef std::vector< SectorDistance > SectorDistancesMap;
38 // well, without typedef this would be:
39 // vector< pair< unsigned int, vector< pair< unsigned int, vector< pair< unsigned int, vector<double> > > > > > > .... hail typedefs -.-
40 }
41
42 namespace VXDTFSecMapTypedef { // all typedefs for tracking/dataobjects/VXDTFSecMap.h
43
44 // VXDTFSecMap:
45 typedef std::pair< double, double> CutoffValue;
46 typedef std::pair<unsigned int, CutoffValue> Cutoff;
47 typedef std::vector< Cutoff > FriendValue;
48 typedef std::pair<unsigned int, FriendValue > Friend;
49 typedef std::vector< Friend > SectorValue;
50 typedef std::pair<unsigned int, SectorValue> Sector;
51 typedef std::vector < Sector > SecMapCopy;
52 // well, without typedef this would be:
53 // vector< pair< unsigned int, vector< pair< unsigned int, vector< pair< unsigned int, pair<double, double> > > > > > > .... hail typedefs -.-
54 }
55
56 namespace PassDataTypedef {
57 typedef std::pair<bool, double>
58 Filter;
59 }
61} //Belle2 namespace
Abstract base class for different kinds of events.