1 #include <framework/logging/Logger.h>
2 #include <gtest/gtest.h>
3 #include <tracking/dataobjects/FullSecID.h>
4 #include <tracking/trackFindingVXD/sectorMapTools/Sector.h>
21 bool subLayerID =
true;
22 unsigned short sectorID = 15;
25 B2INFO(
"creating FullSecIDs: ");
27 unsigned int aFullSecInt =
static_cast<unsigned int>(aFullSecID);
30 unsigned int aFullSecInt2 =
static_cast<unsigned int>(aFullSecID2);
33 unsigned int aFullSecInt3 =
static_cast<unsigned int>(aFullSecID3);
36 unsigned int aFullSecInt4 =
static_cast<unsigned int>(aFullSecID4);
40 Sector aSector(aFullSecInt);
41 Sector aSector2(aFullSecInt2);
42 Sector aSector3(aFullSecInt3);
43 Sector aSector4(aFullSecInt4);
45 EXPECT_EQ(aFullSecInt, aSector.
getSecID());
46 EXPECT_EQ(aFullSecInt2, aSector2.
getSecID());
47 EXPECT_EQ(aFullSecInt3, aSector3.
getSecID());
48 EXPECT_EQ(aFullSecInt4, aSector4.
getSecID());
56 Sector dSector(aFullSecInt, 3.5);
57 Sector dSector2(aFullSecInt2, 3.3,
true);
58 Sector dSector3(aFullSecInt3, 3.4);
59 Sector dSector4(aFullSecInt4, 0,
true);