CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
DDCompOptions Struct Reference

DDComparators need to know if names of DDRotation matter. More...

#include <DDCompareTools.h>

Public Member Functions

 DDCompOptions ()
 

Public Attributes

bool attResync_
 
bool compRotName_
 
bool contOnError_
 
double distTol_
 
double rotTol_
 
double specTol_
 

Detailed Description

DDComparators need to know if names of DDRotation matter.

Therefore the constructors (default) are set to care about rotation names but if one really wants to compare without regard to the name, for example in the case of two DDCompactViews created in-memory from reading two separate sets of XML rather than from DB objects, then one must set this to false.

Definition at line 22 of file DDCompareTools.h.

Constructor & Destructor Documentation

◆ DDCompOptions()

DDCompOptions::DDCompOptions ( )
inline

Definition at line 23 of file DDCompareTools.h.

24  : compRotName_(false),
25  attResync_(false),
26  contOnError_(false),
27  distTol_(0.0004),
28  rotTol_(0.0004),
29  specTol_(0.0004) {}

Member Data Documentation

◆ attResync_

bool DDCompOptions::attResync_

Definition at line 32 of file DDCompareTools.h.

◆ compRotName_

bool DDCompOptions::compRotName_

Definition at line 31 of file DDCompareTools.h.

Referenced by DDCompareDDRot().

◆ contOnError_

bool DDCompOptions::contOnError_

Definition at line 33 of file DDCompareTools.h.

◆ distTol_

double DDCompOptions::distTol_

Definition at line 34 of file DDCompareTools.h.

Referenced by DDCompareBoolSol().

◆ rotTol_

double DDCompOptions::rotTol_

Definition at line 35 of file DDCompareTools.h.

◆ specTol_

double DDCompOptions::specTol_

Definition at line 36 of file DDCompareTools.h.