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 ( )
inline

Definition at line 23 of file DDCompareTools.h.

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

Member Data Documentation

bool DDCompOptions::attResync_

Definition at line 29 of file DDCompareTools.h.

bool DDCompOptions::compRotName_

Definition at line 28 of file DDCompareTools.h.

Referenced by DDCompareDDRot().

bool DDCompOptions::contOnError_

Definition at line 30 of file DDCompareTools.h.

double DDCompOptions::distTol_

Definition at line 31 of file DDCompareTools.h.

Referenced by DDCompareBoolSol().

double DDCompOptions::rotTol_

Definition at line 32 of file DDCompareTools.h.

double DDCompOptions::specTol_

Definition at line 33 of file DDCompareTools.h.