ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsTrackReconstruction
src
detail
TrackStateFlagHelper.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef ACTSTRK_TRACKSTATEFLAGHELPER_H
5
#define ACTSTRK_TRACKSTATEFLAGHELPER_H
6
#include "Acts/EventData/TrackStateType.hpp"
7
8
namespace
ActsTrk::detail
{
9
// convenience functions to test and set track state flags
10
constexpr
unsigned
int
setTrackStateFlag
(Acts::TrackStateFlag flag) {
11
return
1u<<
static_cast<
unsigned
int
>
(flag);
12
}
13
constexpr
bool
testTrackStateFlag
(Acts::TrackStateFlag flag,
unsigned
int
flags) {
14
return
flags &
setTrackStateFlag
(flag);
15
}
16
}
17
#endif
ActsTrk::detail
Hash functions to pack the source link into unordered_maps / unordered_sets.
Definition
MeasurementCalibratorBase.h:31
ActsTrk::detail::setTrackStateFlag
constexpr unsigned int setTrackStateFlag(Acts::TrackStateFlag flag)
Definition
TrackStateFlagHelper.h:10
ActsTrk::detail::testTrackStateFlag
constexpr bool testTrackStateFlag(Acts::TrackStateFlag flag, unsigned int flags)
Definition
TrackStateFlagHelper.h:13
Generated on
for ATLAS Offline Software by
1.17.0