#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 19 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 35 of file LogicalPart.cc.
References MessageLogger_cfi::cerr, hasDDValue_, hcalTTPDigis_cfi::id, and specifics_.
|
inline |
Definition at line 35 of file LogicalPart.h.
References hasDDValue(), specifics_, stream(), and weight().
DDEnums::Category LogicalPart::category | ( | void | ) | const |
bool LogicalPart::hasDDValue | ( | const DDValue & | v | ) | const |
Definition at line 56 of file LogicalPart.cc.
References hasDDValue_, hcalTTPDigis_cfi::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 91 of file LogicalPart.cc.
References mergedSpecificsV().
void LogicalPart::mergedSpecificsV | ( | DDsvalues_type & | res | ) | const |
Definition at line 97 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 66 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 73 of file LogicalPart.cc.
References mps_fire::result, and specificsV().
void LogicalPart::specificsV | ( | std::vector< const DDsvalues_type * > & | result | ) | const |
Definition at line 81 of file LogicalPart.cc.
References ddanylogp, and specifics_.
Referenced by mergedSpecificsV(), and specifics().
void LogicalPart::stream | ( | std::ostream & | os | ) |
Definition at line 28 of file LogicalPart.cc.
References DDBase< N, C >::ddname(), material(), and solid().
Referenced by attachedSpecifics().
double & LogicalPart::weight | ( | void | ) |
Definition at line 33 of file LogicalPart.cc.
References weight_.
Referenced by attachedSpecifics().
|
private |
Definition at line 43 of file LogicalPart.h.
Referenced by category().
|
private |
Definition at line 49 of file LogicalPart.h.
Referenced by addSpecifics(), and hasDDValue().
|
private |
Definition at line 41 of file LogicalPart.h.
Referenced by material().
|
private |
Definition at line 42 of file LogicalPart.h.
Referenced by solid().
|
private |
Definition at line 48 of file LogicalPart.h.
Referenced by addSpecifics(), attachedSpecifics(), removeSpecifics(), and specificsV().
|
private |
Definition at line 47 of file LogicalPart.h.
|
private |
Definition at line 44 of file LogicalPart.h.
Referenced by weight().