![]() |
Project
|
Class to generate tracks for MID. More...
#include <TrackGenerator.h>
Public Member Functions | |
std::vector< Track > | generate () |
std::vector< Track > | generate (int nTracks) |
void | setSeed (unsigned int seed) |
Sets the seed. | |
void | setMeanTracksPerEvent (int meanTracksPerEvent) |
Sets the mean number of track per events. | |
void | setSlopeLimits (float slopeXmin, float slopeXmax, float slopeYmin, float slopeYmax) |
Sets the limits of the track slope. | |
void | setPositionLimits (float xMin, float xMax, float yMin, float yMax, float zMin, float zMax) |
Sets the limits of the track origin. | |
Class to generate tracks for MID.
Definition at line 30 of file TrackGenerator.h.
std::vector< Track > o2::mid::TrackGenerator::generate | ( | ) |
Generate tracks. The number of tracks follows a poissonian distribution
Definition at line 25 of file TrackGenerator.cxx.
Generate N tracks
nTracks | Number of tracks to generate |
Definition at line 34 of file TrackGenerator.cxx.
Sets the mean number of track per events.
Definition at line 40 of file TrackGenerator.h.
|
inline |
Sets the limits of the track origin.
Definition at line 47 of file TrackGenerator.h.
Sets the seed.
Definition at line 37 of file TrackGenerator.h.
|
inline |
Sets the limits of the track slope.
Definition at line 42 of file TrackGenerator.h.