9#ifndef TRKDETDESCRGEOMODELCNV_GMTREEBROWSER_H
10#define TRKDETDESCRGEOMODELCNV_GMTREEBROWSER_H
12#include <GeoModelKernel/GeoDefinitions.h>
46 double tolerance,
bool printFullInfo =
false,
54 bool findNamePattern(
const GeoVPhysVol* gv, std::string_view name)
const;
58 static const GeoVPhysVol*
findTopBranch(
const GeoVPhysVol* gv,
59 std::string_view name) ;
63 static bool identity_check(GeoTrf::RotationMatrix3D rotation,
double tol) ;
66 GeoTrf::Transform3D trref,
69 const GeoTrf::Transform3D& trref,
double tolerance) ;
bool findNamePattern(const GeoVPhysVol *gv, std::string_view name) const
search of matching name patterns
static const GeoVPhysVol * findTopBranch(const GeoVPhysVol *gv, std::string_view name)
search of top branch : returns mother volume for children matching name
static void printTranslationDiff(GeoTrf::Transform3D trtest, GeoTrf::Transform3D trref, double tolerance)
printout diff - unify output
static bool identity_check(GeoTrf::RotationMatrix3D rotation, double tol)
check of rotation invariance
bool compareShapes(const GeoShape *gs1, const GeoShape *gv2, double tolerance) const
shape comparison
GMTreeBrowser()=default
Default constructor.
static void printRotationDiff(const GeoTrf::Transform3D &trtest, const GeoTrf::Transform3D &trref, double tolerance)
int compareGeoVolumes(const GeoVPhysVol *gv1, const GeoVPhysVol *gv2, double tolerance, bool printFullInfo=false, int level=0) const
Recursive comparison of trees/branches/volumes : in quiet mode (printFullInfo=False) ,...
~GMTreeBrowser()=default
Destructor.
Ensure that the ATLAS eigen extensions are properly loaded.