8#include <gtest/gtest.h>
9#include <framework/utilities/TestHelpers.h>
10#include <mdst/dataobjects/EventLevelTrackingInfo.h>
40 EXPECT_FALSE(eventLevelTrackingInfo.
hasCDCLayer(10));
42 EXPECT_TRUE(eventLevelTrackingInfo.
hasCDCLayer(23));
43 EXPECT_FALSE(eventLevelTrackingInfo.
hasCDCLayer(55));
45 EXPECT_B2FATAL(eventLevelTrackingInfo.
setCDCLayer(56));
46 EXPECT_B2FATAL(eventLevelTrackingInfo.
hasCDCLayer(56));
Unit tests for the event level tracking information.
Tracking-related info on event-level, for example number of unassigned measurements.
bool hasCDCLayer(uint16_t const cdcLayer) const
Getter for presence of hit in specific CDC Layer.
bool hasCDCSLayer(uint16_t const cdcSLayer) const
Getter for the presence of hit in a SuperLayer.
uint16_t getNCDCSegments() const
Getter for number of segments not used in Tracks.
bool hasVXDTF2AbortionFlag() const
Getter for flag indicating that the VXDTF2 was aborted due to high combinatorics in the event.
uint16_t getNVXDClustersInLayer(uint16_t const layer, bool const isU)
Getter for number of clusters in a specific VXD layer, SVD separated by direction.
void setSVDFirstSampleTime(int8_t const sampleTime)
Setter for time of first SVD sample relatvie to event T0.
void setNVXDClustersInLayer(uint16_t const layer, bool const isU, uint16_t const nClusters)
Setter for number of clusters in specific VXD layer, SVD directions are separated.
uint16_t getNCDCHitsNotAssignedPostCleaning() const
Getter for number of CDC measurements, that are not assigned to any Track nor very likely beam-backgr...
void setNCDCHitsNotAssignedPostCleaning(uint16_t const nCDCHitsNotAssignedPostCleaning)
Setter for number of CDC measurements, that are not assigned to any Track nor very likely beam-backgr...
int8_t getSVDFirstSampleTime() const
Getter for time of first SVD sample relative to event T0.
uint16_t getNCDCHitsNotAssigned() const
Getter for number of CDC measurements, that are not assigned to any Track.
void setVXDTF2AbortionFlag()
Setter for flag indicating that the VXDTF2 was aborted due to high combinatorics in the event.
bool hasAnErrorFlag() const
Check if any flag was set in the event.
bool hasUnspecifiedTrackFindingFailure() const
Getter for unspecified hint of track finding failure.
void setCDCLayer(uint16_t const cdcLayer)
Setter for presence of hit in specific CDC Layer.
void setUnspecifiedTrackFindingFailure()
Setter for unspecified hint of track finding failure.
void setNCDCSegments(uint16_t nHits)
Setter for number of Segments not used in Tracks.
void setNCDCHitsNotAssigned(uint16_t const nCDCHitsNotAssigned)
Setter for number of CDC measurements, that are not assigned to any Track.
Abstract base class for different kinds of events.