Project
Loading...
Searching...
No Matches
O2OverlapCheck.h File Reference
#include <array>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  o2::cad::OverlapOptions
 
struct  o2::cad::OverlapPair
 One pair of placed solids, and everything measured about it. More...
 
struct  o2::cad::OverlapSolidReport
 One solid's sampling report; a shape with a poor display mesh shows here as reduced coverage. More...
 
struct  o2::cad::OverlapCensus
 

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::cad
 

Enumerations

enum class  o2::cad::OverlapVerdict { o2::cad::Disjoint , o2::cad::Touching , o2::cad::Interpenetrating , o2::cad::Contained }
 Whether two placed solids may legally coexist: disjoint and touching are legal, interpenetrating and contained are not. More...
 

Functions

const charo2::cad::OverlapVerdictName (OverlapVerdict verdict)
 
int o2::cad::SampleBoundaryPoints (const TGeoShape *shape, int npoints, double residualTolerance, std::vector< double > &points, int &rejected, double &worstResidual, bool *usedPointsOnSegments=nullptr)
 
OverlapPair o2::cad::CheckPairOverlap (const TGeoShape *shapeA, const TGeoMatrix *matA, const std::string &nameA, const TGeoShape *shapeB, const TGeoMatrix *matB, const std::string &nameB, const OverlapOptions &options=OverlapOptions())
 Test one placed pair. matA / matB take each shape's local frame to the common frame.
 
OverlapCensus o2::cad::CheckWorldOverlaps (const TGeoVolume *volume, const OverlapOptions &options=OverlapOptions())
 Census every pair of volume's immediate daughters, and optionally each daughter against volume.