34 std::vector<Track>
generate(
int nTracks);
37 inline void setSeed(
unsigned int seed) { mGenerator.seed(seed); }
42 void setSlopeLimits(
float slopeXmin,
float slopeXmax,
float slopeYmin,
float slopeYmax)
44 mSlopeLimits = {{slopeXmin, slopeXmax, slopeYmin, slopeYmax}};
49 mPositionLimits = {{xMin, xMax, yMin,
yMax,
zMin,
zMax}};
53 std::array<float, 4> getLimitsForAcceptance(std::array<float, 3>
pos);
55 int mMeanTracksPerEvent = 1;
56 std::array<float, 4> mSlopeLimits{{-0.2, 0.2, -0.5, 0.5}};
57 std::array<float, 6> mPositionLimits{{-2., 2, -2., 2., -5., 5.}};
58 std::default_random_engine mGenerator{std::default_random_engine()};
void setPositionLimits(float xMin, float xMax, float yMin, float yMax, float zMin, float zMax)
Sets the limits of the track origin.