Belle II Software  release-05-01-25
TrackFinderVXDTypedefs.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Jakob Lettenbichler *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 // stl:
14 #include <vector>
15 #include <list>
16 #include <utility> // std::pair
17 
18 
19 namespace Belle2 {
25  namespace VXDTFRawSecMapTypedef { // all typedefs for tracking/dataobjects/VXDTFRawSecMap.h
26 
27  // VXDTFRawSecMap:
28  typedef std::list< double > CutoffValues;
29  typedef std::pair<unsigned int, CutoffValues> CutoffPack;
30  typedef std::vector< CutoffPack > FriendValues;
31  typedef std::pair<unsigned int, FriendValues > FriendPack;
32  typedef std::vector< FriendPack > SectorValues;
33  typedef std::pair<unsigned int, SectorValues> SectorPack;
34  typedef std::vector < SectorPack > 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> Filter;
58  }
60 } //Belle2 namespace
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19