#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 24 of file LogicalPart.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, hasDDValue_, gpuClustering::id, and specifics_.
|
inline |
Definition at line 30 of file LogicalPart.h.
References specifics_.
DDEnums::Category LogicalPart::category | ( | void | ) | const |
bool LogicalPart::hasDDValue | ( | const DDValue & | v | ) | const |
Definition at line 42 of file LogicalPart.cc.
References hasDDValue_, gpuClustering::id, DDValue::id(), and mps_fire::result.
const DDMaterial & LogicalPart::material | ( | void | ) | const |
DDsvalues_type LogicalPart::mergedSpecifics | ( | void | ) | const |
Definition at line 72 of file LogicalPart.cc.
References isotrackNtupler::merged, and mergedSpecificsV().
void LogicalPart::mergedSpecificsV | ( | DDsvalues_type & | res | ) | const |
Definition at line 78 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 51 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 57 of file LogicalPart.cc.
References mps_fire::result, and specificsV().
void LogicalPart::specificsV | ( | std::vector< const DDsvalues_type * > & | result | ) | const |
Definition at line 63 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().
|
private |
Definition at line 40 of file LogicalPart.h.
Referenced by category().
|
private |
Definition at line 44 of file LogicalPart.h.
Referenced by addSpecifics(), and hasDDValue().
|
private |
Definition at line 38 of file LogicalPart.h.
Referenced by material().
|
private |
Definition at line 39 of file LogicalPart.h.
Referenced by solid().
|
private |
Definition at line 43 of file LogicalPart.h.
Referenced by addSpecifics(), attachedSpecifics(), removeSpecifics(), and specificsV().
|
private |
Definition at line 42 of file LogicalPart.h.