#include <LogicalPart.h>
Public Member Functions | |
void | addSpecifics (const std::pair< const DDPartSelection *, const DDsvalues_type * > &) |
const std::vector< std::pair < const DDPartSelection *, const DDsvalues_type * > > & | attachedSpecifics () const |
DDEnums::Category | category () const |
bool | hasDDValue (const DDValue &) const |
LogicalPart (const DDMaterial &, const DDSolid &, DDEnums::Category=DDEnums::unspecified) | |
const DDMaterial & | material () const |
DDsvalues_type | mergedSpecifics () const |
void | mergedSpecificsV (DDsvalues_type &res) const |
void | removeSpecifics (const std::pair< const DDPartSelection *, const DDsvalues_type * > &) |
const DDSolid & | solid () const |
std::vector< const DDsvalues_type * > | specifics () const |
void | specificsV (std::vector< const DDsvalues_type * > &result) const |
void | stream (std::ostream &) |
double & | weight () |
Private Attributes | |
DDEnums::Category | cat_ |
std::vector< bool > | hasDDValue_ |
DDMaterial | material_ |
DDSolid | solid_ |
std::vector< std::pair< const DDPartSelection *, const DDsvalues_type * > > | specifics_ |
std::map< DDValue, std::vector < DDPartSelection * > > | valToParsel_ |
double | weight_ |
Definition at line 18 of file LogicalPart.h.
LogicalPart::LogicalPart | ( | const DDMaterial & | m, |
const DDSolid & | s, | ||
DDEnums::Category | c = DDEnums::unspecified |
||
) |
Definition at line 8 of file LogicalPart.cc.
void LogicalPart::addSpecifics | ( | const std::pair< const DDPartSelection *, const DDsvalues_type * > & | s | ) |
Definition at line 27 of file LogicalPart.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, DCOUT, hasDDValue_, DDValue::name(), specifics_, and DDValue::strings().
|
inline |
Definition at line 34 of file LogicalPart.h.
References specifics_.
DDEnums::Category LogicalPart::category | ( | void | ) | const |
bool LogicalPart::hasDDValue | ( | const DDValue & | v | ) | const |
Definition at line 52 of file LogicalPart.cc.
References hasDDValue_, DDValue::id(), and mps_fire::result.
const DDMaterial & LogicalPart::material | ( | void | ) | const |
DDsvalues_type LogicalPart::mergedSpecifics | ( | void | ) | const |
Definition at line 87 of file LogicalPart.cc.
References mergedSpecificsV().
void LogicalPart::mergedSpecificsV | ( | DDsvalues_type & | res | ) | const |
Definition at line 93 of file LogicalPart.cc.
References MatrixUtil::merge(), and specificsV().
Referenced by mergedSpecifics().
void LogicalPart::removeSpecifics | ( | const std::pair< const DDPartSelection *, const DDsvalues_type * > & | s | ) |
Definition at line 62 of file LogicalPart.cc.
References spr::find(), alignCSCRings::s, and specifics_.
const DDSolid & LogicalPart::solid | ( | void | ) | const |
std::vector< const DDsvalues_type * > LogicalPart::specifics | ( | void | ) | const |
Definition at line 69 of file LogicalPart.cc.
References mps_fire::result, and specificsV().
void LogicalPart::specificsV | ( | std::vector< const DDsvalues_type * > & | result | ) | const |
Definition at line 77 of file LogicalPart.cc.
References ddanylogp, and specifics_.
Referenced by mergedSpecificsV(), and specifics().
void LogicalPart::stream | ( | std::ostream & | os | ) |
Definition at line 20 of file LogicalPart.cc.
References DDBase< N, C >::ddname(), material(), and solid().
double & LogicalPart::weight | ( | void | ) |
|
private |
Definition at line 42 of file LogicalPart.h.
Referenced by category().
|
private |
Definition at line 48 of file LogicalPart.h.
Referenced by addSpecifics(), and hasDDValue().
|
private |
Definition at line 40 of file LogicalPart.h.
Referenced by material().
|
private |
Definition at line 41 of file LogicalPart.h.
Referenced by solid().
|
private |
Definition at line 47 of file LogicalPart.h.
Referenced by addSpecifics(), attachedSpecifics(), removeSpecifics(), and specificsV().
|
private |
Definition at line 46 of file LogicalPart.h.
|
private |
Definition at line 43 of file LogicalPart.h.
Referenced by weight().