Project
Loading...
Searching...
No Matches
o2::cad::harness::SampleConfig Struct Reference

Parameters of generateSamples; the counts are targets, and a category may come back short. More...

#include <O2SolidHarness.h>

Public Attributes

int nBulk = 2000
 uniform points over the inflated bbox
 
int nBoundary = 2000
 points within boundaryBand of the reference surface
 
int nInside = 1000
 points accepted by the reference Contains()
 
int nOutsideRays = 4000
 rays from outside origins, for DistFromOutside
 
int nInsideRays = 2000
 rays from inside origins, for DistFromInside
 
double bboxInflate = 0.15
 fractional bbox half-extent padding for bulk/outside sampling
 
double boundaryBand = -1.
 absolute distance (cm); <0 auto-picks 1e-3 * bbox diagonal
 
double aimedRayFraction = 0.5
 
int maxRejectionAttempts = 200
 attempts per accepted sample before giving up on that category
 
uint64_t seed = 1
 every SampleSet is fully determined by this and the bbox
 

Detailed Description

Parameters of generateSamples; the counts are targets, and a category may come back short.

Definition at line 46 of file O2SolidHarness.h.

Member Data Documentation

◆ aimedRayFraction

double o2::cad::harness::SampleConfig::aimedRayFraction = 0.5

fraction of rays aimed at a random interior bbox point rather than an isotropic direction (keeps DistFromOutside hit rates non-degenerate)

Definition at line 54 of file O2SolidHarness.h.

◆ bboxInflate

double o2::cad::harness::SampleConfig::bboxInflate = 0.15

fractional bbox half-extent padding for bulk/outside sampling

Definition at line 52 of file O2SolidHarness.h.

◆ boundaryBand

double o2::cad::harness::SampleConfig::boundaryBand = -1.

absolute distance (cm); <0 auto-picks 1e-3 * bbox diagonal

Definition at line 53 of file O2SolidHarness.h.

◆ maxRejectionAttempts

int o2::cad::harness::SampleConfig::maxRejectionAttempts = 200

attempts per accepted sample before giving up on that category

Definition at line 57 of file O2SolidHarness.h.

◆ nBoundary

int o2::cad::harness::SampleConfig::nBoundary = 2000

points within boundaryBand of the reference surface

Definition at line 48 of file O2SolidHarness.h.

◆ nBulk

int o2::cad::harness::SampleConfig::nBulk = 2000

uniform points over the inflated bbox

Definition at line 47 of file O2SolidHarness.h.

◆ nInside

int o2::cad::harness::SampleConfig::nInside = 1000

points accepted by the reference Contains()

Definition at line 49 of file O2SolidHarness.h.

◆ nInsideRays

int o2::cad::harness::SampleConfig::nInsideRays = 2000

rays from inside origins, for DistFromInside

Definition at line 51 of file O2SolidHarness.h.

◆ nOutsideRays

int o2::cad::harness::SampleConfig::nOutsideRays = 4000

rays from outside origins, for DistFromOutside

Definition at line 50 of file O2SolidHarness.h.

◆ seed

uint64_t o2::cad::harness::SampleConfig::seed = 1

every SampleSet is fully determined by this and the bbox

Definition at line 58 of file O2SolidHarness.h.


The documentation for this struct was generated from the following file: