|
| | BallastShape (const char *name, double dx, double dy, double dz, int burn) |
| |
| double | ballast (const double *point) const |
| |
| bool | Contains (const double *point) const override |
| |
| double | Safety (const double *point, bool in=kTRUE) const override |
| |
| double | DistFromOutside (const double *point, const double *dir, int iact=1, double step=TGeoShape::Big(), double *safe=nullptr) const override |
| |
| double | DistFromInside (const double *point, const double *dir, int iact=1, double step=TGeoShape::Big(), double *safe=nullptr) const override |
| |
A TGeoBBox that is deliberately slower than a TGeoBBox, by a controllable amount.
The timing harness's negative control: every kernel timed here is also timed against this, and the ratio must exceed a stated factor.
The burn loop is a data dependency on the point, so it cannot be hoisted or constant-folded, and its result is folded into the returned value so it cannot be dropped.
Definition at line 534 of file RepresentationBench.h.