 |
Belle II Software
release-05-02-19
|
12 #include <mdst/dataobjects/HitPatternCDC.h>
14 #include <framework/logging/Logger.h>
39 class EventLevelTrackingInfo :
public TObject {
92 hitPatternCDC.setLayer(cdcLayer);
117 hitPatternCDC.setNHits(nHits);
133 if (layer == 1 or layer == 2) {
136 if (layer > 2 and layer < 7) {
139 B2FATAL(
"The VXD only has layer 1 to 6, but you asked for " << layer);
148 if (layer == 1 or layer == 2) {
157 if (layer == 1 or layer == 2) {
161 if (layer > 2 and layer < 7) {
162 m_nSVDClusters[layer - 3 + 4 * isU] = std::min(nClusters,
static_cast<unsigned short>(255U));
165 B2FATAL(
"The VXD only has layer 1 to 6, but you asked for " << layer);
int8_t getSVDFirstSampleTime() const
Getter for time of first SVD sample relative to event T0.
void setNCDCHitsNotAssigned(uint16_t const nCDCHitsNotAssigned)
Setter for number of CDC measurements, that are not assigned to any Track.
ETrackingErrorFlags
Enum to specify meaning of bits in m_flagBlock bitset.
void setSVDFirstSampleTime(int8_t const sampleTime)
Setter for time of first SVD sample relatvie to event T0.
bool hasSLayer(const unsigned short sLayer) const
Getter for super-layer match.
uint16_t getNCDCHitsNotAssigned() const
Getter for number of CDC measurements, that are not assigned to any Track.
void setSVDCKFAbortionFlag()
Setter for flag indicating that the SVD CKF was aborted due to high combinatorics in the event.
bool hasCDCSLayer(uint16_t const cdcSLayer) const
Getter for the presence of hit in a SuperLayer.
bool hasAnErrorFlag() const
Check if any flag was set in the event.
@ c_svdckfAbortion
Indicating abortion of the SVD CKF due to high combinatorics in the event.
uint16_t getNCDCHitsNotAssignedPostCleaning() const
Getter for number of CDC measurements, that are not assigned to any Track nor very likely beam-backgr...
bool hasUnspecifiedTrackFindingFailure() const
Getter for unspecified hint of track finding failure.
@ c_pxdckfAbortion
Indicating abortion of the PXD CKF due to high combinatorics in the event.
std::bitset< 16 > m_flagBlock
Set of further flags useful in the context of tracking reconstruction.
int8_t m_sampleTime
storage for time of first SVD sample.
void setNCDCSegments(uint16_t nHits)
Setter for number of Segments not used in Tracks.
EventLevelTrackingInfo()=default
default constructor
bool hasVXDTF2AbortionFlag() const
Getter for flag indicating that the VXDTF2 was aborted due to high combinatorics in the event.
uint16_t m_nCDCHitsNotAssigned
Number of hits in the CDC, that were not assigned to any Track.
uint16_t m_nPXDClusters[2]
Storage for number of clusters in the PXD.
Abstract base class for different kinds of events.
uint16_t m_nCDCHitsNotAssignedPostCleaning
Number of unassigned hits in the CDC, that survived the background filter.
void setPXDCKFAbortionFlag()
Setter for flag indicating that the PXD CKF was aborted due to high combinatorics in the event.
@ c_unspecifiedError
Indicating a unspecified failure during track finding.
void setVXDTF2AbortionFlag()
Setter 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 setUnspecifiedTrackFindingFailure()
Setter for unspecified hint of track finding failure.
void setCDCLayer(uint16_t const cdcLayer)
Setter for presence of hit in specific CDC Layer.
uint16_t getNCDCSegments() const
Getter for number of segments not used in Tracks.
Tracking-related info on event-level, for example number of unassigned measurements.
bool hasSVDCKFAbortionFlag() const
Getter for flag indicating that the SVD CKF was aborted due to high combinatorics in the event.
ClassDef(EventLevelTrackingInfo, 2)
ROOTification.
void setNCDCHitsNotAssignedPostCleaning(uint16_t const nCDCHitsNotAssignedPostCleaning)
Setter for number of CDC measurements, that are not assigned to any Track nor very likely beam-backgr...
bool hasCDCLayer(uint16_t const cdcLayer) const
Getter for presence of hit in specific CDC Layer.
bool hasLayer(const unsigned short layer) const
Getter for single layer.
unsigned short getNHits() const
Get the total Number of CDC hits in the fit.
bool hasPXDCKFAbortionFlag() const
Getter for flag indicating that the PXD CKF was aborted due to high combinatorics in the event.
@ c_vxdtf2Abortion
Indicating abortion of the VXDTF2 due to high combinatorics in the event.
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.
uint64_t m_hitPatternCDCInitializer
Efficient way of storing, which layers in the CDC have at least a single hit.
uint8_t m_nSVDClusters[8]
Storage for number of clusters in the SVD.
Hit pattern of CDC hits within a track.