CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 13 of file DDCompareTools.h.

Constructor & Destructor Documentation

DDCompOptions::DDCompOptions ( )
inline

Definition at line 14 of file DDCompareTools.h.

14  : compRotName_(false), attResync_(false),
15  contOnError_(false), distTol_(0.0004),
16  rotTol_(0.0004), specTol_(0.0004)
17  { }

Member Data Documentation

bool DDCompOptions::attResync_

Definition at line 20 of file DDCompareTools.h.

bool DDCompOptions::compRotName_

Definition at line 19 of file DDCompareTools.h.

Referenced by DDCompareDDRot::operator()().

bool DDCompOptions::contOnError_

Definition at line 21 of file DDCompareTools.h.

double DDCompOptions::distTol_

Definition at line 22 of file DDCompareTools.h.

Referenced by DDCompareBoolSol::operator()().

double DDCompOptions::rotTol_

Definition at line 23 of file DDCompareTools.h.

double DDCompOptions::specTol_

Definition at line 24 of file DDCompareTools.h.