#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 &) |
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_ |
Definition at line 18 of file LogicalPart.h.
LogicalPart::LogicalPart | ( | const DDMaterial & | m, |
const DDSolid & | s, | ||
DDEnums::Category | c = DDEnums::unspecified |
||
) |
Definition at line 11 of file LogicalPart.cc.
void LogicalPart::addSpecifics | ( | const std::pair< const DDPartSelection *, const DDsvalues_type * > & | s | ) |
Definition at line 32 of file LogicalPart.cc.
References MessageLogger_cfi::cerr, hasDDValue_, triggerObjects_cff::id, and specifics_.
|
inline |
Definition at line 34 of file LogicalPart.h.
References hasDDValue(), specifics_, and stream().
DDEnums::Category LogicalPart::category | ( | void | ) | const |
bool LogicalPart::hasDDValue | ( | const DDValue & | v | ) | const |
Definition at line 53 of file LogicalPart.cc.
References hasDDValue_, triggerObjects_cff::id, DDValue::id(), and mps_fire::result.
Referenced by attachedSpecifics().
const DDMaterial & LogicalPart::material | ( | void | ) | const |
DDsvalues_type LogicalPart::mergedSpecifics | ( | void | ) | const |
Definition at line 88 of file LogicalPart.cc.
References mergedSpecificsV().
void LogicalPart::mergedSpecificsV | ( | DDsvalues_type & | res | ) | const |
Definition at line 94 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 63 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 70 of file LogicalPart.cc.
References mps_fire::result, and specificsV().
void LogicalPart::specificsV | ( | std::vector< const DDsvalues_type * > & | result | ) | const |
Definition at line 78 of file LogicalPart.cc.
References ddanylogp, and specifics_.
Referenced by mergedSpecificsV(), and specifics().
void LogicalPart::stream | ( | std::ostream & | os | ) |
Definition at line 27 of file LogicalPart.cc.
References DDBase< N, C >::ddname(), material(), and solid().
Referenced by attachedSpecifics().
|
private |
Definition at line 41 of file LogicalPart.h.
Referenced by category().
|
private |
Definition at line 45 of file LogicalPart.h.
Referenced by addSpecifics(), and hasDDValue().
|
private |
Definition at line 39 of file LogicalPart.h.
Referenced by material().
|
private |
Definition at line 40 of file LogicalPart.h.
Referenced by solid().
|
private |
Definition at line 44 of file LogicalPart.h.
Referenced by addSpecifics(), attachedSpecifics(), removeSpecifics(), and specificsV().
|
private |
Definition at line 43 of file LogicalPart.h.