8#include <framework/logging/Logger.h>
9#include <gtest/gtest.h>
10#include <tracking/dataobjects/FullSecID.h>
11#include <tracking/trackFindingVXD/sectorMapTools/Sector.h>
28 bool subLayerID =
true;
29 unsigned short sectorID = 15;
32 B2INFO(
"creating FullSecIDs: ");
34 unsigned int aFullSecInt =
static_cast<unsigned int>(aFullSecID);
37 unsigned int aFullSecInt2 =
static_cast<unsigned int>(aFullSecID2);
40 unsigned int aFullSecInt3 =
static_cast<unsigned int>(aFullSecID3);
43 unsigned int aFullSecInt4 =
static_cast<unsigned int>(aFullSecID4);
47 Sector aSector(aFullSecInt);
48 Sector aSector2(aFullSecInt2);
49 Sector aSector3(aFullSecInt3);
50 Sector aSector4(aFullSecInt4);
52 EXPECT_EQ(aFullSecInt, aSector.
getSecID());
53 EXPECT_EQ(aFullSecInt2, aSector2.
getSecID());
54 EXPECT_EQ(aFullSecInt3, aSector3.
getSecID());
55 EXPECT_EQ(aFullSecInt4, aSector4.
getSecID());
63 Sector dSector(aFullSecInt, 3.5);
64 Sector dSector2(aFullSecInt2, 3.3,
true);
65 Sector dSector3(aFullSecInt3, 3.4);
66 Sector dSector4(aFullSecInt4, 0,
true);
Class to identify a sector inside of the VXD.
Set up a few arrays and objects in the datastore.
Sector is a central part of storing information for VXD trackFinders.
unsigned getSecID() const
getter - getSecID returns the ID of the sector (for definition of secID, see m_sectorID).
float getDistance() const
getter - get distance of sector to origin defined by sectorMap
Class to uniquely identify a any structure of the PXD and SVD.
Abstract base class for different kinds of events.