CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
FWPhysicsObjectDesc Class Reference

#include <Fireworks/Core/interface/FWPhysicsObjectDesc.h>

Public Member Functions

const FWDisplayPropertiesdisplayProperties () const
 
const std::string & filterExpression () const
 
 FWPhysicsObjectDesc (const std::string &iName, const TClass *iClass, const std::string &iPurpose, const FWDisplayProperties &iProperties=FWDisplayProperties::defaultProperties, const std::string &iModuleLabel=std::string(), const std::string &iProductInstanceLabel=std::string(), const std::string &iProcessName=std::string(), const std::string &iFilterExpression=std::string(), unsigned int iLayer=1)
 
unsigned int layer () const
 
const std::string & moduleLabel () const
 
const std::string & name () const
 
const std::string & processName () const
 
const std::string & productInstanceLabel () const
 
const std::string & purpose () const
 
void setDisplayProperties (const FWDisplayProperties &)
 
void setLabels (const std::string &iModule, const std::string &iProductInstance, const std::string &iProcess)
 
void setName (const std::string &iName)
 
const TClass * type () const
 

Private Attributes

FWDisplayProperties m_displayProperties
 
std::string m_filterExpression
 
unsigned int m_layer
 
std::string m_moduleLabel
 
std::string m_name
 
std::string m_processName
 
std::string m_productInstanceLabel
 
const std::string m_purpose
 
const TClass * m_type
 

Detailed Description

Description: <one line="" class="" summary>="">

Usage: <usage>

Definition at line 30 of file FWPhysicsObjectDesc.h.

Constructor & Destructor Documentation

◆ FWPhysicsObjectDesc()

FWPhysicsObjectDesc::FWPhysicsObjectDesc ( const std::string &  iName,
const TClass *  iClass,
const std::string &  iPurpose,
const FWDisplayProperties iProperties = FWDisplayProperties::defaultProperties,
const std::string &  iModuleLabel = std::string(),
const std::string &  iProductInstanceLabel = std::string(),
const std::string &  iProcessName = std::string(),
const std::string &  iFilterExpression = std::string(),
unsigned int  iLayer = 1 
)

Definition at line 29 of file FWPhysicsObjectDesc.cc.

38  : m_name(iName),
39  m_type(iClass),
40  m_purpose(iPurpose),
41  m_displayProperties(iProperties),
42  m_moduleLabel(iModuleLabel),
43  m_productInstanceLabel(iProductInstanceLabel),
44  m_processName(iProcessName),
45  m_layer(iLayer),
46  m_filterExpression(iFilterExpression) {}

Member Function Documentation

◆ displayProperties()

const FWDisplayProperties & FWPhysicsObjectDesc::displayProperties ( ) const

Definition at line 89 of file FWPhysicsObjectDesc.cc.

89 { return m_displayProperties; }

References m_displayProperties.

Referenced by FWEventItem::FWEventItem().

◆ filterExpression()

const std::string & FWPhysicsObjectDesc::filterExpression ( ) const

Definition at line 104 of file FWPhysicsObjectDesc.cc.

104 { return m_filterExpression; }

References m_filterExpression.

◆ layer()

unsigned int FWPhysicsObjectDesc::layer ( ) const

Definition at line 102 of file FWPhysicsObjectDesc.cc.

102 { return m_layer; }

References m_layer.

Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().

◆ moduleLabel()

const std::string & FWPhysicsObjectDesc::moduleLabel ( ) const

Definition at line 97 of file FWPhysicsObjectDesc.cc.

97 { return m_moduleLabel; }

References m_moduleLabel.

◆ name()

const std::string & FWPhysicsObjectDesc::name ( void  ) const

◆ processName()

const std::string & FWPhysicsObjectDesc::processName ( ) const

Definition at line 100 of file FWPhysicsObjectDesc.cc.

100 { return m_processName; }

References m_processName.

◆ productInstanceLabel()

const std::string & FWPhysicsObjectDesc::productInstanceLabel ( ) const

Definition at line 98 of file FWPhysicsObjectDesc.cc.

98 { return m_productInstanceLabel; }

References m_productInstanceLabel.

◆ purpose()

const std::string & FWPhysicsObjectDesc::purpose ( ) const

Definition at line 95 of file FWPhysicsObjectDesc.cc.

95 { return m_purpose; }

References m_purpose.

◆ setDisplayProperties()

void FWPhysicsObjectDesc::setDisplayProperties ( const FWDisplayProperties iProperties)

Definition at line 82 of file FWPhysicsObjectDesc.cc.

82  {
83  m_displayProperties = iProperties;
84 }

References m_displayProperties.

◆ setLabels()

void FWPhysicsObjectDesc::setLabels ( const std::string &  iModule,
const std::string &  iProductInstance,
const std::string &  iProcess 
)

Definition at line 72 of file FWPhysicsObjectDesc.cc.

74  {
75  m_moduleLabel = iModule;
76  m_productInstanceLabel = iProductInstance;
77  m_processName = iProcess;
78 }

References m_moduleLabel, m_processName, and m_productInstanceLabel.

◆ setName()

void FWPhysicsObjectDesc::setName ( const std::string &  iName)

Definition at line 80 of file FWPhysicsObjectDesc.cc.

80 { m_name = iName; }

References m_name.

◆ type()

const TClass * FWPhysicsObjectDesc::type ( ) const

Definition at line 93 of file FWPhysicsObjectDesc.cc.

93 { return m_type; }

References m_type.

Member Data Documentation

◆ m_displayProperties

FWDisplayProperties FWPhysicsObjectDesc::m_displayProperties
private

Definition at line 76 of file FWPhysicsObjectDesc.h.

Referenced by displayProperties(), and setDisplayProperties().

◆ m_filterExpression

std::string FWPhysicsObjectDesc::m_filterExpression
private

Definition at line 84 of file FWPhysicsObjectDesc.h.

Referenced by filterExpression().

◆ m_layer

unsigned int FWPhysicsObjectDesc::m_layer
private

Definition at line 82 of file FWPhysicsObjectDesc.h.

Referenced by layer().

◆ m_moduleLabel

std::string FWPhysicsObjectDesc::m_moduleLabel
private

Definition at line 78 of file FWPhysicsObjectDesc.h.

Referenced by moduleLabel(), and setLabels().

◆ m_name

std::string FWPhysicsObjectDesc::m_name
private

Definition at line 73 of file FWPhysicsObjectDesc.h.

Referenced by name(), and setName().

◆ m_processName

std::string FWPhysicsObjectDesc::m_processName
private

Definition at line 80 of file FWPhysicsObjectDesc.h.

Referenced by processName(), and setLabels().

◆ m_productInstanceLabel

std::string FWPhysicsObjectDesc::m_productInstanceLabel
private

Definition at line 79 of file FWPhysicsObjectDesc.h.

Referenced by productInstanceLabel(), and setLabels().

◆ m_purpose

const std::string FWPhysicsObjectDesc::m_purpose
private

Definition at line 75 of file FWPhysicsObjectDesc.h.

Referenced by purpose().

◆ m_type

const TClass* FWPhysicsObjectDesc::m_type
private

Definition at line 74 of file FWPhysicsObjectDesc.h.

Referenced by type().

FWPhysicsObjectDesc::m_productInstanceLabel
std::string m_productInstanceLabel
Definition: FWPhysicsObjectDesc.h:79
FWPhysicsObjectDesc::m_processName
std::string m_processName
Definition: FWPhysicsObjectDesc.h:80
FWPhysicsObjectDesc::m_filterExpression
std::string m_filterExpression
Definition: FWPhysicsObjectDesc.h:84
FWPhysicsObjectDesc::m_type
const TClass * m_type
Definition: FWPhysicsObjectDesc.h:74
FWPhysicsObjectDesc::m_name
std::string m_name
Definition: FWPhysicsObjectDesc.h:73
FWPhysicsObjectDesc::m_layer
unsigned int m_layer
Definition: FWPhysicsObjectDesc.h:82
FWPhysicsObjectDesc::m_displayProperties
FWDisplayProperties m_displayProperties
Definition: FWPhysicsObjectDesc.h:76
FWPhysicsObjectDesc::m_purpose
const std::string m_purpose
Definition: FWPhysicsObjectDesc.h:75
FWPhysicsObjectDesc::m_moduleLabel
std::string m_moduleLabel
Definition: FWPhysicsObjectDesc.h:78