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 23 of file DDCompareTools.h.

Constructor & Destructor Documentation

DDCompOptions::DDCompOptions ( )
inline

Definition at line 24 of file DDCompareTools.h.

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

Member Data Documentation

bool DDCompOptions::attResync_

Definition at line 30 of file DDCompareTools.h.

bool DDCompOptions::compRotName_

Definition at line 29 of file DDCompareTools.h.

Referenced by DDCompareDDRot::operator()().

bool DDCompOptions::contOnError_

Definition at line 31 of file DDCompareTools.h.

double DDCompOptions::distTol_

Definition at line 32 of file DDCompareTools.h.

Referenced by DDCompareBoolSol::operator()().

double DDCompOptions::rotTol_

Definition at line 33 of file DDCompareTools.h.

double DDCompOptions::specTol_

Definition at line 34 of file DDCompareTools.h.