9#include <tracking/trackFindingCDC/eventdata/trajectories/CDCBFieldUtil.h>
10#include <framework/geometry/BFieldManager.h>
11#include <gtest/gtest.h>
15using namespace TrackFindingCDC;
18TEST(TrackFindingCDCTest, eventdata_trajectories_CDCBField_getBFieldZSign)
21 Double_t bZAtOrigin = bFieldAtOrigin.Z();
22 ESign bZSignAtOrigin = sign(bZAtOrigin);
static ESign getBFieldZSign()
Getter for the sign of the magnetic field in z direction.
static const double T
[tesla]
static void getField(const double *pos, double *field)
return the magnetic field at a given position.
ESign
Enumeration for the distinct sign values of floating point variables.
Abstract base class for different kinds of events.